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

Disassembly:
sub esp, 0x140
mov eax, dword [0x6dc0d0]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x5a0]
imul eax, eax, 0xb0
push esi
push edi
push 0x11
mov ecx, 0x6fc274
lea esi, [eax + ebx + 0x20]
call fcn.00529a10
fld qword [0x5c1e78]
test eax, eax
je 0x55f337
fld dword [esi + 0x30]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esi + 0x34]
fmul st(1)
fstp dword [esp + 0x3c]
fmul dword [esi + 0x38]
fstp dword [esp + 0x40]
fld dword [esi + 0x24]
fadd dword [esp + 0x38]
fstp dword [esp + 0x2c]
fld dword [esi + 0x28]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x30]
fld dword [esi + 0x2c]
fadd dword [esp + 0x40]
jmp 0x55f387
push 0x1f
fstp st(0)
mov ecx, 0x6fc274
call fcn.00529a10
test eax, eax
je 0x55f3a0
fld dword [esi + 0x30]
fld qword [0x5c1e78]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esi + 0x34]
fmul st(1)
fstp dword [esp + 0x3c]
fmul dword [esi + 0x38]
fstp dword [esp + 0x40]
fld dword [esi + 0x24]
fsub dword [esp + 0x38]
fstp dword [esp + 0x2c]
fld dword [esi + 0x28]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x30]
fld dword [esi + 0x2c]
fsub dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
push 0x10
mov ecx, 0x6fc274
call fcn.00529a10
test eax, eax
je 0x55f3bb
fld dword [esi + 0x28]
fadd qword [0x5c8a18]
jmp 0x55f3d4
push 0x12
mov ecx, 0x6fc274
call fcn.00529a10
test eax, eax
je 0x55f3d7
fld dword [esi + 0x28]
fsub qword [0x5c8a18]
fstp dword [esi + 0x28]
push 0x1e
mov ecx, 0x6fc274
call fcn.00529a10
test eax, eax
je 0x55f49c
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x30], edx
fld dword [esp + 0x30]
fadd qword [0x5b9950]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], edx
fstp dword [esp + 0x30]
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x6c], eax
call dword [sym.imp.SS3DGFunc.dll__Normalize_8]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SS3DGFunc.dll__CrossProduct_12]
fld dword [esp + 0x44]
fld qword [0x5c1e78]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x3c]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x40]
fld dword [esi + 0x24]
fsub dword [esp + 0x38]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esi + 0x28]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fld dword [esi + 0x2c]
mov dword [esi + 0x24], eax
fsub dword [esp + 0x40]
mov dword [esi + 0x28], ecx
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x2c], edx
jmp 0x55f55c
push 0x20
mov ecx, 0x6fc274
call fcn.00529a10
test eax, eax
je 0x55f55c
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x3c]
fadd qword [0x5b9950]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x3c]
push eax
mov ecx, eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], edx
call dword [sym.imp.SS3DGFunc.dll__Normalize_8]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.SS3DGFunc.dll__CrossProduct_12]
fld dword [esp + 0x50]
fld qword [0x5c1e78]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0x3c]
fmul dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [esi + 0x24]
fadd dword [esp + 0x38]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fld dword [esi + 0x28]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fld dword [esi + 0x2c]
mov dword [esi + 0x24], edx
fadd dword [esp + 0x40]
mov dword [esi + 0x28], eax
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
lea eax, [esp + 0x74]
push eax
call edx
fld dword [esp + 0x78]
fadd qword [0x5c0fc8]
fld dword [esi + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x55f58c
fstp dword [esi + 0x28]
jmp 0x55f58e
fstp st(0)
mov eax, dword [0x6ec21c]
xor ecx, ecx
mov dword [esp + 0x142], ecx
fld dword [esi + 0x24]
fstp dword [esp + 0x80]
push ecx
fld dword [esi + 0x2c]
lea edx, [esp + 0x84]
fstp dword [esp + 0x8c]
mov ecx, 0x6ed0d4
fldz
fstp dword [esp]
push edx
push eax
call fcn.004c7320
mov ecx, dword [0x6ed144]
sub ecx, dword [ebx + 0x668]
cmp ecx, 0x12c
jb 0x55f671
mov eax, dword [0x6ec210]
fld dword [esi + 0x24]
fnstcw word [esp + 0xe]
mov dword [esp + 0x17], eax
mov dword [esp + 0x1d], eax
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x10], eax
push 0x15
lea edx, [esp + 0x18]
fldcw word [esp + 0x14]
push edx
mov word [esp + 0x1d], 0xd07
fistp dword [esp + 0x18]
mov cx, word [esp + 0x18]
mov word [esp + 0x29], cx
fldcw word [esp + 0x16]
fld dword [esi + 0x2c]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov ax, word [esp + 0x18]
mov word [esp + 0x2d], cx
mov ecx, 0x6fc6a8
fldcw word [esp + 0x16]
mov word [esp + 0x2b], ax
mov word [esp + 0x2f], ax
call fcn.0052ab00
mov eax, dword [0x6ed144]
mov dword [ebx + 0x668], eax
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00589034
add esp, 0x140
ret