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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x641199
sub esp, 0xa8
lea eax, [0x6d5880]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov esi, edx
xor edi, edi
xor edx, edx
mov dword [esp + 0x24], edx
mov edx, esi
jmp 0x640fe0
mov dword [esp + 0x28], esi
mov ebp, ecx
imul ecx, ecx, 0x34
lea edi, [ecx + ebx - 0x34]
lea esi, [esp + 0x6c]
call fcn.0046647e
mov ecx, dword [esp + 0xa4]
add ecx, 0x34
mov esi, ecx
mov ecx, dword [esp + 0x34]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0xb0]
mov ecx, esi
mov edx, dword [esp + 0x28]
mov eax, ebx
mov dword [esp + 0x24], ebp
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0xb0]
cmp esi, edi
jle 0x641148
mov dword [esp + 0x34], edi
mov dword [esp + 0xa4], ecx
lea edi, [esp + 0x38]
mov esi, ecx
call fcn.0046647e
mov ecx, dword [esp + 0x40]
mov esi, edx
mov edx, dword [esp + 0x44]
neg edx
mov dword [esp + 0x2c], edx
mov edi, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
add ebx, ecx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x2c]
sub ebx, ebp
mov ebp, dword [esp + 0xbc]
test ebp, 0xffff0000
jne 0x641180
test edi, 0xffff0000
jne 0x641168
mov dword [esp + 0x30], ecx
mov dword [esp + 0xa0], eax
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00465fe3
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0xb8]
mov edx, ecx
and ecx, 0xffff
mov eax, ebp
shl ebp, 0x10
or ebp, ecx
mov dword [esp + 0x70], ebp
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0x24]
inc ecx
cmp esi, ecx
jb 0x6410fc
mov ebx, dword [esp + 0xa0]
jmp 0x640f8f
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x6d5880]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
jmp 0x640f8f
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
add esp, 0xa8
ret
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x7849bc]
mov dword [esp + 4], eax
call fcn.00436d20
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x7849b4]
mov dword [esp + 4], eax
call fcn.00436d20
nop
call fcn.004649b0
jmp fcn.00640f20