Function at 0x14008fbe8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r14
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rcx
movzx ecx, r8w
sub ecx, 1
je 0x14008fcef
sub ecx, 1
je 0x14008fcc5
sub ecx, 6
je 0x14008fcc5
sub ecx, 0x82f
je 0x14008fcbb
cmp ecx, 0x2e9
je 0x14008fc4c
xor eax, eax
jmp 0x14009003c
lea rcx, [0x14022d700]
call fcn.14005e75c
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14005a440
test al, al
je 0x140090037
mov edx, dword [rsp + 0x50]
lea rcx, [0x14022d700]
call fcn.14005e804
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x60]
call fcn.14012d4b0
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [0x14022d700]
call fcn.14005e700
mov r8, rax
mov edx, 0xb1f
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x140090037
call fcn.140001928
jmp 0x140090037
mov rax, qword [0x14022ab50]
cmp byte [rax + 0x11042], 0
jne 0x14008fcdc
mov byte [rax + 0x11042], 2
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140090037
lea rcx, [rsp + 0x68]
call fcn.140114c40
nop
lea rdx, [rsp + 0x78]
mov rcx, qword [0x14022ab50]
call fcn.140075410
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x147
mov r14d, 0xa3f
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
test rax, rax
jle 0x14008fd84
lfence
mov edx, r14d
mov rcx, rsi
call fcn.140028904
mov r14, rax
xor r9d, r9d
mov r8b, 1
mov rdx, rax
mov rcx, qword [0x14022a9e0]
call fcn.1400213f8
test al, al
jne 0x14008fd74
test r14, r14
je 0x14009002d
lfence
mov rcx, r14
call fcn.140113e18
jmp 0x14009002d
test r14, r14
je 0x14008fd84
lfence
mov rcx, r14
call fcn.140113e18
mov edx, 0xb1a
mov rcx, rsi
call fcn.14008e49c
mov edx, 0xb1c
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.1400ca090
test rax, rax
jle 0x14008fdd0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x14022ab50]
call fcn.14007adb4
test rax, rax
je 0x14008fdd0
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x14022ab58]
call fcn.140080004
mov edx, 0xa12
mov rcx, rsi
call fcn.1400443bc
mov rcx, qword [0x14022ab50]
mov byte [rcx + 0x11214], al
mov edx, 0xb1e
mov rcx, rsi
call fcn.1400443bc
mov rcx, qword [0x14022ab50]
mov byte [rcx + 0x10fe5], al
lea rcx, [0x14022d700]
call fcn.14005e75c
mov r8d, eax
mov edx, 0x7d0
mov rcx, qword [0x14022ab50]
call fcn.14007ebd8
mov edx, 0x826
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
neg eax
sbb cl, cl
add cl, 2
mov rax, qword [0x14022ab50]
mov byte [rax + 0x11042], cl
mov edx, 0x832
mov rcx, rsi
call fcn.1400443bc
mov rcx, qword [0x14022ab50]
mov byte [rcx + 0x1145c], al
mov edx, 0x827
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
sete cl
mov rax, qword [0x14022ab50]
mov byte [rax + 0x116a8], cl
cmp byte [0x14022d6e9], 0
je 0x14008fea6
mov rax, qword [0x14022ab50]
mov byte [rax + 0x116a9], 1
mov rax, qword [0x14022ab50]
mov byte [rax + 0x116aa], 1
mov edx, 0xa1d
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x14008febc
mov cl, 1
jmp 0x14008fed1
mov edx, 0xa1f
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
neg eax
sbb cl, cl
add cl, 3
mov rax, qword [0x14022ab50]
mov byte [rax + 0x116ab], cl
cmp byte [0x14022d6eb], 0
jne 0x14008ff1b
xor edx, edx
mov rcx, qword [0x14022ab50]
call fcn.1400746d8
mov r14, rax
test rax, rax
je 0x14008ff1b
mov rdx, rax
mov rcx, qword [0x14022ab50]
call fcn.14007e964
mov r8, qword [r14]
mov edx, 1
mov rcx, r14
call qword [r8 + 0x40]
cmp byte [0x14022d6ea], 0
je 0x14009001e
mov edx, 0x82a
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x14008ffb8
and qword [rsp + 0x60], 0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Console
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14008ffb8
and dword [rsp + 0x54], eax
lea r9d, [rax + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1401a79f8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rcx, qword [0x14022ab50]
call fcn.1400746d8
mov r14, rax
test rax, rax
je 0x14009001e
mov r10, qword [rax]
xor r9d, r9d
mov r8d, 0x20006
lea rdx, str.SoftwareConEmu
mov rcx, rax
call qword [r10]
test al, al
je 0x140090010
mov dword [rsp + 0x58], 1
lea r8, [rsp + 0x58]
lea rdx, str.StopWarningConIme
mov rcx, r14
call fcn.1400e22cc
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.COMCTL32.dll_CreateMappedBitmap]
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + 0x40]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
nop
lea rcx, [rsp + 0x68]
call fcn.140114ca4
mov eax, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x1b0]
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret