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

Disassembly:
sub esp, 0x74
mov ecx, dword [esp + 0x7c]
push esi
push edi
xor edi, edi
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x80]
shl eax, 3
mov edx, dword [ecx + 0x10]
mov esi, eax
add esi, edx
mov dword [esp + 8], eax
mov cl, byte [esi + 2]
test cl, cl
jbe 0x47ebe4
push ebx
push ebp
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x88]
movsx eax, word [edx + edi*2]
mov edx, dword [ecx + 0x18]
lea ecx, [esp + 0x14]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
push eax
push ecx
call fcn.004e34c0
lea ebp, [edi + 1]
mov bl, al
mov eax, ebp
xor ecx, ecx
mov cl, byte [esi + 2]
cdq
idiv ecx
mov eax, dword [esi + 4]
movsx eax, word [eax + edx*2]
mov edx, dword [esp + 0x90]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x18]
lea edx, [esp + 0x54]
lea ecx, [eax + ecx*4]
push ecx
push edx
call fcn.004e34c0
add esp, 0x10
test bl, al
jne 0x47eabc
mov eax, dword [esp + 0x90]
cmp edi, eax
mov eax, dword [esp + 0x9c]
je 0x47eaa9
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.004e25e0
add esp, 0xc
cmp edi, dword [esp + 0x94]
jne 0x47ebcf
test bl, bl
jne 0x47ebcf
lea eax, [esp + 0x14]
push eax
call fcn.004e35b0
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00484bf0
fld dword [esp + 0x20]
fsub qword [0x5220a0]
call fcn.004b6898
fld dword [esp + 0x1c]
push eax
call fcn.004b6898
fld dword [esp + 0x24]
push eax
call fcn.004b6898
fld dword [esp + 0x24]
fsub qword [0x5220a0]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
fld dword [esp + 0x30]
call fcn.004b6898
fld dword [esp + 0x2c]
fadd qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x34]
fsub qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x34]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
fld dword [esp + 0x40]
fadd qword [0x5220a0]
call fcn.004b6898
fld dword [esp + 0x3c]
push eax
call fcn.004b6898
fld dword [esp + 0x44]
push eax
call fcn.004b6898
fld dword [esp + 0x44]
fadd qword [0x5220a0]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
fld dword [esp + 0x50]
call fcn.004b6898
fld dword [esp + 0x4c]
fsub qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x54]
fadd qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x54]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
add esp, 0x48
xor edx, edx
mov edi, ebp
mov dl, byte [esi + 2]
cmp edi, edx
jl 0x47ea36
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
mov cl, byte [0xf5b533]
pop edi
test cl, cl
pop esi
je 0x47ed32
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x10]
lea ecx, [eax + edx]
mov al, byte [eax + edx]
test al, 1
je 0x47ed32
xor eax, eax
mov byte [esp + 0xd], 0
mov ax, word [ecx + 0x1a]
mov ecx, dword [0x8856c4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8 + 4]
lea eax, [esp + 4]
push edx
push eax
call fcn.004e34c0
add esp, 8
test al, al
jne 0x47ed32
lea ecx, [esp + 4]
push ecx
call fcn.004e35b0
push 0xff0000
call fcn.00484bf0
fld dword [esp + 0x10]
fsub qword [0x5220a0]
call fcn.004b6898
fld dword [esp + 0xc]
push eax
call fcn.004b6898
fld dword [esp + 0x14]
push eax
call fcn.004b6898
fld dword [esp + 0x14]
fsub qword [0x5220a0]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
fld dword [esp + 0x20]
call fcn.004b6898
fld dword [esp + 0x1c]
fadd qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x24]
fsub qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x24]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
fld dword [esp + 0x30]
fadd qword [0x5220a0]
call fcn.004b6898
fld dword [esp + 0x2c]
push eax
call fcn.004b6898
fld dword [esp + 0x34]
push eax
call fcn.004b6898
fld dword [esp + 0x34]
fadd qword [0x5220a0]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
fld dword [esp + 0x40]
call fcn.004b6898
fld dword [esp + 0x3c]
fsub qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x44]
fadd qword [0x5220a0]
push eax
call fcn.004b6898
fld dword [esp + 0x44]
push eax
call fcn.004b6898
push eax
call fcn.00484b70
add esp, 0x48
add esp, 0x74
ret