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

Disassembly:
sub esp, 0x58
mov eax, dword [0x58bb30]
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.004bdd00
mov ecx, edi
call fcn.00478450
test eax, eax
je 0x472350
lea eax, [edi + 0x6d54]
mov ebp, eax
mov ebx, dword [edi + 0x1ac4]
mov ecx, dword [esp + 0x78]
cmp ebx, 2
je 0x4720ba
cmp ebx, 3
jne 0x472187
mov eax, ebp
cmp byte [eax], 0
jne 0x47217e
cmp byte [edi + 0x35db], 0
je 0x47217e
mov eax, dword [esi + 0x1aa4]
cmp byte [eax + 0x6028], 0
je 0x47217e
cmp byte [eax + 0xf62c], 0
je 0x47217e
xor eax, eax
mov dword [esp + 0x1c], 0x557718
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], 0x557718
mov dword [esp + 0x24], 0x557718
mov dword [esp + 0x28], 0x557718
mov dword [esp + 0x2c], 0x557718
mov dword [esp + 0x30], 0x557718
mov dword [esp + 0x34], 0x557718
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 1
call fcn.004bed70
push 2
mov ecx, 0x5d281c
call fcn.00487440
mov ecx, dword [esp + 0x78]
cmp ebx, 2
je 0x472327
cmp ebx, 5
je 0x472350
cmp ebx, 0x77
je 0x4721f9
cmp ebx, 3
jne 0x4721a3
cmp byte [edi + 0x5982], 0
jne 0x4721f9
cmp byte [edi + 0x2494], 0
je 0x472200
mov esi, dword [edi]
push 0
push dword [edi + 0x6d44]
push dword [edi + 0x6d40]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
lea ebp, [edi + 0x6d54]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x70], 0
call fcn.004bdd00
mov ecx, edi
call fcn.00478450
test eax, eax
je 0x472350
lea eax, [edi + 0x6d54]
jmp 0x4720a0
cmp byte [esp + 0x70], 0
je 0x4721ac
test ecx, ecx
je 0x472244
cmp ebx, 3
jne 0x472244
mov eax, ecx
lea ecx, [edi + 0x48b8]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x472237
test dx, dx
je 0x472233
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x472237
add ecx, 4
add eax, 4
test dx, dx
jne 0x472211
xor eax, eax
jmp 0x47223c
sbb eax, eax
or eax, 1
test eax, eax
je 0x4721ac
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x472262
mov eax, dword [ebp]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55670c]
mov ecx, ebp
call esi
mov esi, dword [esp + 0x10]
cmp byte [edi + 0x6d54], 0
lea ebp, [edi + 0x6d54]
jne 0x4722d8
cmp byte [esi + 0x6d54], 0
je 0x4722d8
push 0
cmp ebx, 3
je 0x4722a3
mov esi, dword [edi]
push dword [edi + 0x6d44]
push dword [edi + 0x6d40]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
jmp 0x4721d1
push 0
lea eax, [edi + 0x4890]
mov ecx, esi
push eax
push 3
call fcn.00474910
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
mov ecx, dword [edi + 0x6d40]
sub ecx, eax
mov eax, dword [edi + 0x6d44]
sbb eax, edx
jmp 0x47230f
mov esi, dword [edi]
push 0
push dword [edi + 0x6d3c]
push dword [edi + 0x6d38]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
mov ecx, dword [edi + 0x6d40]
sub ecx, dword [edi + 0x6d38]
mov eax, dword [edi + 0x6d44]
sbb eax, dword [edi + 0x6d3c]
mov esi, dword [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
call fcn.0048ecf0
mov byte [esp + 0x70], 1
jmp 0x4721da
lea eax, [edi + 0x2548]
push eax
lea ecx, [esi + 0x2548]
call fcn.00494db0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0052f708
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.0052f708
add esp, 0x58
ret 0x10