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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov eax, dword [0x101d9748]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x1ba4]
mov byte [edx + 0x8c], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1ba4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 4]
movzx eax, byte [edx + 0x8f]
test eax, eax
je 0x101160b2
xor al, al
jmp 0x101166b4
mov ecx, dword [0x101d9748]
mov dword [esp + 8], ecx
mov edx, dword [esp + 8]
add edx, 0x1518
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
mov edx, dword [eax + 0xd0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
push 1
movss xmm0, dword [0x101ca668]
xor edx, edx
mov ecx, dword [esp + 0x14]
call fcn.10091300
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x80], xmm0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x10116137
mov dword [esp + 0x1c], 0
jmp 0x1011613f
mov dword [esp + 0x1c], 8
mov eax, dword [esp + 0x1c]
or eax, 0x2400000
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
cmp dword [ecx + 0x1a0], 0
jne 0x10116269
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x4c], xmm0
mov edx, dword [esp + 0xc]
movss xmm0, dword [edx + 0x48]
mulss xmm0, dword [0x101ca28c]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
mov ecx, dword [esp + 4]
addss xmm0, dword [ecx + 0xcc]
mov edx, dword [esp + 4]
movss dword [edx + 0xcc], xmm0
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x48]
mulss xmm0, dword [0x101ca3e0]
movss dword [esp + 0x7c], xmm0
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x4c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0xf4], xmm0
lea edx, [esp + 0xf0]
mov ecx, 0xd
call fcn.10089a20
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0xf8], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xfc], xmm0
lea edx, [esp + 0xf8]
push edx
mov eax, dword [esp + 0x34]
push eax
xor dl, dl
mov ecx, dword [esp + 0x18]
call fcn.101126b0
mov byte [esp + 3], al
mov ecx, 1
call fcn.10089ad0
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + 0x48]
mulss xmm0, dword [0x101ca658]
cvttss2si edx, xmm0
cvtsi2ss xmm0, edx
mov eax, dword [esp + 4]
addss xmm0, dword [eax + 0xcc]
mov ecx, dword [esp + 4]
movss dword [ecx + 0xcc], xmm0
jmp 0x101166ac
cmp dword [esp + 0x14], 0
je 0x101162c4
push 0
movss xmm0, dword [0x101ca668]
xor edx, edx
mov ecx, dword [esp + 0x18]
call fcn.10091300
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x88], xmm0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], eax
movss xmm0, dword [esp + 0x100]
movss dword [esp + 0x20], xmm0
jmp 0x101162cd
xorps xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x34], xmm0
mov ecx, dword [esp + 4]
add ecx, 0x15c
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 8]
movss xmm0, dword [edx + 0x1940]
mulss xmm0, dword [0x101ca398]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [esp + 0x9c]
movss dword [esp], xmm0
mov ecx, dword [esp + 0x5c]
call fcn.101148b0
fstp dword [esp + 0x2c]
call fcn.1009deb0
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0x98], xmm0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
movss xmm0, dword [esp + 0x108]
subss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [esp + 0x24]
jb 0x1011638e
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
jmp 0x1011639a
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x110], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x114], xmm0
lea eax, [esp + 0x110]
push eax
mov ecx, dword [esp + 0x34]
or ecx, 0x800000
push ecx
xor dl, dl
mov ecx, dword [esp + 0x18]
call fcn.101126b0
mov byte [esp + 3], al
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [0x101ca16c]
jbe 0x101164f4
mov edx, 0x10
shl edx, 1
mov eax, dword [esp + 8]
lea edx, [eax + edx + 0x15dc]
xor ecx, ecx
call fcn.10089810
mov ecx, 4
shl ecx, 0
mov edx, dword [esp + 4]
movss xmm0, dword [edx + ecx + 0x168]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0xa0], xmm0
xorps xmm0, xmm0
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0xac], xmm0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
push 0
xor edx, edx
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0xbc]
movss xmm1, dword [esp + 0xc0]
call fcn.10089f40
mov ecx, 1
call fcn.100898d0
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x101166ac
mov edx, dword [esp + 8]
movss xmm0, dword [edx + 0x1940]
mulss xmm0, dword [0x101ca260]
mov eax, 4
shl eax, 1
mov ecx, dword [esp + 4]
movss xmm1, dword [ecx + eax + 0x168]
addss xmm1, dword [esp + 0x38]
addss xmm1, xmm0
movss dword [esp + 0x60], xmm1
mov edx, dword [esp + 8]
movss xmm0, dword [edx + 0x1940]
mulss xmm0, dword [0x101ca1dc]
mulss xmm0, dword [0x101ca28c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xcc], xmm0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 8]
movss xmm0, dword [ecx + 0x1940]
mulss xmm0, dword [0x101ca334]
movss dword [esp + 0x70], xmm0
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x10116624
mov dword [esp + 0x3c], 0
jmp 0x1011662c
mov dword [esp + 0x3c], 2
movss xmm0, dword [0x101ca378]
mov ecx, dword [esp + 0x3c]
call fcn.100895a0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x288]
mov dword [esp + 0x78], edx
movss xmm0, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
movss xmm1, dword [esp + 0xe8]
movss xmm2, dword [esp + 0xec]
call fcn.100e3160
xor eax, eax
jne 0x101166ac
mov al, byte [esp + 3]
mov esp, ebp
pop ebp
ret 8