Function at 0x473717
Capabilities:
Set registry value

Disassembly:
push 0x178
mov eax, 0x50fd29
call fcn.004f41e2
movzx eax, word [ebp + 0x10]
mov esi, dword [ebp + 8]
sub eax, 1
je 0x4737fa
sub eax, 1
je 0x4737d4
sub eax, 6
je 0x4737d4
sub eax, 0x82f
je 0x4737cd
sub eax, 0x2e9
je 0x47375d
xor eax, eax
jmp 0x473abd
mov edi, 0x5a4e48
mov ecx, edi
call fcn.0044d29f
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x170]
push eax
push esi
call fcn.0044a45f
xor ebx, ebx
pop ecx
inc ebx
pop ecx
test al, al
je 0x473abb
push dword [ebp - 0x170]
mov ecx, edi
call fcn.0044d5eb
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004f5a90
add esp, 0xc
lea eax, [ebp - 0x110]
mov ecx, edi
push ebx
push eax
call fcn.0044cc8d
push eax
push 0xb1f
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x473abb
call fcn.00401615
jmp 0x4737f2
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x10fde], 0
jne 0x4737e9
mov byte [eax + 0x10fde], 2
push 2
push esi
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
inc eax
jmp 0x473abd
lea ecx, [ebp - 0x16c]
call fcn.004e25a1
mov ecx, dword [0x5a23ec]
lea eax, [ebp - 0x184]
and dword [ebp - 4], 0
push eax
call fcn.0045ef5e
push 0
push 0
push 0x147
mov edi, 0xa3f
push edi
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ebx, ebx
inc ebx
test eax, eax
jle 0x473875
push edi
push esi
call fcn.004211b8
pop ecx
pop ecx
mov ecx, dword [0x5a22a0]
mov edi, eax
push 0
push ebx
push edi
call fcn.0041ac84
test al, al
jne 0x47386a
test edi, edi
je 0x473ab0
push edi
call fcn.004e1bea
pop ecx
jmp 0x473ab0
test edi, edi
je 0x473875
push edi
call fcn.004e1bea
pop ecx
push 0xb1a
push esi
call fcn.004724d3
lea eax, [ebp - 0x16c]
push eax
push 0xb1c
push esi
call fcn.004aa200
add esp, 0x14
test eax, eax
jle 0x4738bc
push dword [ebp - 0x16c]
mov ecx, dword [0x5a23ec]
call fcn.00463ae6
test eax, eax
je 0x4738bc
mov ecx, dword [0x5a23f0]
push 0
push eax
call fcn.00467dab
push 0xa12
push esi
call fcn.00439354
mov ecx, dword [0x5a23ec]
push 0xb1e
push esi
mov byte [ecx + 0x11198], al
call fcn.00439354
mov ecx, dword [0x5a23ec]
add esp, 0x10
mov byte [ecx + 0x10f91], al
mov ecx, 0x5a4e48
call fcn.0044d29f
mov ecx, dword [0x5a23ec]
push eax
push 0x7d0
call fcn.00466f01
push 0x826
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
mov eax, dword [0x5a23ec]
push 0x832
sete cl
inc cl
push esi
mov byte [eax + 0x10fde], cl
call fcn.00439354
pop ecx
pop ecx
mov ecx, dword [0x5a23ec]
push 0x827
push esi
mov byte [ecx + 0x113d4], al
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov ecx, dword [0x5a23ec]
dec eax
neg eax
sbb al, al
inc al
cmp byte [0x5a4de5], 0
mov byte [ecx + 0x1160c], al
je 0x47397d
mov eax, dword [0x5a23ec]
mov byte [eax + 0x1160d], bl
mov eax, dword [0x5a23ec]
mov byte [eax + 0x1160e], bl
push 0xa1d
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x473991
mov al, bl
jmp 0x4739a3
push 0xa1f
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
neg eax
sbb al, al
add al, 3
cmp byte [0x5a4de7], 0
mov ecx, dword [0x5a23ec]
mov byte [ecx + 0x1160f], al
jne 0x4739df
mov ecx, dword [0x5a23ec]
push 0
call fcn.0045e5c5
mov edi, eax
test edi, edi
je 0x4739df
mov ecx, dword [0x5a23ec]
push edi
call fcn.00466ce2
mov edx, dword [edi]
mov ecx, edi
push ebx
call dword [edx + 0x20]
cmp byte [0x5a4de6], 0
je 0x473aa8
push 0x82a
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
xor edi, edi
test eax, eax
je 0x473a58
push edi
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], edi
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.Console
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x473a58
push 4
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], edi
push eax
push 4
push edi
push str.LoadConIme
push dword [ebp - 0x170]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x170]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5a23ec]
push edi
call fcn.0045e5c5
mov edi, eax
test edi, edi
je 0x473aa8
mov edx, dword [edi]
mov ecx, edi
push 0
push 0x20006
push str.SoftwareConEmu
call dword [edx]
test al, al
je 0x473aa0
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], ebx
push eax
push str.StopWarningConIme
mov ecx, edi
call fcn.0049f792
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x20]
push ebx
push esi
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x16c]
call fcn.004e25e0
mov eax, ebx
call fcn.004f418c
ret