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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x664f9b
sub esp, 0x74
mov eax, 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x78]
mov dword [edx + 0xc], ecx
mov ebx, dword [0xa8f2d0]
test ebx, ebx
jne 0x664ef9
mov eax, dword [esp + 0x94]
mov dword [edx + 0x10], eax
test ecx, ecx
je 0x664ef2
mov ebx, dword [ecx + 8]
cmp ebx, 0x4f130308
ja 0x664b82
cmp ebx, 0xfa45894
jne 0x664b7b
lea ebp, [0x8012c0]
cmp ebp, ecx
jne 0x664b6f
mov esi, eax
je 0x664aa8
cmp ebx, 0x36572e67
jne 0x664a9b
lea eax, [0x8011c0]
cmp eax, ecx
jne 0x664a8f
mov eax, esi
je 0x6649d0
cmp ebx, 0x4f130308
jne 0x6649c9
lea ebx, [0x801400]
cmp ebx, ecx
jne 0x6649bd
mov ebx, eax
je 0x664934
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
cmp eax, 0xe
ja 0x66464d
cmp eax, 6
ja 0x664575
cmp eax, 1
je 0x664518
add eax, 0xfffffffe
cmp eax, 4
ja 0x6644f3
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call fcn.00665290
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
mov eax, dword [esp + 0x90]
test eax, eax
je 0x664501
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x664f0d
mov ecx, dword [ecx + 4]
jmp 0x664f0d
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call fcn.00664fb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x74
ret
lea ecx, [eax - 7]
cmp ecx, 5
jbe 0x6645f0
add eax, 0xfffffff3
cmp eax, 1
ja 0x6645e2
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call fcn.00665590
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6644fc
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call fcn.00665410
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
cmp eax, 0x14
ja 0x664767
lea ecx, [eax - 0xf]
cmp ecx, 1
jbe 0x66470a
cmp eax, 0x14
jne 0x6646fc
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x6c]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
jne 0x6646ee
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
call fcn.00665870
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6644fc
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6644fc
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call fcn.00665710
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
cmp eax, 0x18
je 0x6648d7
cmp eax, 0x19
jne 0x6648c9
mov eax, dword [0xa7d518]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
jne 0x6648bb
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov edx, dword [0xa7d51c]
mov dword [esp + 8], edx
call fcn.00402e70
movzx eax, byte [esp + 0xc]
test al, al
je 0x6648ad
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
call fcn.00665870
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea eax, [0x78ec60]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.004073b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x6648a5
movzx edx, byte [0xa7d7a8]
test dl, dl
je 0x664853
mov dword [0xa7d7ac], ecx
mov edx, dword [0xa8f2d0]
test edx, edx
jne 0x664898
mov dword [0xa7d7b0], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x664890
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x664877
or edx, 0x80
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x664877
lea edi, [0xa7d7b0]
call fcn.0044c9e0
jmp 0x664853
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x664877
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6644fc
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6644fc
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6644fc
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call fcn.00665120
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.006608f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00663cc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
mov ebx, eax
mov eax, 0
jmp 0x664453
mov ebx, eax
jmp 0x664459
mov dword [esp], edx
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [0xa7d82c]
mov ecx, dword [0xa7d830]
mov ebx, dword [0xa7d828]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.00661a60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00663cc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x74
ret
mov eax, esi
mov esi, 0
jmp 0x664431
cmp ebx, 0x4f130308
mov eax, esi
jmp 0x66443d
mov dword [esp], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [0xa7d830]
mov ecx, dword [0xa7d82c]
mov ebx, dword [0xa7d828]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
call fcn.006620b0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00663cc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
mov esi, eax
mov eax, 0
jmp 0x66440f
mov esi, eax
jmp 0x664415
cmp ebx, 0x8e6cd13b
ja 0x664cfe
cmp ebx, 0x7a206bd0
jne 0x664cf1
lea ebp, [0x801540]
cmp ebp, ecx
jne 0x664ce5
mov ebp, eax
je 0x664c26
cmp ebx, 0x8e6cd13b
jne 0x664c1f
lea eax, [0x801240]
cmp eax, ecx
jne 0x664c1f
mov dword [esp], edx
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00663cc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
add esp, 0x74
ret
mov ebx, ebp
jmp 0x664459
mov dword [esp], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [0xa7d828]
mov ecx, dword [0xa7d830]
mov ebx, dword [0xa7d82c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
call fcn.00661c80
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00663cc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x74
ret
mov ebp, eax
mov eax, 0
jmp 0x664baa
cmp ebx, 0x8e6cd13b
mov ebp, eax
jmp 0x664bb2
cmp ebx, 0xe4047a14
jne 0x664eeb
lea ebp, [0x801280]
cmp ebp, ecx
jne 0x664edf
mov ebp, eax
je 0x664e08
cmp ebx, 0xf46e0b19
jne 0x664c1f
lea eax, [0x801380]
cmp eax, ecx
jne 0x664c1f
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
call fcn.00663c30
movzx eax, byte [esp + 8]
test al, al
jne 0x664dc9
mov eax, dword [esp + 0x88]
test eax, eax
je 0x664dc5
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
lea edx, [0x79b7c6]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x17
lea edx, [esp + 0x50]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0065e7d0
jmp 0x664459
mov ecx, eax
jmp 0x664d6b
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.004a8f30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x74
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 1
mov eax, dword [0xa7d828]
mov ecx, dword [0xa7d830]
mov ebx, dword [0xa7d82c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
call fcn.00661960
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00663cc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x74
ret
mov ebp, eax
mov eax, 0
jmp 0x664d1a
mov ebp, eax
jmp 0x664d20
mov ebx, eax
jmp 0x664459
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x94]
call fcn.0044c9e0
jmp 0x6643dc
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea eax, [0x7a109d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.0065e7d0
lea eax, [0x730dc0]
mov dword [esp], eax
lea eax, [0x7fd580]
mov dword [esp + 4], eax
call fcn.004275c0
ud2
call fcn.0044b280
jmp fcn.00664390