Function at 0x425890
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f508a
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x30], eax
movzx eax, byte [edi + 0xcf]
push 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push str.AutoScrollStop
push dword [esi]
mov dword [ebp - 0x34], esi
call ebx
movzx eax, byte [edi + 0xcc]
push 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push 0x510e84
push dword [esi]
call ebx
movzx eax, byte [edi + 0xcd]
push 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push str.ShowProcessColors
push dword [esi]
call ebx
mov eax, dword [edi + 0xac]
mov esi, dword [edi + 0xa8]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], eax
cmp esi, eax
je 0x425bc1
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x3c], 0
xor edi, edi
mov dword [ebp - 0x40], edi
push 0xb0
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.004c6130
mov dword [ebp - 0x11c], 0x51691c
mov dword [ebp - 0x10c], 0x516914
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0xb4], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
mov eax, dword [ebp - 0x30]
add esp, 4
or eax, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x104]
push eax
call fcn.00405020
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x110], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x120], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x120], eax
lea ecx, [ebp - 0x104]
call fcn.00404e00
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov edx, str.ColumnsColumn
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.00405e40
push dword [ebp - 0x44]
lea ecx, [ebp - 0x10c]
call fcn.00405a80
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x104]
call fcn.00403e80
or dword [ebp - 0x30], 0x18
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x28]
call fcn.00403040
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x425af8
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425aee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425d0d
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], 7
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
mov eax, dword [ebp - 0x34]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
lea ecx, [ebp - 0x28]
cmove edi, dword [ebp - 0x2c]
call fcn.00408a80
lea ecx, [ebp - 0x11c]
call fcn.004025a0
movzx eax, byte [esi]
push 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push 0x510edc
push edi
call ebx
mov eax, dword [esi + 0xc]
push 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push str.Width
push edi
call ebx
mov eax, dword [esi + 0x20]
push 4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push str.Order
push edi
call ebx
inc dword [ebp - 0x44]
test edi, edi
je 0x425bb5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], 0
add esi, 0x30
cmp esi, dword [ebp - 0x4c]
jne 0x425963
xor esi, esi
xor edi, edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 9
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push 0x510f04
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x425c06
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 9
test eax, eax
jne 0x425c22
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x40]
add ecx, 0x48
call fcn.0048bdb0
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebx]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x30], 0
test edi, edi
je 0x425c8e
cmp dword [edi], 0
je 0x425c81
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x425c4e
mov eax, 1
jmp 0x425ccb
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x425c87
push 0
push dword [edi]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push 0x510f24
push ebx
call eax
jmp 0x425caf
cmp dword [edi + 4], 0
jne 0x425c8e
mov eax, 1
jmp 0x425caf
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x510f24
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x425ccb
test esi, esi
je 0x425cbe
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 9
test eax, eax
jne 0x425ce4
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x40]
lea ecx, [ecx + 0x54]
call fcn.0048bdb0
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x425cef
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 4
call fcn.004cecff
int3