Function at 0x4c7dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x38
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [edx + 0x10]
cmp dword [ecx + 0x10], esi
jg 0x4c7f8c
jge 0x4c7df2
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
dec esi
lea eax, [edx + 0x14]
lea edx, [eax + esi*4]
mov dword [ebp - 0x38], eax
push ebx
lea ebx, [ecx + 0x14]
mov dword [ebp - 0x2c], eax
mov ecx, dword [edx]
mov eax, ebx
push edi
mov dword [ebp - 0x24], edx
inc ecx
mov dword [ebp - 0x30], eax
xor edx, edx
lea edi, [eax + esi*4]
mov dword [ebp - 8], esi
mov eax, dword [edi]
div ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], eax
cmp eax, 9
jbe 0x4c7e33
push str.oversized_quotient_in_quorem
jmp 0x4c7f91
test eax, eax
je 0x4c7edd
mov ebx, dword [ebp - 4]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
nop dword [eax]
mov eax, dword [esi]
lea edi, [edi + 4]
mul ebx
mov ecx, eax
add ecx, dword [ebp - 0xc]
adc edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0xc], edx
add esi, 4
mov edx, dword [edi - 4]
sub edx, ecx
mov dword [ebp - 0x14], 0
sbb eax, eax
sub edx, dword [ebp - 0x18]
mov dword [edi - 4], edx
sbb eax, dword [ebp - 0x20]
and eax, 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], eax
cmp esi, dword [ebp - 0x24]
jbe 0x4c7e70
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [edi], 0
jne 0x4c7edd
sub edi, 4
cmp edi, ebx
jbe 0x4c7ed5
cmp dword [edi], 0
jne 0x4c7ed2
sub edi, 4
dec esi
cmp edi, ebx
ja 0x4c7ec5
mov dword [ebp - 8], esi
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
jmp 0x4c7ee0
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push eax
call fcn.004c5600
add esp, 8
test eax, eax
js 0x4c7f82
inc dword [ebp - 4]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x38]
mov edi, ebx
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
movlpd qword [ebp - 0x10], xmm0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
nop dword [eax + eax]
mov ecx, dword [esi]
lea edi, [edi + 4]
xor eax, eax
add ecx, dword [ebp + 0xc]
adc eax, edx
mov edx, dword [edi - 4]
mov dword [ebp + 0xc], eax
add esi, 4
xor eax, eax
sub edx, ecx
sbb eax, eax
sub edx, ebx
mov dword [edi - 4], edx
mov edx, 0
sbb eax, dword [ebp - 0x20]
mov ebx, eax
mov dword [ebp - 0x20], 0
and ebx, 1
cmp esi, dword [ebp - 0x24]
jbe 0x4c7f20
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [ebx + esi*4], edx
lea eax, [ebx + esi*4]
jne 0x4c7f82
sub eax, 4
cmp eax, ebx
jbe 0x4c7f7c
nop
cmp dword [eax], edx
jne 0x4c7f7c
sub eax, 4
dec esi
cmp eax, ebx
ja 0x4c7f70
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push str.oversize_b_in_quorem
push 0x554940
push 2
call fcn.00508e24
add esp, 4
push eax
call fcn.004c8980
add esp, 0xc
push 1
call fcn.0050e362
int3