Function at 0x410900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
push 0x104
push 0
push eax
call fcn.004e69c0
add esp, 0xc
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x238], 0
xorps xmm0, xmm0
mov ebx, 1
movups xmmword [ebp - 0x21c], xmm0
push 0
push eax
push 0
push 0x30
mov dword [ebp - 0x230], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
jne 0x410991
push str._GetLastError_
push str.:7:SetConsoleFont___FAILED:_The_default_font_height_15_will_be_used:_SystemParametersInfo___FAILED:__s
call fcn.00424a90
mov edi, 0xf
add esp, 8
mov dword [ebp - 0x234], edi
jmp 0x410a7d
mov edi, dword [ebp - 0x214]
mov eax, ebx
mov ecx, dword [ebp - 0x210]
mov edx, edi
sub edx, dword [ebp - 0x21c]
movss xmm0, dword [0x51102c]
cmove edx, eax
mov dword [ebp - 0x220], 0xe
sub ecx, dword [ebp - 0x218]
cmove ecx, eax
mov eax, 7
movd xmm3, edx
cmp edx, ecx
cvtdq2ps xmm3, xmm3
cmovle eax, dword [ebp - 0x220]
movd xmm2, ecx
mov ecx, ebx
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
divss xmm1, xmm3
divss xmm3, xmm2
comiss xmm0, xmm1
movaps xmm0, xmm2
movss xmm2, dword [0x511034]
mulss xmm0, dword [0x511028]
subss xmm2, xmm3
cmova eax, ecx
addss xmm0, dword [0x511030]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm2, xmm1
subss xmm0, xmm2
call fcn.004e5320
cmp eax, 0xe
lea ecx, [eax + 1]
cmovae ecx, eax
mov dword [ebp - 0x234], ecx
cmp ecx, 9
jae 0x410a48
mov edi, 9
mov dword [ebp - 0x234], edi
jmp 0x410a7d
cmp ecx, 0x1c
jbe 0x410a7b
push edi
push dword [ebp - 0x210]
push dword [ebp - 0x21c]
push dword [ebp - 0x218]
push ecx
push str.:8:SetConsoleFont___encountered_a_problem:_the_calculated_font_height_is__ld_based_on_the_screen_rect___d__d__d__d_.__The_size_will_be_clipped_to_28.
call fcn.00424a90
mov edi, 0x1c
add esp, 0x18
mov dword [ebp - 0x234], edi
jmp 0x410a7d
mov edi, ecx
push esi
call fcn.004a73a0
add esp, 4
test eax, eax
je 0x410b17
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x22c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str..DEFAULTConsole
push reloc.WSOCK32.dll_closesocket
call esi
test eax, eax
je 0x410ae0
push eax
push str._GetLastError_
push str.:8:SetConsoleFont_NULL__FAILED_to_set_the_default_console:_RegCreateKeyEx___FAILED:__s_ld
call fcn.00424a90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x238]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Console
push connect
call esi
test eax, eax
je 0x410bbf
xor ecx, ecx
mov dword [ebp - 0x238], ecx
jmp 0x410bc5
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a9a20
push 0x5f
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.004a88a0
lea eax, [ebp - 0x108]
push eax
push str.Console_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004a94b0
add esp, 0x34
lea eax, [ebp - 0x22c]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x410bbf
push eax
push str._GetLastError_
push esi
push str.:8:SetConsoleFont__s__FAILED:_RegCreateKeyEx___FAILED:__s_ld
call fcn.00424a90
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4117bb
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
shl edi, 0x10
mov dword [ebp - 0x23c], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push ecx
push 4
push 0
push str.ColorTable00
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x410c32
push ebx
push str._GetLastError_
push dword [ebp - 0x228]
push str.ColorTable00
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push ebx
call esi
xor ebx, ebx
jmp 0x410c37
mov ebx, 1
push 4
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x800000
push eax
push 4
push 0
push str.ColorTable01
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x220], eax
test eax, eax
je 0x410c8d
push eax
push str._GetLastError_
push dword [ebp - 0x228]
push str.ColorTable01
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x220]
call esi
jmp 0x410c92
mov ebx, 1
or ebx, dword [ebp - 0x230]
lea eax, [ebp - 0x228]
push 4
push eax
push 4
push 0
push str.ColorTable02
push dword [ebp - 0x22c]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], 0x8000
call edi
mov dword [ebp - 0x220], eax
test eax, eax
je 0x410cfc
push eax
push str._GetLastError_
push dword [ebp - 0x228]
push str.ColorTable02
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x220]
call esi
xor eax, eax
mov dword [ebp - 0x220], eax
jmp 0x410d06
mov dword [ebp - 0x220], 1
push 4
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x808000
push eax
push 4
push 0
push str.ColorTable03
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x410d62
push eax
push str._GetLastError_
push dword [ebp - 0x228]
push str.ColorTable03
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x220]
jmp 0x410d67
mov eax, 1
push 4
or ebx, eax
mov dword [ebp - 0x220], 0x80
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.ColorTable04
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x410dc7
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable04
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x410dd1
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x800080
push eax
push 4
push 0
push str.ColorTable05
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x410e2d
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable05
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x410e32
mov eax, 1
push 4
or ebx, eax
mov dword [ebp - 0x220], 0x8080
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.ColorTable06
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x410e92
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable06
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x410e9c
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0xc0c0c0
push eax
push 4
push 0
push str.ColorTable07
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x410ef8
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable07
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x410efd
mov eax, 1
push 4
or ebx, eax
mov dword [ebp - 0x220], 0x808080
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.ColorTable08
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x410f5d
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable08
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x410f67
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0xff0000
push eax
push 4
push 0
push str.ColorTable09
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x410fc3
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable09
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x410fc8
mov eax, 1
push 4
or ebx, eax
mov dword [ebp - 0x220], 0xff00
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.ColorTable10
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411028
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable10
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x411032
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0xffff00
push eax
push 4
push 0
push str.ColorTable11
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x41108e
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable11
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x411093
mov eax, 1
push 4
or ebx, eax
mov dword [ebp - 0x220], 0xff
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.ColorTable12
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4110f3
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable12
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x4110fd
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0xff00ff
push eax
push 4
push 0
push str.ColorTable13
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411159
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable13
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x41115e
mov eax, 1
push 4
or ebx, eax
mov dword [ebp - 0x220], 0xffff
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.ColorTable14
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4111be
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable14
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x4111c8
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0xffffff
push eax
push 4
push 0
push str.ColorTable15
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411224
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ColorTable15
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x411229
mov eax, 1
movq xmm0, qword [0x50db74]
lea ecx, [ebp - 0x108]
or ebx, eax
movq qword [ebp - 0x108], xmm0
mov eax, dword [0x50db7c]
lea edx, [ecx + 1]
mov dword [ebp - 0x100], eax
mov ax, word [0x50db80]
mov word [ebp - 0xfc], ax
mov al, byte [0x50db82]
mov byte [ebp - 0xfa], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411267
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push str.FaceName
push dword [ebp - 0x22c]
call edi
test eax, eax
je 0x4112a3
push eax
push str._GetLastError_
push str.:4:SetConsoleFont___FAILED:_RegSetValueEx__FaceName___FAILED:__s_ld
call fcn.00424a90
add esp, 0xc
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x19
push eax
push 4
push 0
push str.CursorSize
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411301
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.CursorSize
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x41130b
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x36
push eax
push 4
push 0
push str.FontFamily
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411367
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.FontFamily
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x41136c
mov eax, 1
or ebx, eax
mov eax, dword [ebp - 0x23c]
push 4
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.FontSize
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4113cc
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.FontSize
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov dword [ebp - 0x230], ebx
jmp 0x4113d3
or dword [ebp - 0x230], 1
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x220]
push 4
push eax
push 4
push 0
push str.FontWeight
push dword [ebp - 0x22c]
jae 0x41143d
mov dword [ebp - 0x220], 0x190
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411438
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.FontWeight
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov ebx, dword [ebp - 0x230]
jmp 0x411481
or ebx, 1
jmp 0x411481
mov dword [ebp - 0x220], 0x2bc
call edi
mov ebx, eax
test ebx, ebx
je 0x411474
push ebx
push str._GetLastError_
push dword [ebp - 0x220]
push str.FontWeight
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push ebx
call esi
xor eax, eax
jmp 0x411479
mov eax, 1
mov ebx, dword [ebp - 0x230]
or ebx, eax
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 4
push 0
push str.FullScreen
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4114df
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.FullScreen
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x230], eax
jmp 0x4114e9
mov dword [ebp - 0x230], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x32
push eax
push 4
push 0
push str.HistoryBufferSize
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411545
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.HistoryBufferSize
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x230]
jmp 0x41154a
mov eax, 1
or eax, ebx
mov dword [ebp - 0x220], 1
push 4
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.InsertMode
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4115b2
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.InsertMode
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov dword [ebp - 0x228], 0
jmp 0x4115bc
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 4
push eax
push 4
push 0
push str.NumberOfHistoryBuffers
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411612
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.NumberOfHistoryBuffers
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
jmp 0x41161c
mov dword [ebp - 0x228], 1
mov eax, dword [ebp - 0x230]
or eax, dword [ebp - 0x228]
push 4
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x220]
push eax
push 4
push 0
push str.PopupColors
push dword [ebp - 0x22c]
mov dword [ebp - 0x220], 0xf5
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x41168c
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.PopupColors
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
xor eax, eax
mov dword [ebp - 0x228], eax
jmp 0x411696
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 4
push 0
push str.QuickEdit
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4116f2
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.QuickEdit
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov eax, dword [ebp - 0x228]
jmp 0x4116f7
mov eax, 1
or dword [ebp - 0x230], eax
lea eax, [ebp - 0x220]
push 4
push eax
push 4
push 0
push str.ScreenColors
push dword [ebp - 0x22c]
mov dword [ebp - 0x220], 7
call edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x411759
push eax
push str._GetLastError_
push dword [ebp - 0x220]
push str.ScreenColors
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00424fd0
add esp, 0x14
push dword [ebp - 0x224]
call esi
mov ebx, dword [ebp - 0x230]
jmp 0x411762
or ebx, 1
mov dword [ebp - 0x230], ebx
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x22c], 0
test eax, eax
je 0x411797
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x238], 0
jmp 0x410be8
test ebx, ebx
jne 0x4117c6
push str.:5:SetConsoleFont___encountered_a_problem:_One_of_the_SetRegDwords___seems_to_have_failed.
call fcn.00424fd0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x4117c6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret