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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x154
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
mov ecx, 0x10
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x40]
lea eax, [esp + 0x120]
mov dword [esp + 0x18], 0
call fcn.004040f0
xorps xmm0, xmm0
mov esi, eax
push 0x60
lea eax, [esp + 0x84]
mov ecx, 0x10
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
push 0
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm0
call fcn.00626100
push 0x40
lea ecx, [esp + 0xf0]
push 0
push ecx
call fcn.00626100
add esp, 0x18
test ebx, ebx
je 0x406d4a
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x406d4a
xor esi, esi
test eax, eax
mov dword [esp + 0x18], eax
jle 0x406d5b
movss xmm3, dword [esp + 0x7c]
movss xmm4, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x6c]
movss xmm2, dword [0x7389bc]
xor ecx, ecx
lea edx, [esp + 0xec]
jmp 0x406bd1
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + ecx + 8]
movss xmm6, dword [eax + ecx]
mulss xmm0, dword [esp + 0x60]
mulss xmm6, dword [esp + 0x40]
addss xmm0, xmm6
movss xmm6, dword [esp + 0x50]
mulss xmm6, dword [eax + ecx + 4]
movss xmm1, dword [eax + ecx + 0xc]
addss xmm0, xmm6
movss xmm6, dword [eax + ecx + 8]
addss xmm0, dword [esp + 0x70]
mulss xmm6, dword [esp + 0x64]
add eax, ecx
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [esp + 0x44]
addss xmm0, xmm6
movss xmm6, dword [esp + 0x54]
mulss xmm6, dword [eax + 4]
addss xmm0, xmm6
movss xmm6, dword [eax + 8]
addss xmm0, dword [esp + 0x74]
mulss xmm6, dword [esp + 0x68]
mov ebx, dword [esp + 0x20]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [esp + 0x48]
addss xmm0, xmm6
movss xmm6, dword [esp + 0x58]
mulss xmm6, dword [eax + 4]
addss xmm0, xmm6
movss xmm6, dword [eax + 8]
addss xmm0, dword [esp + 0x78]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [esp + 0x4c]
mulss xmm6, xmm5
addss xmm0, xmm6
lea edi, [esp + ecx + 0x80]
movaps xmm6, xmm4
mulss xmm6, dword [eax + 4]
mov dword [edi], ebx
mov ebx, dword [esp + 0x24]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
addss xmm0, xmm6
addss xmm0, xmm3
movss dword [esp + 0x2c], xmm0
mov ebx, dword [esp + 0x2c]
mov dword [edi + 0xc], ebx
movss dword [esp + ecx + 0x8c], xmm1
movss dword [eax + 0xc], xmm1
add eax, 0x10
movss dword [esp + ecx + 0x9c], xmm1
movaps xmm6, xmm1
mulss xmm6, dword [0x7389e8]
movaps xmm0, xmm2
divss xmm0, xmm6
movss dword [esp + ecx + 0x90], xmm0
movss dword [esp + ecx + 0x94], xmm0
movss dword [esp + ecx + 0x98], xmm0
mov ebx, dword [eax]
lea edi, [edx - 0xc]
mov dword [edi], ebx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov ebx, dword [eax + 8]
mov dword [edi + 8], ebx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x1c]
movss dword [esp + esi*4 + 0x30], xmm2
movss dword [edx], xmm2
inc esi
add ecx, 0x20
add edx, 0x10
cmp esi, eax
jl 0x406bce
jmp 0x406d5b
movss xmm0, dword [0x7389bc]
movss dword [esp + 0xec], xmm0
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 6
lea edx, [esp + 0x84]
push edx
push 0x54
push eax
call dword [ecx + 0x178]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x34]
push edx
push 0x50
push eax
call dword [ecx + 0x178]
mov eax, dword [0x80edd8]
movss xmm0, dword [0x77eb18]
push 4
lea edx, [esp + 0xe4]
push edx
push 0
movss dword [esp + 0x128], xmm0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1b4]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4