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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66416b
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 [0xbc7270]
test ebx, ebx
jne 0x6640c9
mov eax, dword [esp + 0x94]
mov dword [edx + 0x10], eax
test ecx, ecx
je 0x6640c2
mov ebx, dword [ecx + 8]
cmp ebx, 0x4f130308
ja 0x663d52
cmp ebx, 0xfa45894
jne 0x663d4b
lea ebp, [0x8fc000]
cmp ebp, ecx
jne 0x663d3f
mov esi, eax
je 0x663c78
cmp ebx, 0x36572e67
jne 0x663c6b
lea eax, [0x8fbf00]
cmp eax, ecx
jne 0x663c5f
mov eax, esi
je 0x663ba0
cmp ebx, 0x4f130308
jne 0x663b99
lea ebx, [0x8fc140]
cmp ebx, ecx
jne 0x663b8d
mov ebx, eax
je 0x663b04
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 0x66381d
cmp eax, 6
ja 0x663745
cmp eax, 1
je 0x6636e8
add eax, 0xfffffffe
cmp eax, 4
ja 0x6636c3
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.00664460
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 0x6636d1
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x6640dd
mov ecx, dword [ecx + 4]
jmp 0x6640dd
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.00664180
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 0x6637c0
add eax, 0xfffffff3
cmp eax, 1
ja 0x6637b2
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.00664760
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 0x6636cc
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.006645e0
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 0x663937
lea ecx, [eax - 0xf]
cmp ecx, 1
jbe 0x6638da
cmp eax, 0x14
jne 0x6638cc
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 0x6638be
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.00664a40
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 0x6636cc
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6636cc
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.006648e0
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 0x663aa7
cmp eax, 0x19
jne 0x663a99
mov eax, dword [0xbb52c0]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
jne 0x663a8b
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov edx, dword [0xbb52c4]
mov dword [esp + 8], edx
call fcn.00402e90
movzx eax, byte [esp + 0xc]
test al, al
je 0x663a7d
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.00664a40
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, [0x7da620]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00407470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x663a75
movzx edx, byte [0xbb55c0]
test dl, dl
je 0x663a23
mov dword [0xbb55c4], ecx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x663a68
mov dword [0xbb55c8], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x663a60
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x663a47
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 0x663a47
lea edi, [0xbb55c8]
call fcn.0044cc20
jmp 0x663a23
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x663a47
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6636cc
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6636cc
mov eax, dword [esp + 0x90]
test eax, eax
jmp 0x6636cc
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.006642f0
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.0065fac0
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.00662e90
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 0x663623
mov ebx, eax
jmp 0x663629
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 [0xbb5644]
mov ecx, dword [0xbb5648]
mov ebx, dword [0xbb5640]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.00660c30
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.00662e90
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 0x663601
cmp ebx, 0x4f130308
mov eax, esi
jmp 0x66360d
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 [0xbb5648]
mov ecx, dword [0xbb5644]
mov ebx, dword [0xbb5640]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
call fcn.00661280
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.00662e90
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 0x6635df
mov esi, eax
jmp 0x6635e5
cmp ebx, 0x8e6cd13b
ja 0x663ece
cmp ebx, 0x7a206bd0
jne 0x663ec1
lea ebp, [0x8fc280]
cmp ebp, ecx
jne 0x663eb5
mov ebp, eax
je 0x663df6
cmp ebx, 0x8e6cd13b
jne 0x663def
lea eax, [0x8fbf80]
cmp eax, ecx
jne 0x663def
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.00662e90
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 0x663629
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 [0xbb5640]
mov ecx, dword [0xbb5648]
mov ebx, dword [0xbb5644]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
call fcn.00660e50
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.00662e90
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 0x663d7a
cmp ebx, 0x8e6cd13b
mov ebp, eax
jmp 0x663d82
cmp ebx, 0xe4047a14
jne 0x6640bb
lea ebp, [0x8fbfc0]
cmp ebp, ecx
jne 0x6640af
mov ebp, eax
je 0x663fd8
cmp ebx, 0xf46e0b19
jne 0x663def
lea eax, [0x8fc0c0]
cmp eax, ecx
jne 0x663def
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
call fcn.00662e00
movzx eax, byte [esp + 8]
test al, al
jne 0x663f99
mov eax, dword [esp + 0x88]
test eax, eax
je 0x663f95
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, [0x7e41f7]
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.0065d9a0
jmp 0x663629
mov ecx, eax
jmp 0x663f3b
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0047ccd0
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 [0xbb5640]
mov ecx, dword [0xbb5648]
mov ebx, dword [0xbb5644]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
call fcn.00660b30
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.00662e90
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 0x663eea
mov ebp, eax
jmp 0x663ef0
mov ebx, eax
jmp 0x663629
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x94]
call fcn.0044cc20
jmp 0x6635ac
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, [0x7ea4db]
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.0065d9a0
lea eax, [0x771de0]
mov dword [esp], eax
lea eax, [0x8f7b08]
mov dword [esp + 4], eax
call fcn.00427510
ud2
call fcn.0044b4c0
jmp fcn.00663560