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

Disassembly:
sub esp, 0x13c
mov eax, dword [0x100bd040]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [0x100c353c]
mov edx, 0x1009bdbe
push ebx
push ebp
push esi
mov eax, dword [eax + 0x3e28]
mov esi, ecx
push edi
push 2
pop edi
mov ecx, dword [eax + 0xec]
xor ebp, ebp
mov eax, dword [eax + 0xf0]
xor ebx, ebx
mov dword [esp + 0x14], ecx
inc ebx
movss xmm3, dword [esp + 0x14]
addss xmm3, dword [0x100b1c04]
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [0x100b1b74]
mov dword [esp + 0x18], eax
movss xmm2, dword [esp + 0x18]
addss xmm3, dword [0x100b1bb0]
addss xmm2, dword [0x100b1c04]
subss xmm0, dword [0x100b1bd4]
push 3
pop ecx
addss xmm3, dword [0x100b1b98]
addss xmm2, dword [0x100b1b98]
push 4
pop eax
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x20], xmm2
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0x200
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0x1009c548
mov dword [esp + 0x6c], 0x232
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], 0x1009c560
mov dword [esp + 0x7c], 0x238
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0x1009c518
mov dword [esp + 0x8c], 0x226
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0x1009c54c
mov dword [esp + 0x9c], 0x233
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0x253
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0x1009c508
mov dword [esp + 0xbc], 0x222
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], 0x1009c550
mov dword [esp + 0xcc], 0x234
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], 0x1009c514
mov dword [esp + 0xdc], 0x225
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0x1009c51c
mov dword [esp + 0xec], 0x227
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], 0x210
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], 0x1009c56c
subss xmm3, dword [esp + 0x14]
subss xmm2, dword [esp + 0x18]
mov dword [esp + 0x124], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10c], 0x23b
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], 0x1009c564
mov dword [esp + 0x11c], 0x239
mov dword [esp + 0x120], edi
mov dword [esp + 0x128], 0x1009c510
mov dword [esp + 0x12c], 0x224
mov dword [esp + 0x130], edi
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], 0x1009c55c
mov dword [esp + 0x13c], 0x237
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm2
call fcn.1004db95
mov eax, dword [0x100c353c]
mov eax, dword [eax + 0x46a4]
shr eax, 9
test bl, al
je 0x10016668
push ebx
lea eax, [esp + 0x20]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10039da1
push 0xf
lea edi, [esp + 0x5c]
pop ebx
movd xmm1, dword [edi - 4]
lea eax, [esp + 0x34]
movd xmm2, dword [edi - 8]
cvtdq2ps xmm1, xmm1
push ebp
push ecx
mov dword [esp], 0x40400000
mov ecx, esi
push 0xffcccccc
cvtdq2ps xmm2, xmm2
push eax
lea eax, [esp + 0x4c]
push eax
mulss xmm1, dword [0x100b1bd4]
movaps xmm0, xmm2
mulss xmm2, dword [0x100b1bd4]
mulss xmm0, dword [0x100b1b94]
addss xmm1, dword [esp + 0x58]
addss xmm2, dword [esp + 0x2c]
addss xmm1, xmm0
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x54], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x40], xmm1
addss xmm0, dword [0x100b1bd8]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100b1bd8]
movss dword [esp + 0x4c], xmm0
call fcn.1003c4a2
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x38]
push ebp
push ecx
mov dword [esp], 0x40400000
mov ecx, esi
push 0xff181818
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1003c3c8
movss xmm1, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
movss xmm0, dword [esp + 0x30]
addss xmm1, dword [0x100b1b74]
addss xmm0, dword [0x100b1b44]
push ecx
mov dword [esp], 0x40000000
push ebp
push ecx
mov dword [esp], 0x40000000
mov ecx, esi
movss dword [esp + 0x30], xmm1
addss xmm1, dword [0x100b1bc0]
movss dword [esp + 0x34], xmm0
addss xmm0, dword [0x100b1bc0]
push 0xffc1c1c1
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x30], xmm1
push eax
movss dword [esp + 0x38], xmm0
call fcn.1003c3c8
push ebp
push ecx
mov dword [esp], 0x40000000
lea eax, [esp + 0x24]
push 0xfffcfcfc
push eax
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.1003c4a2
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x100b1b88]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x100b1b70]
movss dword [esp + 0x4c], xmm0
push ecx
push dword [edi]
lea eax, [esp + 0x50]
mov ecx, esi
push 0xff404040
push eax
call fcn.1003c8f7
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.1000e01c
test al, al
je 0x10016655
push ebp
push ecx
mov dword [esp], 0x40400000
lea eax, [esp + 0x3c]
push 0x800000ff
push eax
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.1003c4a2
add edi, 0x10
sub ebx, 1
jne 0x100164a7
mov ecx, esi
call fcn.10039eac
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10069b82
add esp, 0x13c
ret