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

Disassembly:
sub esp, 0x58
mov eax, dword [0x58cb30]
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.004be750
mov ecx, edi
call fcn.00478c20
test eax, eax
je 0x472b20
lea eax, [edi + 0x6d54]
mov ebp, eax
mov ebx, dword [edi + 0x1ac4]
mov ecx, dword [esp + 0x78]
cmp ebx, 2
je 0x47288a
cmp ebx, 3
jne 0x472957
mov eax, ebp
cmp byte [eax], 0
jne 0x47294e
cmp byte [edi + 0x35db], 0
je 0x47294e
mov eax, dword [esi + 0x1aa4]
cmp byte [eax + 0x6028], 0
je 0x47294e
cmp byte [eax + 0xf62c], 0
je 0x47294e
xor eax, eax
mov dword [esp + 0x1c], 0x558718
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], 0x558718
mov dword [esp + 0x24], 0x558718
mov dword [esp + 0x28], 0x558718
mov dword [esp + 0x2c], 0x558718
mov dword [esp + 0x30], 0x558718
mov dword [esp + 0x34], 0x558718
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 1
call fcn.004bf7b0
push 2
mov ecx, 0x5d381c
call fcn.00487c40
mov ecx, dword [esp + 0x78]
cmp ebx, 2
je 0x472af7
cmp ebx, 5
je 0x472b20
cmp ebx, 0x77
je 0x4729c9
cmp ebx, 3
jne 0x472973
cmp byte [edi + 0x5982], 0
jne 0x4729c9
cmp byte [edi + 0x2494], 0
je 0x4729d0
mov esi, dword [edi]
push 0
push dword [edi + 0x6d44]
push dword [edi + 0x6d40]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
lea ebp, [edi + 0x6d54]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x70], 0
call fcn.004be750
mov ecx, edi
call fcn.00478c20
test eax, eax
je 0x472b20
lea eax, [edi + 0x6d54]
jmp 0x472870
cmp byte [esp + 0x70], 0
je 0x47297c
test ecx, ecx
je 0x472a14
cmp ebx, 3
jne 0x472a14
mov eax, ecx
lea ecx, [edi + 0x48b8]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x472a07
test dx, dx
je 0x472a03
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x472a07
add ecx, 4
add eax, 4
test dx, dx
jne 0x4729e1
xor eax, eax
jmp 0x472a0c
sbb eax, eax
or eax, 1
test eax, eax
je 0x47297c
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x472a32
mov eax, dword [ebp]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55770c]
mov ecx, ebp
call esi
mov esi, dword [esp + 0x10]
cmp byte [edi + 0x6d54], 0
lea ebp, [edi + 0x6d54]
jne 0x472aa8
cmp byte [esi + 0x6d54], 0
je 0x472aa8
push 0
cmp ebx, 3
je 0x472a73
mov esi, dword [edi]
push dword [edi + 0x6d44]
push dword [edi + 0x6d40]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
jmp 0x4729a1
push 0
lea eax, [edi + 0x4890]
mov ecx, esi
push eax
push 3
call fcn.004750e0
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55770c]
mov ecx, edi
call esi
mov ecx, dword [edi + 0x6d40]
sub ecx, eax
mov eax, dword [edi + 0x6d44]
sbb eax, edx
jmp 0x472adf
mov esi, dword [edi]
push 0
push dword [edi + 0x6d3c]
push dword [edi + 0x6d38]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55770c]
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.0048f3f0
mov byte [esp + 0x70], 1
jmp 0x4729aa
lea eax, [edi + 0x2548]
push eax
lea ecx, [esi + 0x2548]
call fcn.00495750
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00530218
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.00530218
add esp, 0x58
ret 0x10