Function at 0x1006a150
Capabilities:
Create directory
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e0c1
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
xor eax, eax
push 0x3fe
push eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x76]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006a221
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x58]
push eax
push 0
push str.Common_Programs
push dword [esp + 0x5c]
mov dword [esp + 0x64], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1006a238
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp word [esp + 0x6c], ax
jne 0x1006a25a
xor ecx, ecx
jmp 0x1006a270
lea ecx, [esp + 0x6c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006a261
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x5c]
call fcn.100089b0
mov dword [esp + 0x480], 0
cmp dword [esi + 0x14], 8
jb 0x1006a292
mov esi, dword [esi]
cmp word [esi], 0
jne 0x1006a29c
xor ecx, ecx
jmp 0x1006a2b0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006a2a1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x5c]
call fcn.10011f70
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
push eax
push 0x100b2814
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.100089b0
push ebx
lea edx, [esp + 0x58]
lea ecx, [esp + 0x34]
mov byte [esp + 0x484], 1
call fcn.10016d00
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x1c]
mov byte [esp + 0x48c], 2
push dword [esp + 0x1c]
push eax
push edi
call sym.iImportLib.dll_void___cdecl_elex::filepath::createLinkIcon_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 0x18
cmp dword [esp + 0x44], 8
jb 0x1006a343
push dword [esp + 0x30]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
jb 0x1006a36a
push dword [esp + 0x18]
call esi
add esp, 4
cmp dword [esp + 0x68], 8
jb 0x1006a37a
push dword [esp + 0x54]
call esi
add esp, 4
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret