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

Disassembly:
push 0xffffffffffffffff
push 0x56e3fc
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0xec]
mov dword [esp + 0xb0], 7
mov dword [esp + 0x98], 0x444604
xor ecx, ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], cx
test ebp, ebp
je 0x47f119
push eax
lea ecx, [esp + 0x9c]
call fcn.004ba460
mov eax, edi
shr eax, 0x1f
test al, 1
jne 0x47f326
push 0x44
lea eax, [esp + 0x58]
push 0
push eax
call fcn.0054b440
xor eax, eax
mov dword [esp + 0x60], 0x444a14
add esp, 0xc
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x60], 0x444604
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0x7c], 0x444604
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x40]
mov edx, eax
mov byte [esp + 0xdc], 1
mov dword [esp + 0x58], edi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x47f1b4
mov edi, edi
cmp dword [ecx + 0x14], edi
jae 0x47f1aa
mov ecx, dword [ecx + 8]
jmp 0x47f1ae
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x47f1a0
cmp edx, eax
je 0x47f1c7
cmp edi, dword [edx + 0x14]
jb 0x47f1c7
mov dword [esp + 0x14], edx
lea esi, [esp + 0x14]
jmp 0x47f1cf
mov dword [esp + 0x18], eax
lea esi, [esp + 0x18]
mov esi, dword [esi]
cmp esi, eax
je 0x47f3c7
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x14]
je 0x47f3c7
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb8]
call fcn.004ba100
cmp dword [esp + 0xb0], 8
lea eax, [esp + 0x9c]
mov dword [esp + 0xac], 0
cmovae eax, dword [esp + 0x9c]
xor ecx, ecx
mov byte [esp + 0xdc], 2
mov word [eax], cx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ba220
push 0x444a18
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 3
call fcn.004ba290
lea eax, [esi + 0x1c]
mov byte [esp + 0xdc], 4
test eax, eax
je 0x47f263
add eax, 4
jmp 0x47f265
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa8]
call fcn.0047fc50
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xa8]
call fcn.0047fc50
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xa8]
call fcn.0047fc50
cmp dword [esp + 0x34], 8
mov dword [esp + 0x1c], 0x444604
jb 0x47f2bb
push dword [esp + 0x20]
call fcn.00549eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
cmp dword [esp + 0x50], 8
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x38], 0x444604
jb 0x47f2ed
push dword [esp + 0x3c]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0xb4], 0x4442f8
jb 0x47f311
push dword [esp + 0xb8]
call fcn.00549eaf
add esp, 4
mov eax, edi
mov byte [esp + 0xdc], 0
shr eax, 0x1f
test al, 1
je 0x47f126
test edi, edi
jns 0x47f3d0
push 0x44
lea eax, [esp + 0x58]
push 0
push eax
call fcn.0054b440
xor eax, eax
mov dword [esp + 0x60], 0x444a14
add esp, 0xc
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x60], 0x444604
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0x7c], 0x444604
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x60]
lea eax, [esp + 0x98]
mov byte [esp + 0xdc], 5
push eax
mov dword [esp + 0x60], edi
call fcn.004ba400
test ebp, ebp
je 0x47f3ba
push ebp
lea ecx, [esp + 0x80]
call fcn.004ba460
lea eax, [esp + 0x54]
push eax
lea ecx, [ebx + 0x30]
call fcn.00480090
lea ecx, [esp + 0x54]
call fcn.0047d6d0
cmp dword [esp + 0xb0], 8
mov dword [esp + 0x98], 0x444604
jb 0x47f3f4
push dword [esp + 0x9c]
call fcn.00549eaf
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0054a992
add esp, 0xcc
ret 0xc