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

Disassembly:
push 0xffffffffffffffff
push 0x5328dc
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0xac]
xor ecx, ecx
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x38], ecx
cmp ebx, dword [esi + 0x34]
jne 0x47eb41
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x47eb41
mov eax, dword [esi + 0x44]
cmp eax, 0x20
jne 0x47ead9
add edx, 0xfffffff9
push edx
mov edx, dword [esi + 0x48]
add edx, 4
push edx
mov ecx, esi
push edi
call fcn.00460873
jmp 0x47ed1c
cmp eax, 0x10
jne 0x47eaeb
lea eax, [edx - 4]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x47eacc
cmp eax, 8
jne 0x47eafc
lea eax, [edx - 0xc]
push eax
mov eax, dword [esi + 0x48]
add eax, 9
jmp 0x47eae8
cmp eax, 2
jne 0x47eb25
cmp dword [esi + 0x14], 8
jb 0x47eb0b
mov ebx, dword [esi]
jmp 0x47eb0d
mov ebx, esi
mov eax, dword [esi + 0x48]
push ecx
mov ecx, esp
lea eax, [ebx + eax*2]
mov dword [ecx], eax
mov ecx, edi
call fcn.0047cfa4
pop ecx
jmp 0x47ed1c
mov ecx, esi
cmp eax, 0x80
jne 0x47eb3b
lea eax, [edx - 3]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x47eace
push edx
push dword [esi + 0x48]
jmp 0x47eace
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ecx
mov word [esp + 0x64], ax
mov dword [esp + 0xa0], ecx
mov ecx, ebx
mov eax, dword [esi + 0x58]
sar ecx, 0x10
movzx edx, bx
shl edx, 5
mov ebx, dword [eax + ecx*4]
cmp dword [ebx + edx + 0x14], 0
jne 0x47ed03
mov eax, dword [ebx + edx + 8]
and eax, 0x2fffff
cmp eax, dword [ebx + edx + 4]
je 0x47ed03
mov ecx, dword [ebx + edx + 8]
mov eax, ecx
mov ebp, dword [ebx + edx + 4]
sar eax, 0x16
sub ebp, eax
mov eax, 0x2fffff
and ecx, eax
sub ebp, ecx
mov dword [esp + 0x18], ebp
mov ebp, dword [ebx + edx + 8]
and ebp, eax
add ebp, dword [ebx + edx]
cmp dword [esi + 0x14], 8
jb 0x47ebb9
mov eax, dword [esi]
jmp 0x47ebbb
mov eax, esi
lea ebx, [eax + ebp*2]
push 0x3c
push ebx
call fcn.0050739a
mov edx, dword [esp + 0x20]
pop ecx
pop ecx
test eax, eax
je 0x47eccf
sub eax, ebx
sar eax, 1
cmp eax, edx
jge 0x47eccf
cmp dword [esi + 0x14], 8
jb 0x47ebea
mov ecx, dword [esi]
jmp 0x47ebec
mov ecx, esi
mov eax, dword [esi + 0x50]
and dword [esp + 0x1c], 0
or dword [esp + 0x20], 0xffffffff
and dword [esp + 0x5c], 0
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
lea ebx, [edx + ebp]
mov byte [esp + 0xa0], 1
cmp ebp, ebx
jge 0x47ecc9
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.0047e0a6
cmp dword [esp + 0x3c], 2
jne 0x47ec6b
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + eax*2]
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x80]
call fcn.0047cfa4
pop ecx
mov byte [esp + 0xa0], 2
jmp 0x47ec99
cmp dword [esp + 0x3c], 8
jne 0x47ecbf
mov eax, dword [esp + 0x44]
mov ecx, esi
add eax, 0xfffffff4
push eax
mov eax, dword [esp + 0x44]
add eax, 9
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00460873
mov byte [esp + 0xa0], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.00453f34
push 0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xa8], 1
call fcn.004510f8
cmp dword [esp + 0x24], ebx
jl 0x47ec2c
lea ecx, [esp + 0x4c]
jmp 0x47ecfa
cmp dword [esi + 0x14], 8
jb 0x47ecd7
mov esi, dword [esi]
push ecx
mov ecx, esp
lea eax, [esi + ebp*2]
mov dword [ecx], eax
lea ecx, [esp + 0x80]
call fcn.0047cfa4
pop ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00460850
lea ecx, [esp + 0x7c]
push 0
push 1
call fcn.004510f8
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.0045055e
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.004510f8
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.005026a3
add esp, 0x90
ret 8