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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x664379
sub esp, 0x70
mov eax, 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x664277
mov ecx, dword [0xa7d518]
mov edx, dword [esp + 0x84]
cmp edx, ecx
je 0x664119
test edx, edx
jne 0x663d2f
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004a8370
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x663d7f
mov eax, dword [esp + 0x80]
jmp 0x663d0e
mov eax, dword [esp + 0x80]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x14
jne 0x66410a
add eax, 0xffffffee
cmp eax, 1
ja 0x6640fa
test ecx, 0x200
je 0x6640c5
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a4f30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004a8370
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6640a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov ebx, eax
and eax, 0x1f
cmp eax, 0x16
je 0x663f90
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004a8370
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0049ef90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x663f87
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x663f5e
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004a8370
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
test edx, edx
je 0x663ed9
mov edx, dword [edx + 4]
test eax, eax
je 0x663ee0
mov eax, dword [eax + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x7a436e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x29
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.0065e7d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jmp 0x663d16
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004a2fb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x663d16
mov eax, dword [esp + 0x18]
jmp 0x663eab
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004a8370
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 0xc]
test al, al
jne 0x663ff0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
jmp 0x663e45
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
call fcn.004a4f30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x663d16
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x66403a
mov ebx, dword [ebx + 4]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x7a2687]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x25
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0065e7d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
jmp 0x663d16
mov eax, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x94], eax
add esp, 0x70
ret
test ecx, 0x80
je 0x6640f2
mov eax, dword [esp + 0x7c]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x663dac
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
jmp 0x663e2b
mov eax, dword [esp + 0x7c]
mov edx, eax
jmp 0x6640d3
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax]
test ebx, ebx
setne dl
xor edx, 1
jmp 0x6640db
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
jmp 0x663e2b
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov ecx, dword [0xa7d51c]
mov dword [esp + 8], ecx
call fcn.00402e70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x664152
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
jmp 0x663d0a
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
call fcn.004a8370
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
cmp eax, edx
je 0x664240
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
lea eax, [0x78ec60]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.004073b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x664238
movzx edx, byte [0xa7d7a8]
test dl, dl
je 0x6641e6
mov dword [0xa7d7ac], ecx
mov edx, dword [0xa8f2d0]
test edx, edx
jne 0x66422b
mov dword [0xa7d7b0], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x664223
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x66420a
or edx, 0x80
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
add esp, 0x70
ret
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x66420a
lea edi, [0xa7d7b0]
call fcn.0044c9e0
jmp 0x6641e6
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x66420a
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00402e70
movzx eax, byte [esp + 0xc]
test al, al
je 0x664188
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
jmp 0x663d0a
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x664354
mov dword [esp], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.00663c30
movzx eax, byte [esp + 8]
test al, al
jne 0x664315
mov eax, dword [esp + 0x84]
test eax, eax
je 0x664311
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
lea edx, [0x79d3c6]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1a
lea edx, [esp + 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0065e7d0
mov eax, dword [esp + 0x80]
jmp 0x663cf5
mov ecx, eax
jmp 0x6642b0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.004a8f30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x70
ret
call fcn.0044b280
jmp fcn.00663cc0