Function at 0x43f300
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x461dd4
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 0x43f3b5
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10], 5
call fcn.00453130
lea ecx, [esp + 0xa0]
mov byte [esp + 0x10], 4
call fcn.00453130
lea ecx, [esp + 0x80]
mov byte [esp + 0x10], 3
call fcn.00453130
lea ecx, [esp + 0x60]
mov byte [esp + 0x10], 2
call fcn.00453130
lea ecx, [esp + 0x40]
mov byte [esp + 0x10], 1
call fcn.00453130
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00453130
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 0x43f3c5
mov ecx, edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x43f3cf
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 0x43f3f7
mov ecx, edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x43f401
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 0x43f422
mov ecx, edx
mov eax, dword [esp + 0x68]
cmp eax, ebx
jne 0x43f42c
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 0x43f450
mov ecx, edx
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x43f45d
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 0x43f484
mov ecx, edx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
jne 0x43f491
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 0x43f4b8
mov ecx, edx
mov eax, dword [esp + 0xc8]
cmp eax, ebx
jne 0x43f4c5
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 0x43f4e9
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 0x43f59e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43f595
cmp al, 0xff
je 0x43f595
dec al
mov byte [ecx], al
jmp 0x43f59e
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 0x43f61b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43f612
cmp al, 0xff
je 0x43f612
dec al
mov byte [ecx], al
jmp 0x43f61b
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 0x43f66f
mov al, byte [ecx - 1]
cmp al, bl
je 0x43f665
cmp al, 0xff
je 0x43f665
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