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

Disassembly:
sub esp, 0x140
mov eax, dword [0x6d74f0]
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, 0x6d45c4
lea esi, [eax + ebx + 0x20]
call fcn.00534110
fld qword [0x5b6d90]
test eax, eax
je 0x567967
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 0x5679b7
push 0x1f
fstp st(0)
mov ecx, 0x6d45c4
call fcn.00534110
test eax, eax
je 0x5679d0
fld dword [esi + 0x30]
fld qword [0x5b6d90]
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, 0x6d45c4
call fcn.00534110
test eax, eax
je 0x5679eb
fld dword [esi + 0x28]
fadd qword [0x5bd8e8]
jmp 0x567a04
push 0x12
mov ecx, 0x6d45c4
call fcn.00534110
test eax, eax
je 0x567a07
fld dword [esi + 0x28]
fsub qword [0x5bd8e8]
fstp dword [esi + 0x28]
push 0x1e
mov ecx, 0x6d45c4
call fcn.00534110
test eax, eax
je 0x567acc
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 [0x5b0658]
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 [0x5b6d90]
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 0x567b8c
push 0x20
mov ecx, 0x6d45c4
call fcn.00534110
test eax, eax
je 0x567b8c
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 [0x5b0658]
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 [0x5b6d90]
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 [0x5b5ef8]
fld dword [esi + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x567bbc
fstp dword [esi + 0x28]
jmp 0x567bbe
fstp st(0)
mov eax, dword [0x6e6ccc]
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, 0x6ca47c
fldz
fstp dword [esp]
push edx
push eax
call fcn.004cb4f0
mov ecx, dword [0x6e7b88]
sub ecx, dword [ebx + 0x668]
cmp ecx, 0x12c
jb 0x567ca1
mov eax, dword [0x6e6cc0]
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, 0x6d4a00
fldcw word [esp + 0x16]
mov word [esp + 0x2b], ax
mov word [esp + 0x2f], ax
call fcn.005351c0
mov eax, dword [0x6e7b88]
mov dword [ebx + 0x668], eax
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059146f
add esp, 0x140
ret