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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x665042
sub esp, 0x58
mov eax, 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0xc], ecx
mov ebx, dword [0xbc7270]
test ebx, ebx
jne 0x664fcb
mov ebx, dword [esp + 0x70]
mov dword [edx + 0x10], ebx
test ecx, ecx
je 0x664fc4
mov ebp, dword [ecx + 8]
cmp ebp, 0x8e6cd13b
ja 0x664cbc
cmp ebp, 0x4f130308
ja 0x664bd3
cmp ebp, 0xfa45894
jne 0x664bc6
lea eax, [0x8fc000]
cmp eax, ecx
jne 0x664bba
mov esi, ebx
je 0x664b3c
cmp ebp, 0x4f130308
jne 0x664b36
lea eax, [0x8fc140]
cmp eax, ecx
jne 0x664b2d
mov eax, esi
jne 0x664b1d
mov dword [esp], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.0065fac0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
test ecx, ecx
je 0x664fde
mov ecx, dword [ecx + 4]
jmp 0x664fde
mov eax, esi
mov esi, 0
jmp 0x664adb
test ecx, ecx
mov eax, esi
jmp 0x664b1f
mov dword [esp], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [0xbb5644]
mov ecx, dword [0xbb5640]
mov edx, dword [0xbb5648]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
call fcn.00661280
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov esi, ebx
mov ebx, 0
jmp 0x664ac5
cmp ebp, 0x4f130308
mov esi, ebx
jmp 0x664acd
cmp ebp, 0x7a206bd0
jne 0x664caf
lea eax, [0x8fc280]
cmp eax, ecx
jne 0x664ca3
mov eax, ebx
je 0x664c2d
cmp ebp, 0x8e6cd13b
jne 0x664c26
lea ebx, [0x8fbf80]
cmp ebx, ecx
jne 0x664c1f
mov eax, dword [esp + 0x60]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
test ecx, ecx
jmp 0x664b1f
test ecx, ecx
jmp 0x664b1f
mov dword [esp], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [0xbb5648]
mov ecx, dword [0xbb5644]
mov edx, dword [0xbb5640]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.00660e50
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov eax, ebx
mov ebx, 0
jmp 0x664bef
cmp ebp, 0x8e6cd13b
mov eax, ebx
jmp 0x664bf7
cmp ebp, 0xc80c953b
ja 0x664dfd
cmp ebp, 0xa41916b6
jne 0x664df0
lea eax, [0x8fc100]
cmp eax, ecx
jne 0x664de4
mov eax, ebx
je 0x664dbc
cmp ebp, 0xc80c953b
jne 0x664db6
lea ebx, [0x8fc1c0]
cmp ebx, ecx
jne 0x664daa
mov ebx, eax
jne 0x664da1
test byte [eax], al
add eax, 0x14
mov dword [esp + 4], eax
lea eax, [0x771de0]
mov dword [esp], eax
call fcn.00407630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x664d99
movzx edx, byte [0xbb55c0]
test dl, dl
je 0x664d50
mov dword [0xbb55c4], ecx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x664d8c
mov dword [0xbb55c8], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x664d84
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x664d74
or edx, 0x80
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x58
ret
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x664d74
lea edi, [0xbb55c8]
call fcn.0044cc20
jmp 0x664d50
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x664d74
test ecx, ecx
mov eax, ebx
jmp 0x664b1f
mov ebx, eax
mov eax, 0
jmp 0x664d06
test ecx, ecx
mov ebx, eax
jmp 0x664da3
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00660730
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x58
ret
mov eax, ebx
mov ebx, 0
jmp 0x664ce4
cmp ebp, 0xc80c953b
mov eax, ebx
jmp 0x664cf0
cmp ebp, 0xe4047a14
jne 0x664fbd
lea esi, [0x8fbfc0]
cmp esi, ecx
jne 0x664fb1
mov eax, ebx
je 0x664f3b
cmp ebp, 0xee1b4e4a
jne 0x664f37
lea ebx, [0x8fbec0]
cmp ebx, ecx
jne 0x664f2b
mov ebx, eax
jne 0x664ec6
movzx ecx, byte [eax + 0xc]
lea edx, [0xb76960]
lea eax, [edx + ecx]
movzx ecx, byte [0xbb55c0]
test cl, cl
je 0x664ebe
lea ecx, [0x76d520]
mov dword [0xbb55c4], ecx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x664eb1
mov dword [0xbb55c8], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x664ea9
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x664e99
or edx, 0x80
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x58
ret
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x664e99
lea edi, [0xbb55c8]
call fcn.0044cc20
jmp 0x664e75
lea ecx, [0x76d520]
jmp 0x664e75
cmp ebp, 0xf46e0b19
jne 0x664f24
lea eax, [0x8fc0c0]
cmp eax, ecx
jne 0x664f1d
mov dword [esp], edx
lea eax, [0x7ec36c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x26
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.0065d9a0
mov ecx, dword [esp + 0x6c]
test ecx, ecx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
jmp 0x664b1f
test ecx, ecx
jmp 0x664da3
test ecx, ecx
jmp 0x664da3
mov ebx, eax
mov eax, 0
jmp 0x664e3b
mov ebx, eax
jmp 0x664ec6
mov dword [esp], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [0xbb5648]
mov ecx, dword [0xbb5644]
mov edx, dword [0xbb5640]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.00660b30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
mov eax, ebx
mov ebx, 0
jmp 0x664e19
mov eax, ebx
jmp 0x664e1f
mov eax, ebx
jmp 0x664b1f
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x70]
call fcn.0044cc20
mov ebx, eax
jmp 0x664a86
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp], edx
lea eax, [0x7f269b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x39
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0065d9a0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [0x8f7ac0]
mov dword [esp + 4], eax
call fcn.00427510
ud2
call fcn.0044b4c0
jmp fcn.00664a40