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

Disassembly:
jmp 0x5fd1f0
sub esp, 0x140
mov eax, dword [0x7ce4f0]
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, 0x7f50ec
lea esi, [eax + ebx + 0x20]
call fcn.0040b15e
fld qword [0x67b6e8]
test eax, eax
je 0x5fd267
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 0x5fd2b7
push 0x1f
fstp st(0)
mov ecx, 0x7f50ec
call fcn.0040b15e
test eax, eax
je 0x5fd2d0
fld dword [esi + 0x30]
fld qword [0x67b6e8]
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, 0x7f50ec
call fcn.0040b15e
test eax, eax
je 0x5fd2eb
fld dword [esi + 0x28]
fadd qword [0x683930]
jmp 0x5fd304
push 0x12
mov ecx, 0x7f50ec
call fcn.0040b15e
test eax, eax
je 0x5fd307
fld dword [esi + 0x28]
fsub qword [0x683930]
fstp dword [esi + 0x28]
push 0x1e
mov ecx, 0x7f50ec
call fcn.0040b15e
test eax, eax
je 0x5fd3cc
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 [0x6719a0]
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 [0x67b6e8]
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 0x5fd48c
push 0x20
mov ecx, 0x7f50ec
call fcn.0040b15e
test eax, eax
je 0x5fd48c
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 [0x6719a0]
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 [0x67b6e8]
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 [0x67a4d8]
fld dword [esi + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x5fd4bc
fstp dword [esi + 0x28]
jmp 0x5fd4be
fstp st(0)
mov eax, dword [0x7e1d24]
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, 0x7e2ecc
fldz
fstp dword [esp]
push edx
push eax
call fcn.0040aecf
mov ecx, dword [0x7e2f50]
sub ecx, dword [ebx + 0x668]
cmp ecx, 0x12c
jb 0x5fd5a1
mov eax, dword [0x7e1d18]
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, 0x7f55f8
fldcw word [esp + 0x16]
mov word [esp + 0x2b], ax
mov word [esp + 0x2f], ax
call fcn.00407d74
mov eax, dword [0x7e2f50]
mov dword [ebx + 0x668], eax
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006376f4
add esp, 0x140
ret