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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4668fa
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4668b6
movzx edx, byte [0x5bd398]
test dl, dl
je 0x4668aa
mov dword [0x5bd39c], ecx
mov edx, dword [0x5cd9c0]
test edx, edx
jne 0x466893
mov eax, dword [esp + 0x84]
mov dword [0x5bd3a0], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x466888
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x46642d
or edx, 0x80
mov ebx, edx
and edx, 0x1f
cmp edx, 0x17
jne 0x46684a
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0046e9d0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x466839
cmp eax, 1
je 0x466828
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.0046fe30
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 + 8]
mov ecx, dword [esp + 4]
lea edx, [0x518040]
cmp edx, ecx
jne 0x4668dc
movzx ecx, byte [eax + 0xf]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
test cl, 0x80
jne 0x46664b
cmp edx, 4
je 0x4665dd
and ecx, 0x1f
cmp ecx, 0x18
je 0x46656f
mov dword [esp + 0x70], eax
mov dword [esp], eax
call fcn.004096c0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea ecx, [0x4e72c0]
mov dword [esp], ecx
call fcn.00409680
mov eax, dword [esp + 4]
lea ecx, [0x472bb0]
mov dword [eax], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x46655d
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x46653f
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.00449ce0
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x54]
call fcn.00449ce0
mov eax, ecx
jmp 0x466534
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00449ce0
mov eax, ecx
jmp 0x466515
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
lea ebx, [0x4dfa80]
mov dword [esp], ebx
call fcn.00409680
mov eax, dword [esp + 4]
lea ecx, [0x4729c0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4665cb
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00449ce0
mov eax, ecx
jmp 0x4665c0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
lea ebx, [0x4dfa20]
mov dword [esp], ebx
call fcn.00409680
mov eax, dword [esp + 4]
lea ecx, [0x472950]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x466639
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00449ce0
mov eax, ecx
jmp 0x46662e
cmp edx, 2
ja 0x46673e
cmp edx, 1
je 0x4666d0
cmp edx, 2
jne 0x4664d6
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax]
mov dword [esp + 0x68], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
lea ebx, [0x4df840]
mov dword [esp], ebx
call fcn.00409680
mov eax, dword [esp + 4]
lea ecx, [0x472b10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4666be
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.00449ce0
mov eax, ecx
jmp 0x4666b3
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea ebx, [0x4df960]
mov dword [esp], ebx
call fcn.00409680
mov eax, dword [esp + 4]
lea ecx, [0x472b60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x46672c
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00449ce0
mov eax, ecx
jmp 0x466721
cmp edx, 4
je 0x4667ba
cmp edx, 8
jne 0x4664d6
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea ebx, [0x4df900]
mov dword [esp], ebx
call fcn.00409680
mov eax, dword [esp + 4]
lea ecx, [0x472a60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4667a8
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00449ce0
mov eax, ecx
jmp 0x46679d
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
lea ebx, [0x4df8a0]
mov dword [esp], ebx
call fcn.00409680
mov eax, dword [esp + 4]
lea ecx, [0x472ac0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x466816
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.00449ce0
mov eax, ecx
jmp 0x46680b
lea eax, [0x500ba4]
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea eax, [0x500ba0]
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov dword [esp + 0x48], edx
lea eax, [0x4e29c0]
mov dword [esp], eax
call fcn.00409680
mov edi, dword [esp + 4]
mov dword [edi + 4], 7
mov eax, dword [0x5cd9c0]
test eax, eax
jne 0x46687b
lea eax, [0x4f6a50]
mov dword [edi], eax
jmp 0x4668c1
lea eax, [0x4f6a50]
call fcn.00449ce0
jmp 0x4668c1
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x46642d
lea edi, [0x5bd3a0]
mov eax, dword [esp + 0x84]
call fcn.00449ce0
jmp 0x466405
mov eax, dword [esp + 0x84]
jmp 0x466405
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x46642d
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
lea eax, [0x4de5e0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00425370
ud2
mov dword [esp], ecx
lea eax, [0x4f2cc0]
mov dword [esp + 4], eax
lea eax, [0x4efba0]
mov dword [esp + 8], eax
call fcn.00406f00
ud2
call fcn.00448580
jmp fcn.004663a0