Function at 0x10002ab5
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10007fe9
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x588
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
mov esi, str.SoftwareXcSystems
push eax
mov edi, connect
xor ebx, ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10002b07
lea eax, [ebp - 0x20]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push edi
call esi
lea eax, [ebp - 0x20]
push eax
push str.SoftwareXcSystemsWindows
push edi
call esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x64
lea eax, [ebp - 0xc4]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x64
lea eax, [ebp - 0x1ac]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov al, byte [ebp - 0x15]
add esp, 0x18
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, 0x1000cd1c
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov al, byte [ebp - 0x15]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov byte [ebp - 0x44], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 2
call fcn.1000358d
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 3
push dword [ecx]
lea ecx, [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x60]
push eax
call fcn.10003045
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 4
push dword [ecx]
lea ecx, [ebp - 0x34]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor esi, esi
cmp dword [ebp - 0x3c], esi
jbe 0x10002c13
cmp dword [ebp - 0x40], ebx
je 0x10002c02
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [ebp - 0x40]
add eax, esi
jmp 0x10002c07
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov al, byte [eax]
mov byte [ebp + esi - 0xc4], al
inc esi
jmp 0x10002be8
xor esi, esi
cmp dword [ebp - 0x2c], esi
jbe 0x10002c40
cmp dword [ebp - 0x30], ebx
je 0x10002c2f
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [ebp - 0x30]
add eax, esi
jmp 0x10002c34
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov al, byte [eax]
mov byte [ebp + esi - 0x1ac], al
inc esi
jmp 0x10002c15
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push ebx
push str.SoftwareXcSystemsWindows
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10002c95
lea eax, [ebp - 0x1ac]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x64
push eax
push 1
push ebx
push str.WVension
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0xc4]
push 0x64
push eax
push 1
push ebx
push str.SysDirectory
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret