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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
sub ecx, 0
mov eax, dword [0x61c4b0]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
je 0x47d2da
dec ecx
jne 0x47d43a
add eax, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.0046bd48
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x47d2cc
mov byte [ebp - 4], 0xc8
mov byte [ebp - 3], 0xc8
mov byte [ebp - 2], 0xf0
call fcn.00565dbd
cdq
push 0x28
pop ecx
idiv ecx
add dl, 0x78
mov byte [ebp - 1], dl
call fcn.00565dbd
cdq
push 0x14
pop ecx
idiv ecx
mov esi, dword [ebp + 8]
sub edx, 0xa
mov dword [ebp - 0xc], edx
fild dword [ebp - 0xc]
fmul dword [0x58b4d8]
fadd dword [esi]
fstp dword [ebx]
call fcn.00565dbd
cdq
push 0xc
pop ecx
idiv ecx
sub edx, 6
mov dword [ebp - 0xc], edx
fild dword [ebp - 0xc]
fmul dword [0x58b4d8]
fadd dword [esi + 4]
fstp dword [ebx + 4]
call fcn.00565dbd
cdq
push 0x14
pop ecx
idiv ecx
sub edx, 0xa
mov dword [ebp - 0xc], edx
fild dword [ebp - 0xc]
fmul dword [0x58b4d8]
fadd dword [esi + 8]
fstp dword [ebx + 8]
call fcn.00565dbd
cdq
push 0x10
pop ecx
idiv ecx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub edx, 8
mov dword [ebp - 0xc], edx
fild dword [ebp - 0xc]
fmul dword [0x58b4d8]
fadd dword [0x58b454]
fld dword [ebp - 0x28]
fmul st(1)
fstp dword [ebx + 0xc]
fld dword [ebp - 0x24]
fmul st(1)
fstp dword [ebx + 0x10]
fld dword [ebp - 0x20]
fmul st(1)
fstp dword [ebx + 0x14]
fstp st(0)
call fcn.00565dbd
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
mov eax, dword [ebp - 4]
fmul dword [0x58b544]
fmul dword [0x58b540]
fadd dword [0x58b4ec]
fstp dword [ebx + 0x30]
mov dword [ebx + 0x24], eax
xor eax, eax
inc eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov word [ebx + 0x2e], ax
movzx eax, byte [ebp - 1]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov word [ebx + 0x28], 0x14
fild dword [ebp - 0xc]
mov word [ebx + 0x2a], 0x14
fstp dword [ebx + 0x38]
mov eax, dword [eax + 4]
mov dword [ebx + 0x3c], eax
dec dword [ebp - 0x10]
jne 0x47d199
jmp 0x47d43a
and dword [ebp - 0xc], 0
lea edi, [eax + 8]
movzx eax, word [edi]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.0046bd48
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x47d42d
fild dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
test eax, eax
mov byte [ebp - 8], 0xdc
fst dword [ebp - 0x18]
mov byte [ebp - 7], 0xdc
fmul dword [0x59095c]
mov byte [ebp - 6], 0xfa
mov byte [ebp - 5], 0xa0
mov dword [ebp - 0x10], 0x3cf5c28f
fstp dword [ebp - 4]
je 0x47d32d
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
fld dword [ebp - 4]
push ecx
push ecx
fstp qword [esp]
call fcn.00566074
mov ebx, dword [ebp + 8]
fmul dword [0x5911e0]
fadd dword [ebx]
fstp dword [esi]
mov eax, dword [ebx + 4]
fld dword [ebp - 4]
mov dword [esi + 4], eax
fstp qword [esp]
call fcn.00565e94
fmul dword [0x5911e0]
fadd dword [ebx + 8]
fstp dword [esi + 8]
call fcn.00565dbd
cdq
push 0x3c
pop ecx
idiv ecx
sub edx, 0x1e
mov dword [ebp - 0x1c], edx
fild dword [ebp - 0x1c]
fmul dword [0x58b4d8]
fadd dword [esi]
fstp dword [esi]
call fcn.00565dbd
cdq
push 0x3c
pop ecx
idiv ecx
sub edx, 0x1e
mov dword [ebp - 0x1c], edx
fild dword [ebp - 0x1c]
fmul dword [0x58b4d8]
fadd dword [esi + 4]
fstp dword [esi + 4]
call fcn.00565dbd
cdq
push 0x3c
pop ecx
idiv ecx
sub edx, 0x1e
mov dword [ebp - 0x1c], edx
fild dword [ebp - 0x1c]
fmul dword [0x58b4d8]
fadd dword [esi + 8]
fstp dword [esi + 8]
fld dword [ebp - 4]
fstp qword [esp]
call fcn.00566074
fmul dword [ebp - 0x10]
mov dword [esi + 0x10], 0x3df5c28f
fstp dword [esi + 0xc]
fld dword [ebp - 4]
fstp qword [esp]
call fcn.00565e94
mov eax, dword [ebp - 8]
fmul dword [ebp - 0x10]
mov dword [esi + 0x24], eax
xor eax, eax
fstp dword [esi + 0x14]
inc eax
fld dword [ebp - 0x18]
pop ecx
fmul dword [0x58d374]
pop ecx
mov dword [esi + 0x30], 0x3f19999a
mov word [esi + 0x28], 0x64
fstp dword [esi + 0x1c]
mov word [esi + 0x2a], 0x64
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
and word [esi + 0x2e], 0
mov eax, dword [ebx + 4]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], 0x43200000
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jl 0x47d2e1
pop edi
pop esi
pop ebx
leave
ret