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

Disassembly:
sub esp, 0x9c
xor eax, eax
mov ecx, 3
push ebp
mov ebp, dword [esp + 0xa4]
mov word [esp + 0x28], ax
mov word [esp + 0x2a], ax
mov word [esp + 0x2c], ax
mov word [esp + 0x2e], ax
mov word [esp + 0x30], ax
mov word [esp + 0x32], ax
mov word [esp + 0x34], ax
mov word [esp + 0x36], ax
mov word [esp + 0x38], ax
mov word [esp + 0x3a], ax
mov word [esp + 0x3c], ax
mov word [esp + 0x3e], ax
mov word [esp + 0x40], ax
mov word [esp + 0x42], ax
mov word [esp + 0x44], ax
mov word [esp + 0x48], ax
mov word [esp + 0x4a], ax
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], ax
mov word [esp + 0x50], ax
mov word [esp + 0x52], ax
mov word [esp + 0x54], ax
mov word [esp + 0x56], ax
mov word [esp + 0x58], ax
mov word [esp + 0x5c], ax
mov word [esp + 0x60], ax
mov word [esp + 0x62], ax
mov word [esp + 0x64], ax
mov word [esp + 0x66], ax
mov word [esp + 0x68], ax
mov word [esp + 0x6a], ax
mov word [esp + 0x6c], ax
mov word [esp + 0x6e], ax
mov word [esp + 0x70], ax
mov word [esp + 0x74], ax
mov word [esp + 0x78], ax
mov word [esp + 0x7c], ax
mov word [esp + 0x80], ax
mov word [esp + 0x82], ax
mov word [esp + 0x84], ax
mov word [esp + 0x86], ax
mov word [esp + 0x88], ax
mov word [esp + 0x8a], ax
mov word [esp + 0x8c], ax
mov word [esp + 0x90], ax
mov word [esp + 0x94], ax
mov word [esp + 0x98], ax
mov word [esp + 0x9c], ax
movzx eax, byte [esp + 0xa8]
push esi
mov word [esp + 0x62], cx
mov word [esp + 0x7a], cx
mov esi, 4
mov word [esp + 0x9a], cx
movzx ecx, byte [esp + 0xb0]
mov word [esp + 0x7e], si
mov word [esp + 0x9e], si
lea eax, [eax + eax*2]
push edi
mov edi, 2
mov edx, 5
lea esi, [ecx + eax*2]
mov dword [esp + 0x14], 0x453b8000
mov dword [esp + 0x18], 0x40490fdb
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xc016cbe4
mov dword [esp + 0x24], 0xbf490fdb
mov dword [esp + 0x28], 0x3f490fdb
mov dword [esp + 0x2c], 0x4016cbe4
mov word [esp + 0x4e], 1
mov word [esp + 0x62], di
mov word [esp + 0x7a], di
mov word [esp + 0x86], dx
mov word [esp + 0x96], 1
mov word [esp + 0x9a], di
mov word [esp + 0xa6], dx
shl esi, 2
movsx edx, word [esp + esi + 0x32]
push 0xc8
fld dword [esp + edx*4 + 0x1c]
fstp dword [esp + 0x10]
call fcn.0063c860
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
movsx eax, word [esp + esi + 0x34]
push edi
fadd dword [esp + eax*4 + 0x1c]
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x1c]
call fcn.0063c860
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
push 0x13a
dec esi
call fcn.0063c860
imul esi, eax
mov dword [esp + 0x1c], esi
add esp, 4
fild dword [esp + 0x18]
fmul qword [0x8cb910]
fadd dword [esp + 0x14]
fmul dword [0x8caf1c]
fst dword [esp + 0x14]
fstp qword [esp]
call fcn.0043ca30
fsubr dword [esp + 0x14]
add esp, 8
fcom dword [0x870774]
fnstsw ax
test ah, 0x41
jne 0x5517cb
fsub dword [0x87076c]
fmul dword [0x87380c]
fld st(0)
fcos
fst dword [esp + 0xc]
fmul dword [esp + 0x14]
fstp dword [esp + 0x18]
fld st(0)
fsin
fst dword [esp + 0x10]
fmul dword [esp + 0x14]
fstp dword [esp + 0x1c]
fmul dword [0x8cb90c]
fsubr dword [0x87b798]
call fcn.0043bd30
fld dword [esp + 0x14]
fsub dword [0x8cb908]
mov edi, ebp
fld dword [esp + 0xc]
mov word [esp + 0x20], ax
mov ecx, 6
fmul st(1)
lea esi, [esp + 0x18]
mov eax, ebp
fstp dword [esp + 0x24]
fmul dword [esp + 0x10]
fstp dword [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
add esp, 0x9c
ret