Function at 0x44f470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
movzx ebx, word [esp + 0x20]
push ebp
push edi
mov edi, ebx
mov ecx, 0x2000
shl edi, 9
cmp edi, ecx
jle 0x44f48b
mov ecx, edi
mov eax, ecx
cdq
idiv edi
xor ebp, ebp
cmp edx, ebp
je 0x44f499
add eax, 1
cdq
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], edx
mov eax, ecx
cdq
mov dword [esi + 0xd0], eax
mov eax, dword [esi + 0xc8]
mov dword [esi + 0x18], eax
mov dword [esi + 0xd4], edx
lea eax, [edi + 7]
cdq
idiv edi
mov ecx, dword [esi + 0xcc]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], ebp
mov dword [esi + 0x28], 8
mov dword [esi + 0x2c], ebp
cdq
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
xor edx, edx
mov eax, 0x6c00
div edi
cmp edx, ebp
mov ecx, eax
je 0x44f4fc
add ecx, 1
mov edx, dword [esi + 0x18]
add edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
adc eax, dword [esi + 0x24]
mov dword [esi], edx
mov dword [esi + 4], eax
mov eax, ecx
cdq
mov dword [esi + 8], eax
mov ebp, dword [esp + 0x24]
mov eax, ebx
imul eax, ecx
shl eax, 9
mov dword [esi + 0xc], edx
cdq
mov dword [esi + 0x10], eax
mov eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esi + 0x14], edx
cdq
push edx
push eax
push ebp
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call sub.ntdll.dll__alldiv
push 0
push 3
push edx
push eax
call sub.ntdll.dll__alldiv
mov ecx, eax
mov eax, 0x1000
cmp edi, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
jle 0x44f561
mov eax, edi
cdq
idiv edi
test edx, edx
mov dword [esp + 0x20], eax
je 0x44f573
add eax, 1
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov dword [esi + 0x34], edx
cdq
mov dword [esi + 0x38], eax
movzx eax, word [esp + 0x28]
imul eax, dword [esp + 0x20]
shl eax, 9
sub ebx, 1
mov dword [esi + 0x3c], edx
cdq
sbb ebp, 0
mov dword [esi + 0x40], eax
mov eax, ebp
test eax, eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x44], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
jg 0x44f5ee
jl 0x44f5b6
cmp ebx, 0x64000
ja 0x44f5bd
mov ebp, 0x1000
jmp 0x44f5f3
test eax, eax
jg 0x44f5ee
jl 0x44f5cb
cmp ebx, 0x1800000
ja 0x44f5ee
push 0
push 0xc3
push eax
push ebx
call sub.ntdll.dll__alldiv
mov ecx, dword [esp + 0xc]
mov ebp, eax
cmp ebp, 0x1000
jge 0x44f5f3
mov ebp, 0x1000
jmp 0x44f5f3
mov ebp, 0x20000
movzx ebx, word [esp + 0x28]
mov eax, ebp
cdq
idiv ebx
test edx, edx
je 0x44f604
add eax, 1
add ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x10]
adc edx, dword [esi + 0x3c]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
cdq
mov dword [esi + 0x50], eax
lea eax, [ebx + ebp]
shl eax, 9
sub eax, 1
lea ecx, [edi - 1]
not ecx
and eax, ecx
mov dword [esi + 0x54], edx
cdq
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
xor edx, edx
mov eax, 0xa00
div edi
xor ecx, ecx
cmp edx, ecx
je 0x44f644
add eax, 1
mov edx, dword [esi + 0x50]
add edx, dword [esi + 0x48]
mov ebx, dword [esi + 0x54]
adc ebx, dword [esi + 0x4c]
mov dword [esi + 0x60], edx
cdq
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
xor edx, edx
mov eax, 0x1030
div edi
mov dword [esi + 0x64], ebx
mov dword [esi + 0x70], 0xa00
mov dword [esi + 0x74], ecx
cmp edx, ecx
je 0x44f677
add eax, 1
mov edx, dword [esi + 0x60]
add edx, dword [esi + 0x68]
mov dword [esi + 0x88], 0x1030
adc ebx, dword [esi + 0x6c]
mov dword [esi + 0x78], edx
cdq
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
xor edx, edx
mov eax, 0x1000
div edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x8c], ecx
cmp edx, ecx
je 0x44f6b3
add eax, 1
mov edx, dword [esi + 0x78]
add edx, dword [esi + 0x80]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x14]
adc ebx, dword [esi + 0x84]
mov dword [esi + 0x90], edx
cdq
mov dword [esi + 0x98], eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x9c], edx
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
mov dword [esi + 0x94], ebx
mov dword [esi + 0xa0], 0x1000
call sub.ntdll.dll__alldiv
push 0
add eax, 7
adc edx, 0
push 8
and eax, 0xfffffff8
push edx
push eax
call sub.ntdll.dll__alldiv
mov ebp, eax
mov ecx, edx
mov eax, edi
cdq
push edx
add ebp, 7
adc ecx, 0
push eax
push ecx
and ebp, 0xfffffff8
push ebp
mov dword [esp + 0x20], ecx
call fcn.00463860
mov dword [esp + 0x18], ebx
or ecx, dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x24], edx
je 0x44f74f
add ebx, 1
adc edx, 0
mov dword [esp + 0x24], edx
mov ecx, dword [esi + 0x90]
add ecx, dword [esi + 0x98]
mov eax, dword [esi + 0x94]
adc eax, dword [esi + 0x9c]
mov dword [esi + 0xb4], edx
mov dword [esi + 0xac], eax
mov eax, 0x400fc
cdq
idiv edi
mov dword [esi + 0xa8], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xbc], ecx
xor ecx, ecx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb8], ebp
cmp edx, ecx
je 0x44f7a0
add eax, 1
mov edx, dword [esi + 0xa8]
add edx, ebx
mov ebx, dword [esi + 0xac]
adc ebx, dword [esp + 0x24]
mov dword [esi + 0xd8], edx
cdq
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], edx
mov eax, 0x20000
cdq
idiv edi
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe8], 0x400fc
mov dword [esi + 0xec], ecx
cmp edx, ecx
je 0x44f7ea
add eax, 1
mov edx, dword [esi + 0xd8]
add edx, dword [esi + 0xe0]
mov edi, ebx
adc edi, dword [esi + 0xe4]
mov dword [esi + 0xf0], edx
mov dword [esi + 0xf4], edi
pop edi
cdq
pop ebp
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], edx
mov dword [esi + 0x100], 0x20000
mov dword [esi + 0x104], ecx
pop ebx
add esp, 0x10
ret 0xc