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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4d065f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00494970
movzx eax, word [esi]
cmp eax, 0x4000
jg 0x47e5d8
je 0x47e52e
sub eax, 3
cmp eax, 5
ja case.0x47e2de.4
jmp dword [eax*4 + 0x47e614]
fild dword [esi + 4]
sub esp, 8
lea ecx, [esp + 0x54]
fstp qword [esp]
call fcn.00494980
jmp 0x47e5f0
fld qword [esi + 4]
sub esp, 8
lea ecx, [esp + 0x5c]
fstp qword [esp]
call fcn.00494980
jmp 0x47e5f0
lea ecx, [esi + 4]
call fcn.00496470
sub esp, 8
lea ecx, [esp + 0x64]
fstp qword [esp]
call fcn.00494980
jmp 0x47e5f0
add esi, 4
push esi
jmp 0x47e5f1
mov eax, dword [esi + 4]
xor ebx, ebx
add esi, 4
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
je 0x47e508
mov eax, dword [eax - 0xc]
shr eax, 1
or edi, 0xffffffff
cmp eax, 4
jl 0x47e399
push 4
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004743b0
mov ecx, eax
mov dword [esp + 0xc0], ebx
call fcn.00473680
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc0], edi
call fcn.004732d0
mov eax, dword [esi]
test eax, eax
je 0x47e505
mov eax, dword [eax - 0xc]
shr eax, 1
cmp eax, 6
jl 0x47e3e3
push 2
push 4
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.004741d0
mov ecx, eax
mov dword [esp + 0xc0], 1
call fcn.00473680
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc0], edi
call fcn.004732d0
mov eax, dword [esi]
test eax, eax
je 0x47e505
mov eax, dword [eax - 0xc]
shr eax, 1
cmp eax, 8
jl 0x47e42d
push 2
push 6
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.004741d0
mov ecx, eax
mov dword [esp + 0xc0], 2
call fcn.00473680
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc0], edi
call fcn.004732d0
mov eax, dword [esi]
test eax, eax
je 0x47e505
mov eax, dword [eax - 0xc]
shr eax, 1
cmp eax, 0xa
jl 0x47e477
push 2
push 8
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.004741d0
mov ecx, eax
mov dword [esp + 0xc0], 3
call fcn.00473680
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc0], edi
call fcn.004732d0
mov eax, dword [esi]
test eax, eax
je 0x47e505
mov eax, dword [eax - 0xc]
shr eax, 1
cmp eax, 0xc
jl 0x47e4c1
push 2
push 0xa
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004741d0
mov ecx, eax
mov dword [esp + 0xc0], 4
call fcn.00473680
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc0], edi
call fcn.004732d0
mov eax, dword [esi]
test eax, eax
je 0x47e505
mov eax, dword [eax - 0xc]
shr eax, 1
cmp eax, 0xe
jl 0x47e505
push 2
push 0xc
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.004741d0
mov ecx, eax
mov dword [esp + 0xc0], 5
call fcn.00473680
lea ecx, [esp + 0x48]
mov ebx, eax
mov dword [esp + 0xc0], edi
call fcn.004732d0
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004949e0
jmp case.0x47e2de.4
lea ecx, [esi + 4]
call fcn.00495d20
mov esi, eax
test esi, esi
je case.0x47e2de.4
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov edx, eax
test edx, edx
je case.0x47e2de.4
lea ecx, [esp + 0x74]
call fcn.0047d500
or edi, 0xffffffff
push edi
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc8], 6
call fcn.004748c0
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x74]
push eax
push 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov byte [esp + 0xcc], 7
call edx
test eax, eax
lea ecx, [esp + 0x30]
sete bl
mov byte [esp + 0xc0], 6
call fcn.004732d0
test bl, bl
je 0x47e5c3
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x78]
call fcn.0047e280
mov ecx, dword [ebp + 8]
push eax
call fcn.004949a0
lea ecx, [esp + 0x74]
mov dword [esp + 0xc0], edi
call fcn.0047d5b0
mov edi, dword [ebp + 8]
jmp case.0x47e2de.4
cmp eax, 0x8000
jne case.0x47e2de.4
mov ecx, dword [esi + 4]
test ecx, ecx
je case.0x47e2de.4
lea edx, [esp + 0x6c]
push edx
call fcn.0047e280
push eax
mov ecx, edi
call fcn.004949a0
mov eax, edi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4