| 1 | 0000 divl_:
|
|---|
| 2 | 0000 56 push esi
|
|---|
| 3 | 0001 57 push edi
|
|---|
| 4 | 0002 55 push ebp
|
|---|
| 5 | 0003 89 D5 mov ebp,edx
|
|---|
| 6 | 0005 89 DF mov edi,ebx
|
|---|
| 7 | 0007 89 CE mov esi,ecx
|
|---|
| 8 | 0009 BB 20 00 00 00 mov ebx,0x00000020
|
|---|
| 9 | 000E 31 D2 xor edx,edx
|
|---|
| 10 | 0010 31 C9 xor ecx,ecx
|
|---|
| 11 | 0012 E8 00 00 00 00 call __U8LS
|
|---|
| 12 | 0017 89 C1 mov ecx,eax
|
|---|
| 13 | 0019 09 E9 or ecx,ebp
|
|---|
| 14 | 001B 85 D2 test edx,edx
|
|---|
| 15 | 001D 75 04 jne L$1
|
|---|
| 16 | 001F 85 C9 test ecx,ecx
|
|---|
| 17 | 0021 74 16 je L$2
|
|---|
| 18 | 0023 L$1:
|
|---|
| 19 | 0023 89 C8 mov eax,ecx
|
|---|
| 20 | 0025 31 D2 xor edx,edx
|
|---|
| 21 | 0027 F7 F7 div edi
|
|---|
| 22 | 0029 31 D2 xor edx,edx
|
|---|
| 23 | 002B 89 06 mov dword ptr [esi],eax
|
|---|
| 24 | 002D 89 C8 mov eax,ecx
|
|---|
| 25 | 002F F7 F7 div edi
|
|---|
| 26 | 0031 8B 44 24 10 mov eax,dword ptr 0x10[esp]
|
|---|
| 27 | 0035 89 10 mov dword ptr [eax],edx
|
|---|
| 28 | 0037 EB 10 jmp L$3
|
|---|
| 29 | 0039 L$2:
|
|---|
| 30 | 0039 8B 44 24 10 mov eax,dword ptr 0x10[esp]
|
|---|
| 31 | 003D C7 00 00 00 00 00 mov dword ptr [eax],0x00000000
|
|---|
| 32 | 0043 C7 06 00 00 00 00 mov dword ptr [esi],0x00000000
|
|---|
| 33 | 0049 L$3:
|
|---|
| 34 | 0049 5D pop ebp
|
|---|
| 35 | 004A 5F pop edi
|
|---|
| 36 | 004B 5E pop esi
|
|---|
| 37 | 004C C2 04 00 ret 0x0004
|
|---|
| 38 | 004F div64_32_:
|
|---|
| 39 | 004F 51 push ecx
|
|---|
| 40 | 0050 56 push esi
|
|---|
| 41 | 0051 57 push edi
|
|---|
| 42 | 0052 55 push ebp
|
|---|
| 43 | 0053 83 EC 0C sub esp,0x0000000c
|
|---|
| 44 | 0056 89 C6 mov esi,eax
|
|---|
| 45 | 0058 89 D7 mov edi,edx
|
|---|
| 46 | 005A 89 DD mov ebp,ebx
|
|---|
| 47 | 005C 8B 00 mov eax,dword ptr [eax]
|
|---|
| 48 | 005E BB 20 00 00 00 mov ebx,0x00000020
|
|---|
| 49 | 0063 89 44 24 04 mov dword ptr 0x4[esp],eax
|
|---|
| 50 | 0067 31 C9 xor ecx,ecx
|
|---|
| 51 | 0069 8B 06 mov eax,dword ptr [esi]
|
|---|
| 52 | 006B 8B 56 04 mov edx,dword ptr 0x4[esi]
|
|---|
| 53 | 006E E8 00 00 00 00 call __U8RS
|
|---|
| 54 | 0073 89 C1 mov ecx,eax
|
|---|
| 55 | 0075 85 C0 test eax,eax
|
|---|
| 56 | 0077 74 44 je L$4
|
|---|
| 57 | 0079 31 D2 xor edx,edx
|
|---|
| 58 | 007B F7 F7 div edi
|
|---|
| 59 | 007D 89 14 24 mov dword ptr [esp],edx
|
|---|
| 60 | 0080 89 C8 mov eax,ecx
|
|---|
| 61 | 0082 31 D2 xor edx,edx
|
|---|
| 62 | 0084 F7 F7 div edi
|
|---|
| 63 | 0086 55 push ebp
|
|---|
| 64 | 0087 89 FB mov ebx,edi
|
|---|
| 65 | 0089 8D 4C 24 08 lea ecx,0x8[esp]
|
|---|
| 66 | 008D 8B 54 24 08 mov edx,dword ptr 0x8[esp]
|
|---|
| 67 | 0091 89 44 24 0C mov dword ptr 0xc[esp],eax
|
|---|
| 68 | 0095 8B 44 24 04 mov eax,dword ptr 0x4[esp]
|
|---|
| 69 | 0099 E8 00 00 00 00 call divl_
|
|---|
| 70 | 009E 8B 44 24 08 mov eax,dword ptr 0x8[esp]
|
|---|
| 71 | 00A2 BB 20 00 00 00 mov ebx,0x00000020
|
|---|
| 72 | 00A7 31 D2 xor edx,edx
|
|---|
| 73 | 00A9 31 C9 xor ecx,ecx
|
|---|
| 74 | 00AB E8 00 00 00 00 call __U8LS
|
|---|
| 75 | 00B0 8B 4C 24 04 mov ecx,dword ptr 0x4[esp]
|
|---|
| 76 | 00B4 89 56 04 mov dword ptr 0x4[esi],edx
|
|---|
| 77 | 00B7 09 C1 or ecx,eax
|
|---|
| 78 | 00B9 89 0E mov dword ptr [esi],ecx
|
|---|
| 79 | 00BB EB 18 jmp L$5
|
|---|
| 80 | 00BD L$4:
|
|---|
| 81 | 00BD 8B 44 24 04 mov eax,dword ptr 0x4[esp]
|
|---|
| 82 | 00C1 31 D2 xor edx,edx
|
|---|
| 83 | 00C3 F7 F7 div edi
|
|---|
| 84 | 00C5 89 4E 04 mov dword ptr 0x4[esi],ecx
|
|---|
| 85 | 00C8 89 06 mov dword ptr [esi],eax
|
|---|
| 86 | 00CA 31 D2 xor edx,edx
|
|---|
| 87 | 00CC 8B 44 24 04 mov eax,dword ptr 0x4[esp]
|
|---|
| 88 | 00D0 F7 F7 div edi
|
|---|
| 89 | 00D2 89 55 00 mov dword ptr [ebp],edx
|
|---|
| 90 | 00D5 L$5:
|
|---|
| 91 | 00D5 83 C4 0C add esp,0x0000000c
|
|---|
| 92 | 00D8 5D pop ebp
|
|---|
| 93 | 00D9 5F pop edi
|
|---|
| 94 | 00DA 5E pop esi
|
|---|
| 95 | 00DB 59 pop ecx
|
|---|
| 96 | 00DC C3 ret
|
|---|