Function at 0x4b4730
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 0x4b48ec
jge 0x4b4752
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 0x4b4793
push str.oversized_quotient_in_quorem
jmp 0x4b48f1
test eax, eax
je 0x4b483d
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 0x4b47d0
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [edi], 0
jne 0x4b483d
sub edi, 4
cmp edi, ebx
jbe 0x4b4835
cmp dword [edi], 0
jne 0x4b4832
sub edi, 4
dec esi
cmp edi, ebx
ja 0x4b4825
mov dword [ebp - 8], esi
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
jmp 0x4b4840
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push eax
call fcn.004b1c00
add esp, 8
test eax, eax
js 0x4b48e2
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 0x4b4880
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
cmp dword [ebx + esi*4], edx
lea eax, [ebx + esi*4]
jne 0x4b48e2
sub eax, 4
cmp eax, ebx
jbe 0x4b48dc
nop
cmp dword [eax], edx
jne 0x4b48dc
sub eax, 4
dec esi
cmp eax, ebx
ja 0x4b48d0
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 0x527d68
push 2
call fcn.004e13cf
add esp, 4
push eax
call fcn.004b57a0
add esp, 0xc
push 1
call fcn.004eb699
int3