Function at 0x401c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
push eax
call fcn.004013e0
add esp, 4
push eax
push 0x428564
call 0x400000
add esp, 8
mov dword [ebp - 8], 0
jmp 0x401c82
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
push edx
call 0x400000
add esp, 4
cmp dword [ebp - 8], eax
jae 0x401ccf
mov eax, dword [ebp - 8]
push eax
push str.ColorTable_02d
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 4], ecx
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x401c79
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x48]
mov dword [ebp - 4], eax
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.CursorSize
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 4], ecx
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.CursorVisible
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.EditionMode
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xc8
mov edx, dword [ebp + 0xc]
add edx, 0x88
push edx
push 1
push 0
push str.FaceName
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.FontPitchFamily
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call dword [sym.imp.USER32.dll_GetDpiForSystem]
push eax
push 0x60
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetDpiForSystem]
push eax
push 0x60
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x10]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
mov dword [ebp - 4], ecx
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.FontSize
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 4], ecx
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.FontWeight
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.HistoryBufferSize
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 4], eax
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.HistoryNoDup
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 4], ecx
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.InsertMode
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.MenuMask
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x54]
mov dword [ebp - 4], eax
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.PopupColors
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 4], ecx
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.QuickEdit
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x70]
and edx, 0xffff
movzx ecx, dx
shl ecx, 0x10
or eax, ecx
mov dword [ebp - 4], eax
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.ScreenBufferSize
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.ScreenColors
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x74]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x78]
and eax, 0xffff
movzx edx, ax
shl edx, 0x10
or ecx, edx
mov dword [ebp - 4], ecx
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.WindowSize
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret