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

Disassembly:
sub esp, 0x140
mov eax, dword [0x6a1068]
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, 0x6c11d4
lea esi, [eax + ebx + 0x20]
call fcn.005131d0
fld qword [0x589dc8]
test eax, eax
je 0x53fd57
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 0x53fda7
push 0x1f
fstp st(0)
mov ecx, 0x6c11d4
call fcn.005131d0
test eax, eax
je 0x53fdc0
fld dword [esi + 0x30]
fld qword [0x589dc8]
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, 0x6c11d4
call fcn.005131d0
test eax, eax
je 0x53fddb
fld dword [esi + 0x28]
fadd qword [0x5909c0]
jmp 0x53fdf4
push 0x12
mov ecx, 0x6c11d4
call fcn.005131d0
test eax, eax
je 0x53fdf7
fld dword [esi + 0x28]
fsub qword [0x5909c0]
fstp dword [esi + 0x28]
push 0x1e
mov ecx, 0x6c11d4
call fcn.005131d0
test eax, eax
je 0x53febc
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 [0x583610]
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 [0x589dc8]
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 0x53ff7c
push 0x20
mov ecx, 0x6c11d4
call fcn.005131d0
test eax, eax
je 0x53ff7c
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 [0x583610]
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 [0x589dc8]
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 [0x588f68]
fld dword [esi + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x53ffac
fstp dword [esi + 0x28]
jmp 0x53ffae
fstp st(0)
mov eax, dword [0x6b117c]
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, 0x6b2034
fldz
fstp dword [esp]
push edx
push eax
call fcn.004b70f0
mov ecx, dword [0x6b20a4]
sub ecx, dword [ebx + 0x668]
cmp ecx, 0x12c
jb 0x540091
mov eax, dword [0x6b1170]
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, 0x6c1608
fldcw word [esp + 0x16]
mov word [esp + 0x2b], ax
mov word [esp + 0x2f], ax
call fcn.00514150
mov eax, dword [0x6b20a4]
mov dword [ebx + 0x668], eax
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00565862
add esp, 0x140
ret