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

Disassembly:
push 0xffffffffffffffff
push 0x532883
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 0x47eb0e
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x47eb0e
mov eax, dword [esi + 0x44]
cmp eax, 0x20
jne 0x47eaa6
add edx, 0xfffffff9
push edx
mov edx, dword [esi + 0x48]
add edx, 4
push edx
mov ecx, esi
push edi
call fcn.004607b3
jmp 0x47ece9
cmp eax, 0x10
jne 0x47eab8
lea eax, [edx - 4]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x47ea99
cmp eax, 8
jne 0x47eac9
lea eax, [edx - 0xc]
push eax
mov eax, dword [esi + 0x48]
add eax, 9
jmp 0x47eab5
cmp eax, 2
jne 0x47eaf2
cmp dword [esi + 0x14], 8
jb 0x47ead8
mov ebx, dword [esi]
jmp 0x47eada
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.0047cf71
pop ecx
jmp 0x47ece9
mov ecx, esi
cmp eax, 0x80
jne 0x47eb08
lea eax, [edx - 3]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x47ea9b
push edx
push dword [esi + 0x48]
jmp 0x47ea9b
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 0x47ecd0
mov eax, dword [ebx + edx + 8]
and eax, 0x2fffff
cmp eax, dword [ebx + edx + 4]
je 0x47ecd0
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 0x47eb86
mov eax, dword [esi]
jmp 0x47eb88
mov eax, esi
lea ebx, [eax + ebp*2]
push 0x3c
push ebx
call fcn.0050735a
mov edx, dword [esp + 0x20]
pop ecx
pop ecx
test eax, eax
je 0x47ec9c
sub eax, ebx
sar eax, 1
cmp eax, edx
jge 0x47ec9c
cmp dword [esi + 0x14], 8
jb 0x47ebb7
mov ecx, dword [esi]
jmp 0x47ebb9
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 0x47ec96
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.0047e073
cmp dword [esp + 0x3c], 2
jne 0x47ec38
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.0047cf71
pop ecx
mov byte [esp + 0xa0], 2
jmp 0x47ec66
cmp dword [esp + 0x3c], 8
jne 0x47ec8c
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.004607b3
mov byte [esp + 0xa0], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.00453e60
push 0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xa8], 1
call fcn.004510af
cmp dword [esp + 0x24], ebx
jl 0x47ebf9
lea ecx, [esp + 0x4c]
jmp 0x47ecc7
cmp dword [esi + 0x14], 8
jb 0x47eca4
mov esi, dword [esi]
push ecx
mov ecx, esp
lea eax, [esi + ebp*2]
mov dword [ecx], eax
lea ecx, [esp + 0x80]
call fcn.0047cf71
pop ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00460790
lea ecx, [esp + 0x7c]
push 0
push 1
call fcn.004510af
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.00450515
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.004510af
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.00502673
add esp, 0x90
ret 8