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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e2b3
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x3fe
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x438]
push 0
push eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x438], 0
call sym.iImportLib.dll_int___cdecl_elex::os::ISAFE_GetOSVersion_unsigned_long_int___unsigned_long_int__
add esp, 0x14
test eax, eax
je 0x1006a44a
mov eax, dword [ebp - 0x438]
and eax, 0xff00
cmp eax, 0x1500
je 0x1006a44a
cmp eax, 0x1600
je 0x1006a44a
cmp eax, 0x1700
jne 0x1006a44f
call sym.iImportLib.dll_bool___cdecl_elex::os::IsX64System_void_
lea eax, [ebp - 0x434]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006a4a3
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.Common_Programs
push dword [ebp - 0x434]
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x1006a4be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], 0
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
cmp word [ebp - 0x410], ax
jne 0x1006a4e8
xor ecx, ecx
jmp 0x1006a500
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006a4f1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.100089b0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 0
lea ecx, [ebp - 0x42c]
jne 0x1006a52c
push 5
push str.YAC_
jmp 0x1006a558
push 1
push 0x100a21f4
call fcn.10011f70
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10011780
push 1
push 0x100a21f4
lea ecx, [ebp - 0x42c]
call fcn.10011f70
push 0
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x42c]
push eax
call fcn.10008c80
call sym.iImportLib.dll_bool___cdecl_elex::filepath::deleteDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____bool_
add esp, 0x1c
cmp dword [ebp - 0x418], 8
jb 0x1006a5a6
push dword [ebp - 0x42c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
jb 0x1006a5d5
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret