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

Disassembly:
sub esp, 0x58
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x10], esi
call fcn.004b0fe0
mov ecx, edi
call fcn.0046c310
test eax, eax
je 0x4667b0
lea eax, [edi + 0x7e7c]
mov ebp, eax
mov ebx, dword [edi + 0x224c]
mov ecx, dword [esp + 0x78]
cmp ebx, 2
je 0x46651a
cmp ebx, 3
jne 0x4665e7
mov eax, ebp
cmp byte [eax], 0
jne 0x4665de
cmp byte [edi + 0x44db], 0
je 0x4665de
mov eax, dword [esi + 0x222c]
cmp byte [eax + 0x612a], 0
je 0x4665de
cmp byte [eax + 0x6128], 0
je 0x4665de
xor eax, eax
mov dword [esp + 0x1c], 0x54266c
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
lea eax, [edi + 0x32]
mov dword [esp + 0x20], 0x54266c
mov dword [esp + 0x24], 0x54266c
mov dword [esp + 0x28], 0x54266c
mov dword [esp + 0x2c], 0x54266c
mov dword [esp + 0x30], 0x54266c
mov dword [esp + 0x34], 0x54266c
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 1
call fcn.004b2040
push 2
mov ecx, 0x5b68fc
call fcn.0047aed0
mov ecx, dword [esp + 0x78]
cmp ebx, 2
je 0x466787
cmp ebx, 5
je 0x4667b0
cmp ebx, 0x77
je 0x466659
cmp ebx, 3
jne 0x466603
cmp byte [edi + 0x688a], 0
jne 0x466659
cmp byte [edi + 0x33b4], 0
je 0x466660
mov esi, dword [edi]
push 0
push dword [edi + 0x7e6c]
push dword [edi + 0x7e68]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
lea ebp, [edi + 0x7e7c]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x70], 0
call fcn.004b0fe0
mov ecx, edi
call fcn.0046c310
test eax, eax
je 0x4667b0
lea eax, [edi + 0x7e7c]
jmp 0x466500
cmp byte [esp + 0x70], 0
je 0x46660c
test ecx, ecx
je 0x4666a4
cmp ebx, 3
jne 0x4666a4
mov eax, ecx
lea ecx, [edi + 0x57b8]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x466697
test dx, dx
je 0x466693
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x466697
add ecx, 4
add eax, 4
test dx, dx
jne 0x466671
xor eax, eax
jmp 0x46669c
sbb eax, eax
or eax, 1
test eax, eax
je 0x46660c
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x4666c2
mov eax, dword [ebp]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x541740]
mov ecx, ebp
call esi
mov esi, dword [esp + 0x10]
cmp byte [edi + 0x7e7c], 0
lea ebp, [edi + 0x7e7c]
jne 0x466738
cmp byte [esi + 0x7e7c], 0
je 0x466738
push 0
cmp ebx, 3
je 0x466703
mov esi, dword [edi]
push dword [edi + 0x7e6c]
push dword [edi + 0x7e68]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
jmp 0x466631
push 0
lea eax, [edi + 0x5790]
mov ecx, esi
push eax
push 3
call fcn.00468d40
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
mov ecx, dword [edi + 0x7e68]
sub ecx, eax
mov eax, dword [edi + 0x7e6c]
sbb eax, edx
jmp 0x46676f
mov esi, dword [edi]
push 0
push dword [edi + 0x7e64]
push dword [edi + 0x7e60]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x541740]
mov ecx, edi
call esi
mov ecx, dword [edi + 0x7e68]
sub ecx, dword [edi + 0x7e60]
mov eax, dword [edi + 0x7e6c]
sbb eax, dword [edi + 0x7e64]
mov esi, dword [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
call fcn.00481860
mov byte [esp + 0x70], 1
jmp 0x46663a
lea eax, [edi + 0x3440]
push eax
lea ecx, [esi + 0x3440]
call fcn.00487b00
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0051dca8
add esp, 0x58
ret 0x10
mov ecx, dword [esp + 0x64]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x58
ret 0x10