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

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, edx
test edi, 0xff000000
je 0x10018b2d
mov eax, dword [0x100ae168]
mov eax, dword [eax + 0x1cec]
mov eax, dword [eax]
movss xmm3, dword [eax + 8]
movss xmm4, dword [eax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [eax + 0x10]
movaps xmm2, xmm4
movss dword [esp + 0x18], xmm3
addss xmm2, dword [eax + 0x14]
mov eax, dword [ecx + 0x30c]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x34], xmm4
mov esi, dword [eax + 0x270]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x14], xmm2
cmp dword [esi], 0
movss dword [esp + 0x3c], xmm2
jne 0x1001895f
mov eax, dword [esi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x50], eax
mov ecx, esi
mov eax, dword [esi + 0x74]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xc]
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x5c], xmm0
movups xmm0, xmmword [esi + 0x60]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x68], 0
movups xmmword [esp + 0x44], xmm0
call fcn.10028470
movss xmm1, dword [esp + 0x10]
movss xmm2, dword [esp + 0x14]
movss xmm3, dword [esp + 0x18]
movss xmm4, dword [esp + 0x28]
movss xmm0, dword [0x100a0e88]
lea eax, [esp + 0x28]
push 0
addss xmm1, xmm0
mov ecx, esi
addss xmm2, xmm0
mov ebp, esi
subss xmm3, xmm0
subss xmm4, xmm0
push eax
lea eax, [esp + 0x20]
movss dword [esp + 0x30], xmm1
push eax
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm4
call fcn.10030b90
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x40]
push edi
push eax
lea eax, [esp + 0x40]
mov ecx, esi
push eax
call fcn.10032d40
mov ebx, dword [esi]
mov edi, dword [esi + 8]
lea eax, [ebx + ebx*4]
movups xmm0, xmmword [edi + eax*8 - 0x28]
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [edi + eax*8 - 0x18]
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x78], xmm0
movq xmm0, qword [edi + eax*8 - 8]
lea eax, [ebx - 1]
movq qword [esp + 0x28], xmm0
movq qword [esp + 0x88], xmm0
mov dword [esi], eax
test eax, eax
jne 0x10018a15
lea eax, [esp + 0x68]
mov ecx, esi
push eax
call fcn.10028470
jmp 0x10018ab0
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x10018a75
test ecx, ecx
je 0x10018a2b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10018a30
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x10018a75
lea eax, [ebx + ebx*4]
shl eax, 3
push eax
call fcn.100562cb
mov edi, eax
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x10018a6f
mov ecx, dword [esi]
lea ecx, [ecx + ecx*4]
shl ecx, 3
push ecx
push eax
push edi
call fcn.1004f070
add esp, 0xc
push dword [esi + 8]
call fcn.100515e6
add esp, 4
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
mov eax, dword [esi]
test eax, eax
jle 0x10018a8f
lea eax, [eax + eax*4]
shl eax, 3
push eax
lea eax, [edi + 0x28]
push edi
push eax
call fcn.1004f070
add esp, 0xc
mov eax, dword [esi + 8]
movups xmm0, xmmword [esp + 0x30]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x18]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x28]
movq qword [eax + 0x20], xmm0
inc dword [esi]
mov eax, dword [esi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x50], eax
mov ecx, esi
mov eax, dword [esi + 0x74]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xc]
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x5c], xmm0
movups xmm0, xmmword [ebp + 0x60]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x68], 0
movups xmmword [esp + 0x44], xmm0
call fcn.10028470
mov ecx, dword [esi + 0x3c]
sub ecx, 1
mov dword [esi + 0x3c], ecx
jne 0x10018b0a
mov eax, dword [esi + 0x2c]
add eax, 0x18
jmp 0x10018b15
mov eax, dword [esi + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, esi
movups xmmword [ebp + 0x60], xmm0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
jmp fcn.100308f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret