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

Disassembly:
sub esp, 0x7c
push ebp
mov ebp, ecx
push esi
mov eax, dword [ebp + 0x98]
imul eax, dword [ebp + 0x9c]
shl eax, 2
push eax
call fcn.00508b18
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x20], esi
jne 0x47fd92
pop esi
pop ebp
add esp, 0x7c
ret 4
push edi
push 0
mov ecx, ebp
call fcn.0047f2f0
mov edi, eax
mov eax, dword [ebp + 0x9c]
test eax, eax
mov dword [esp + 0xc], 0
jle 0x480001
push ebx
mov eax, dword [ebp + 0x98]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], ebx
jle 0x47ffe5
fild dword [esp + 0x10]
fst dword [esp + 0x18]
fadd dword [0x5a83f4]
fstp dword [esp + 0x60]
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + 2]
mov dl, byte [edi + 1]
add ecx, edx
xor edx, edx
mov dl, byte [edi]
add ecx, edx
lea edx, [eax - 1]
mov dword [esp + 0x14], ecx
cmp ebx, edx
fild dword [esp + 0x14]
fmul dword [0x5a9000]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
jge 0x47fe31
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + 4]
mov dl, byte [edi + 6]
add ecx, edx
xor edx, edx
mov dl, byte [edi + 5]
add ecx, edx
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fmul dword [0x5a9000]
jmp 0x47fe35
fld dword [esp + 0x14]
mov ecx, dword [ebp + 0x9c]
mov edx, dword [esp + 0x10]
dec ecx
cmp edx, ecx
jge 0x47fe69
xor edx, edx
xor ecx, ecx
mov dl, byte [edi + eax*4 + 2]
mov cl, byte [edi + eax*4 + 1]
add edx, ecx
xor ecx, ecx
mov cl, byte [edi + eax*4]
add edx, ecx
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fmul dword [0x5a9000]
jmp 0x47fe6d
fld dword [esp + 0x14]
fild dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, edx
mov dword [esp + 0x3c], edx
fst dword [esp + 0x38]
fld dword [0x5a83f4]
fadd st(1)
fxch st(1)
fstp dword [esp + 0x5c]
mov dword [esp + 0x84], eax
fsub dword [esp + 0x38]
fstp dword [esp + 0x2c]
fld dword [esp + 0x84]
fsub dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fsub dword [esp + 0x1c]
mov dword [esp + 0x78], edx
fstp dword [esp + 0x34]
fld dword [esp + 0x5c]
fsub dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
fstp dword [esp + 0x44]
fld dword [esp + 0x60]
fsub dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x68]
push ecx
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fsub dword [esp + 0x20]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x78]
push edx
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x58]
push eax
call fcn.0047edc0
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.0047ec40
fld dword [esp + 0x50]
fmul dword [0x5a8fb8]
fadd dword [0x5a8fb4]
call fcn.00509960
test eax, eax
jge 0x47ff40
xor eax, eax
jmp 0x47ff4c
cmp eax, 0xff
jle 0x47ff4c
mov eax, 0xff
fld dword [esp + 0x54]
fmul dword [0x5a8fb8]
mov byte [esi], al
fadd dword [0x5a8fb4]
call fcn.00509960
test eax, eax
jge 0x47ff6b
xor eax, eax
jmp 0x47ff77
cmp eax, 0xff
jle 0x47ff77
mov eax, 0xff
fld dword [esp + 0x58]
fmul dword [0x5a8fb8]
mov byte [esi + 1], al
fadd dword [0x5a8fb4]
call fcn.00509960
test eax, eax
jge 0x47ff97
xor eax, eax
jmp 0x47ffa3
cmp eax, 0xff
jle 0x47ffa3
mov eax, 0xff
fld dword [esp + 0x1c]
fmul dword [0x5a840c]
mov byte [esi + 2], al
call fcn.00509960
test eax, eax
jge 0x47ffbd
xor eax, eax
jmp 0x47ffc9
cmp eax, 0xff
jle 0x47ffc9
mov eax, 0xff
mov byte [esi + 3], al
mov eax, dword [ebp + 0x98]
add edi, 4
add esi, 4
inc ebx
cmp ebx, eax
mov dword [esp + 0x20], ebx
jl 0x47fddb
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x47fdb5
mov esi, dword [esp + 0x28]
pop ebx
mov ecx, dword [ebp + 0x9c]
mov edx, dword [ebp + 0x98]
push esi
push 0x1400
push 0x1908
push 1
push ecx
push edx
push 0
push 0
push 0
call fcn.0052d860
push esi
call fcn.00507830
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x7c
ret 4