Function at 0x1001ac10
Capabilities:
Create directory
Encode data using xor
Query environment variable

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 0x10101447
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x12c
mov eax, dword [0x1017d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x124], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], 0
cmp byte [0x1016d5cf], 0
mov eax, dword [str.uefsym_]
mov edx, dword [0x1016d5cc]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], edx
je 0x1001adb1
xor ecx, ecx
cmp dword [0x101ad6e0], 2
jl 0x1001ad81
movaps xmm2, xmmword [0x10173610]
movaps xmm4, xmmword [0x10173e30]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10173690]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x10173750]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x10173820]
xorps xmm2, xmm0
movd dword [ebp - 0x128], xmm2
movaps xmm2, xmmword [0x10173620]
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10173690]
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmmword [0x10173750]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x10173820]
xorps xmm2, xmm0
movd dword [ebp - 0x124], xmm2
jmp 0x1001adb1
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, al
shl dl, 3
sub dl, al
mov al, cl
shl dl, 3
sub al, dl
add al, 0x34
xor byte [ebp + ecx - 0x128], al
inc ecx
cmp ecx, 8
jl 0x1001ad81
push 0x104
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
lea ecx, [ebp - 0x120]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ade7
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, esi
call fcn.1000a670
mov dword [ebp - 4], 0
xor ecx, ecx
movq xmm0, qword [0x1016d8f4]
mov al, byte [0x1016d8fc]
mov dword [ebp - 0x138], 1
movq qword [ebp - 0x134], xmm0
mov byte [ebp - 0x12c], al
mov dword [ebp - 0x124], ecx
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 0x124]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x124]
add al, 0x34
xor byte [ebp + ecx - 0x134], al
inc ecx
mov dword [ebp - 0x124], ecx
cmp ecx, 9
jl 0x1001ae33
lea eax, [ebp - 0x134]
mov ecx, esi
push eax
call fcn.100088f0
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1001ae8a
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100fe801
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret