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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x154]
cmp eax, dword [ecx + 8]
jbe 0x64f6ab
sub esp, 0x1d4
mov eax, dword [esp + 0x1d8]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x220]
call fcn.00466474
mov byte [esp + 0x3c], 1
call fcn.0064eef0
movzx eax, byte [esp + 0x40]
mov byte [esp + 0x53], al
mov ecx, dword [esp + 0x1d8]
movzx edx, byte [ecx + 0x58]
test dl, dl
je 0x64f236
mov edx, dword [esp + 0x25c]
test edx, edx
jne 0x64f1c7
mov eax, dword [esp + 0x228]
mov dword [esp], eax
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 4], 0x42800000
call fcn.0044e470
mov eax, dword [esp + 0x1d8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x74], ebx
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 4]
mov dword [esp + 0x6c], ecx
mov dword [esp], eax
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
xor ecx, 0x80000000
mov dword [esp + 4], ecx
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
xor ecx, 0x80000000
mov dword [esp + 4], ecx
call fcn.0044e350
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x1d8]
mov dword [edx + 0x30], ecx
mov dword [edx + 0x34], eax
movzx eax, byte [esp + 0x53]
mov ecx, edx
mov edx, dword [esp + 0x25c]
inc edx
mov ebx, dword [esp + 0x260]
cmp ebx, edx
jb 0x64f1dc
mov ebp, dword [esp + 0x258]
jmp 0x64f221
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6d7680]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, ecx
movzx eax, byte [esp + 0x53]
mov ecx, dword [esp + 0x1d8]
imul ecx, edx, 0x38
lea edi, [ecx + ebp - 0x38]
lea esi, [esp + 0x220]
call fcn.00466474
jmp 0x64f24b
mov ebx, dword [esp + 0x260]
mov edx, dword [esp + 0x25c]
mov ebp, dword [esp + 0x258]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0xf0], ebp
movzx ecx, word [esp + 0x256]
test cx, 2
jne 0x64f275
cmp edx, ebx
je 0x64f275
test al, al
jne 0x64f66a
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.00465fea
mov ecx, dword [esp + 0x1d8]
mov edx, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x74], ebx
lea edi, [esp + 0x94]
call fcn.00465fea
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0044e350
mov ecx, dword [esp + 8]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.0044e350
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], ecx
lea edi, [esp + 0xac]
lea esi, [esp + 0x94]
call fcn.004664c4
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00465fea
lea edi, [esp + 0x7c]
lea esi, [esp + 0xac]
call fcn.004664c4
mov ecx, dword [esp + 0x218]
mov dword [esp + 0xec], ecx
lea edi, [esp]
lea esi, [esp + 0x7c]
call fcn.004664c4
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x18], ecx
call fcn.004dfbe0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xe8], ebp
mov esi, dword [esp + 0x21c]
mov dword [esp], esi
mov ebp, dword [esp + 0xf0]
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
call fcn.006436b0
lea edi, [esp + 0x130]
lea esi, [esp + 0x10]
call fcn.0046647e
lea edi, [esp + 0x164]
xor eax, eax
call fcn.00465fe3
lea edi, [esp + 0x164]
lea esi, [esp + 0x130]
call fcn.0046647e
lea edi, [esp + 0x198]
call fcn.00465fe1
lea edi, [esp + 0x198]
lea esi, [esp + 0x164]
call fcn.0046647e
mov byte [esp + 0x1cc], 1
mov ecx, dword [esp + 0x218]
mov dword [esp + 0xec], ecx
lea edi, [esp]
lea esi, [esp + 0x198]
call fcn.0046646a
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x3c], ecx
call fcn.004f74e0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xe4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x1d8]
add esi, 0x14
lea edi, [esp + 0x108]
call fcn.004664ce
mov ecx, dword [esp + 0x218]
mov dword [esp + 0xec], ecx
lea edi, [esp]
lea esi, [esp + 0x108]
call fcn.004664ce
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x14], ecx
call fcn.004df9f0
mov ecx, dword [esp + 0x218]
movzx edx, byte [ecx + 0x2c]
test dl, dl
jne 0x64f692
mov dword [esp + 0xdc], ecx
mov eax, dword [ecx + 8]
inc eax
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
cmp edx, eax
jae 0x64f4fe
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x69be80]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0xe0], ebx
mov dword [esp + 0x54], edx
lea ecx, [eax + ebx - 1]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00466510
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0xdc]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
mov ebx, dword [0x1eaa9f0]
test ebx, ebx
jne 0x64f54c
mov ebx, dword [esp + 0xe0]
mov dword [eax + 4], ebx
jmp 0x64f55d
lea edi, [eax + 4]
mov eax, dword [esp + 0xe0]
call fcn.00465d80
mov ebx, eax
lea eax, [ecx - 1]
cmp ecx, eax
jb 0x64f68d
sub edx, ecx
lea ecx, [edx + 1]
neg ecx
sar ecx, 0x1f
and eax, ecx
mov byte [ebx + eax], 0xd0
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
call fcn.004f7c70
mov eax, dword [esp + 0x21c]
mov dword [esp], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
call fcn.006438b0
lea edi, [esp + 0xf4]
lea esi, [esp + 0x10]
call fcn.004664ce
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.00465feb
lea eax, [esp + 0xf4]
mov dword [esp], eax
lea ecx, [esp + 0x11c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x14
call fcn.00402a80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x64f631
mov eax, dword [esp + 0x218]
lea edi, [esp]
lea esi, [esp + 0xf4]
call fcn.004664ce
mov dword [esp + 0x14], eax
call fcn.004df9f0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xc], eax
call fcn.004dfe50
movzx eax, byte [esp + 0x53]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0xf0]
xor edx, edx
mov dword [esp + 0x264], ebp
mov dword [esp + 0x268], edx
mov dword [esp + 0x26c], ebx
mov byte [esp + 0x270], al
add esp, 0x1d4
ret
call fcn.00465e60
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x78498c]
mov dword [esp + 4], eax
call fcn.00436d20
nop
call fcn.004649b0
jmp fcn.0064f080