Function at 0x4f8ae0
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 0x4f8c9c
jge 0x4f8b02
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 0x4f8b43
push str.oversized_quotient_in_quorem
jmp 0x4f8ca1
test eax, eax
je 0x4f8bed
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 0x4f8b80
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [edi], 0
jne 0x4f8bed
sub edi, 4
cmp edi, ebx
jbe 0x4f8be5
cmp dword [edi], 0
jne 0x4f8be2
sub edi, 4
dec esi
cmp edi, ebx
ja 0x4f8bd5
mov dword [ebp - 8], esi
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
jmp 0x4f8bf0
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push eax
call fcn.004f6470
add esp, 8
test eax, eax
js 0x4f8c92
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 0x4f8c30
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [ebx + esi*4], edx
lea eax, [ebx + esi*4]
jne 0x4f8c92
sub eax, 4
cmp eax, ebx
jbe 0x4f8c8c
nop
cmp dword [eax], edx
jne 0x4f8c8c
sub eax, 4
dec esi
cmp eax, ebx
ja 0x4f8c80
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 0x584d10
push 2
call fcn.005224fd
add esp, 4
push eax
call fcn.004f94f0
add esp, 0xc
push 1
call fcn.00523e23
int3