Function at 0x10069110
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009df12
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x4a4], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x3fe
push eax
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x88]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100691f0
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x98]
push eax
push 0
push str.Common_Desktop
push dword [esp + 0x9c]
mov dword [esp + 0xa4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x1006920d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x88], 0
xor eax, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
cmp word [esp + 0xac], ax
jne 0x1006923b
xor ecx, ecx
jmp 0x10069254
lea ecx, [esp + 0xac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10069245
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x9c]
call fcn.100089b0
xor eax, eax
mov dword [esp + 0x4c0], 0
push eax
push 0x100b2814
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.100089b0
xor eax, eax
mov byte [esp + 0x4c0], 1
push eax
push 0x100b2814
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.100089b0
xor eax, eax
mov byte [esp + 0x4c0], 2
push eax
push 0x100b2814
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.100089b0
push 0x100a21f4
lea edx, [esp + 0x98]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c4], 3
call fcn.10011cb0
push edi
mov edx, eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x4c8], 4
call fcn.100169d0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
push esi
mov byte [esp + 0x4dc], 5
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, 0x1c
cmp dword [esp + 0x84], 8
jb 0x10069361
push dword [esp + 0x70]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
jb 0x1006938e
push dword [esp + 0x58]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
jb 0x100693b5
push dword [esp + 0x28]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x24], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x100693dc
push dword [esp + 0x10]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x54], 8
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x10069403
push dword [esp + 0x40]
call esi
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x10069419
push dword [esp + 0x94]
call esi
add esp, 4
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret