Function at 0x10022700
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1ae0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x100f3900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
cmp eax, dword [ecx]
jne 0x1002277c
push 0x40
push 0
push edi
call fcn.10077570
add esp, 0xc
jmp 0x1002278e
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movups xmmword [edi + 0x20], xmm0
movups xmmword [edi + 0x30], xmm0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10021590
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.10021590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x24]
push 3
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x28]
push 1
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
call fcn.100404d0
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x78], xmm0
mov ecx, esi
mov dword [ebp - 4], 6
call fcn.10021590
push 1
push 3
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.100404d0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0
mov ecx, esi
mov dword [ebp - 4], 7
call fcn.10021590
movups xmm0, xmmword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 4], 8
movups xmm0, xmmword [ebp - 0x98]
psrldq xmm0, 8
movd ecx, xmm0
call fcn.10021590
mov dword [ebp - 4], 0xb
movups xmm0, xmmword [ebp - 0x80]
psrldq xmm0, 8
movd ecx, xmm0
call fcn.10021590
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x98]
mov esi, dword [ebp - 0x28]
push 3
movss xmm1, dword [ecx + 4]
movss xmm0, dword [eax + 0x18]
mulss xmm0, dword [ecx + 8]
push 1
mulss xmm1, dword [eax + 0xc]
addss xmm1, xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [ecx]
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x44]
addss xmm0, xmm1
movss dword [ebp - 0x64], xmm0
call fcn.100404d0
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x38], 1
movups xmm0, xmmword [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x90], xmm0
mov ecx, esi
mov dword [ebp - 4], 0xe
call fcn.10021590
push 1
push 3
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.100404d0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0
mov ecx, esi
mov dword [ebp - 4], 0xf
call fcn.10021590
movups xmm0, xmmword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 4], 0x10
movups xmm0, xmmword [ebp - 0x80]
psrldq xmm0, 8
movd ecx, xmm0
call fcn.10021590
mov dword [ebp - 4], 0x13
movups xmm0, xmmword [ebp - 0x98]
psrldq xmm0, 8
movd ecx, xmm0
call fcn.10021590
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x28]
push 3
movss xmm1, dword [ecx + 4]
movss xmm0, dword [eax + 0x18]
mulss xmm0, dword [ecx + 8]
push 1
mulss xmm1, dword [eax + 0xc]
addss xmm1, xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [ecx]
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x44]
addss xmm0, xmm1
movss dword [ebp - 0x68], xmm0
call fcn.100404d0
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x38], 2
movups xmm0, xmmword [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x78], xmm0
mov ecx, esi
mov dword [ebp - 4], 0x16
call fcn.10021590
push 1
push 3
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.100404d0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0
mov ecx, esi
mov dword [ebp - 4], 0x17
call fcn.10021590
movups xmm0, xmmword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0xac], xmm0
mov dword [ebp - 4], 0x18
movups xmm0, xmmword [ebp - 0x98]
psrldq xmm0, 8
movd ecx, xmm0
call fcn.10021590
mov dword [ebp - 4], 0x1b
movups xmm0, xmmword [ebp - 0x80]
psrldq xmm0, 8
movd ecx, xmm0
call fcn.10021590
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x80]
movss xmm0, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x18]
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax + 8]
addss xmm1, xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [ecx]
lea ecx, [ebp - 0x28]
addss xmm1, xmm0
movss dword [ebp - 0x6c], xmm1
call fcn.100169f0
movss xmm0, dword [ebp - 0x64]
mov eax, edi
movss dword [edi + 0x30], xmm0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 0x34], xmm0
movss xmm0, dword [ebp - 0x6c]
movss dword [edi + 0x38], xmm0
mov dword [edi + 0xc], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x3c], 0x3f800000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10075417
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret