Function at 0x100af2c0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c17b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100af319
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100af307
mov eax, dword [esi]
push 0
push eax
push 0
call edi
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x100af4d9
push 0x208
lea eax, [ebp - 0x260]
mov dword [ebp - 0x27c], 1
push 0
push eax
mov dword [ebp - 0x280], 0x104
call fcn.100e67c0
add esp, 0xc
mov dword [ebp - 0x58], 0x6f0053
lea eax, [ebp - 0x280]
mov dword [ebp - 0x54], 0x740066
mov dword [ebp - 0x50], 0x610077
mov dword [ebp - 0x4c], 0x650072
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x48], 0x33005c
push eax
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x44], 0x300036
push eax
push str.downloadpath
lea eax, [ebp - 0x58]
mov dword [ebp - 0x40], 0x610057
push eax
push SysReAllocString
mov dword [ebp - 0x3c], 0x6c006c
mov dword [ebp - 0x38], 0x610050
mov dword [ebp - 0x34], 0x650070
mov dword [ebp - 0x30], 0x72
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100af3c2
sub ecx, edx
sar ecx, 1
je 0x100af41a
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100af41a
cmp word [ebp - 0x25e], 0x3a
jne 0x100af41a
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100af3f7
sub ecx, edx
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000c9f0
jmp 0x100af4d9
lea eax, [ebp - 0x278]
push eax
call fcn.100af5b0
add esp, 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0x360033
lea edx, [ecx + 2]
mov dword [ebp - 0x28], 0x640030
mov dword [ebp - 0x24], 0x77006f
mov dword [ebp - 0x20], 0x6c006e
mov dword [ebp - 0x1c], 0x61006f
mov dword [ebp - 0x18], 0x730064
mov dword [ebp - 0x14], 0x5c
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100af467
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.10018a00
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push 0
cmovae eax, dword [ebp - 0x278]
push eax
push 0
call edi
lea eax, [ebp - 0x278]
cmp esi, eax
je 0x100af4c7
cmp dword [ebp - 0x264], 8
mov ecx, esi
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.1000c9f0
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0xffffffff
call fcn.1000c1c0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100af500
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x100af4ea
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x100af500
push 1
push 0x101310e0
mov ecx, esi
call fcn.10018a00
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x27c], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x280], eax
jb 0x100af52a
mov esi, dword [esi]
cmp eax, 8
jae 0x100af541
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x100af58b
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.10018830
mov ecx, dword [ebp - 0x27c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push eax
call fcn.100e5cc0
mov eax, dword [ebp - 0x27c]
add esp, 0xc
mov ecx, dword [ebp - 0x280]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
call sym.LSA.dll_bool___cdecl_Loop::SetDLPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x18
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret