Function at 0x43ce50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4637f4
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 0x43cf05
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10], 5
call fcn.004363f0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x10], 4
call fcn.004363f0
lea ecx, [esp + 0x80]
mov byte [esp + 0x10], 3
call fcn.004363f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x10], 2
call fcn.004363f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x10], 1
call fcn.004363f0
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.004363f0
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 0x43cf15
mov ecx, edx
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x43cf1f
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 0x43cf47
mov ecx, edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x43cf51
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 0x43cf72
mov ecx, edx
mov eax, dword [esp + 0x68]
cmp eax, ebx
jne 0x43cf7c
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 0x43cfa0
mov ecx, edx
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x43cfad
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 0x43cfd4
mov ecx, edx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
jne 0x43cfe1
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 0x43d008
mov ecx, edx
mov eax, dword [esp + 0xc8]
cmp eax, ebx
jne 0x43d015
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 0x43d039
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 0x43d0ee
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43d0e5
cmp al, 0xff
je 0x43d0e5
dec al
mov byte [ecx], al
jmp 0x43d0ee
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 0x43d16b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x43d162
cmp al, 0xff
je 0x43d162
dec al
mov byte [ecx], al
jmp 0x43d16b
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 0x43d1bf
mov al, byte [ecx - 1]
cmp al, bl
je 0x43d1b5
cmp al, 0xff
je 0x43d1b5
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