Function at 0x41b1b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43ab04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41b265
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10], 5
call fcn.00415db0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x10], 4
call fcn.00415db0
lea ecx, [esp + 0x80]
mov byte [esp + 0x10], 3
call fcn.00415db0
lea ecx, [esp + 0x60]
mov byte [esp + 0x10], 2
call fcn.00415db0
lea ecx, [esp + 0x40]
mov byte [esp + 0x10], 1
call fcn.00415db0
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00415db0
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0x34]
mov edx, 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]
cmp ecx, ebx
jne 0x41b275
mov ecx, edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x41b27f
mov eax, edx
mov edx, dword [esp + 0x38]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x58]
mov edx, 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]
cmp ecx, ebx
jne 0x41b2a7
mov ecx, edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x41b2b1
mov eax, edx
mov edx, dword [esp + 0x5c]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x78]
mov edx, 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]
cmp ecx, ebx
jne 0x41b2d2
mov ecx, edx
mov eax, dword [esp + 0x68]
cmp eax, ebx
jne 0x41b2dc
mov eax, edx
mov edx, dword [esp + 0x7c]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x98]
mov edx, 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]
cmp ecx, ebx
jne 0x41b300
mov ecx, edx
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x41b30d
mov eax, edx
mov edx, dword [esp + 0x9c]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0xb8]
mov edx, 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]
cmp ecx, ebx
jne 0x41b334
mov ecx, edx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
jne 0x41b341
mov eax, edx
mov edx, dword [esp + 0xbc]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0xd8]
mov edx, 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]
cmp ecx, ebx
jne 0x41b368
mov ecx, edx
mov eax, dword [esp + 0xc8]
cmp eax, ebx
jne 0x41b375
mov eax, edx
mov edx, dword [esp + 0xdc]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x20]
pop esi
cmp eax, ebx
je 0x41b399
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 6
lea ecx, [esp + 0xc0]
mov dword [esp + 4], ecx
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x14], 0xb
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, [esp + 0xc4]
mov byte [esp + 0x14], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0xa0]
mov dword [esp + 4], edx
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x14], 0xc
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, [esp + 0xa4]
mov byte [esp + 0x14], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x14], 0xd
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 eax, dword [esp + 0x84]
cmp eax, ebx
je 0x41b44e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41b445
cmp al, 0xff
je 0x41b445
dec al
mov byte [ecx], al
jmp 0x41b44e
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 4], ecx
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x14], 0xe
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, [esp + 0x64]
mov byte [esp + 0x14], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x40]
mov dword [esp + 4], edx
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x14], 0xf
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 eax, dword [esp + 0x44]
cmp eax, ebx
je 0x41b4cb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x41b4c2
cmp al, 0xff
je 0x41b4c2
dec al
mov byte [ecx], al
jmp 0x41b4cb
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 0x10
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 [esp + 0x24]
cmp ecx, ebx
je 0x41b51f
mov al, byte [ecx - 1]
cmp al, bl
je 0x41b515
cmp al, 0xff
je 0x41b515
dec al
pop ebx
mov byte [ecx - 1], al
mov al, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 8]
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret