Function at 0x4f3d90
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 0x4f3f4c
jge 0x4f3db2
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 0x4f3df3
push str.oversized_quotient_in_quorem
jmp 0x4f3f51
test eax, eax
je 0x4f3e9d
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 0x4f3e30
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [edi], 0
jne 0x4f3e9d
sub edi, 4
cmp edi, ebx
jbe 0x4f3e95
cmp dword [edi], 0
jne 0x4f3e92
sub edi, 4
dec esi
cmp edi, ebx
ja 0x4f3e85
mov dword [ebp - 8], esi
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
jmp 0x4f3ea0
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push eax
call fcn.004f1720
add esp, 8
test eax, eax
js 0x4f3f42
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 0x4f3ee0
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [ebx + esi*4], edx
lea eax, [ebx + esi*4]
jne 0x4f3f42
sub eax, 4
cmp eax, ebx
jbe 0x4f3f3c
nop
cmp dword [eax], edx
jne 0x4f3f3c
sub eax, 4
dec esi
cmp eax, ebx
ja 0x4f3f30
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 0x580380
push 2
call fcn.0051d7ad
add esp, 4
push eax
call fcn.004f47a0
add esp, 0xc
push 1
call fcn.0051f0d3
int3