Function at 0x10092d70
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013be2b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], eax
call fcn.10096520
lea edx, [esp + 0x18]
push edx
xor esi, esi
mov dword [esp + 0x45c], esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
call ebx
cmp eax, esi
je 0x10092dfa
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10092e58
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [esp + 0x228]
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [esp + 0x14]
push eax
call fcn.10098370
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov byte [esp + 0x224], al
call edi
lea edx, [esp + 0x18]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
cmp eax, esi
je 0x10092fcb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call ebx
test eax, eax
je 0x10092e7d
push eax
call esi
jmp 0x10092f45
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [esp + 0x228]
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [esp + 0x14]
push ecx
call fcn.10098370
mov edx, dword [esp + 0x18]
push edx
mov byte [esp + 0x224], al
call edi
lea eax, [esp + 0x18]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x10092ec9
push eax
call esi
jmp 0x10092f45
mov ecx, 0x80
lea esi, [esp + 0x20]
lea edi, [esp + 0x244]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x244]
push ecx
push str.RunOnce
lea ecx, [esp + 0x1c]
call fcn.100967d0
cmp byte [esp + 0x220], 0
je 0x10092f18
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
je 0x10092f18
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10092f39
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x10092fa9
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [esp + 0x228]
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [esp + 0x14]
push ecx
call fcn.10098370
mov edx, dword [esp + 0x18]
push edx
mov byte [esp + 0x224], al
call edi
lea eax, [esp + 0x18]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x10092fd1
push eax
call esi
lea ecx, [esp + 0x224]
mov dword [esp + 0x458], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x100930a8
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esp + 0x10]
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10092fe0
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push 0x10154d64
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10093052
push eax
call esi
cmp byte [esp + 0x220], 0
je 0x10093033
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
je 0x10093033
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [esp + 0x18]
push edx
call edi
test eax, eax
je 0x10092fac
jmp 0x10092fa9
cmp byte [esp + 0x220], 0
je 0x10093075
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
je 0x10093075
push eax
call esi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp + 0x18]
push eax
call edi
test eax, eax
je 0x1009308e
push eax
call esi
lea ecx, [esp + 0x224]
mov dword [esp + 0x458], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret 4