Function at 0x140097cf0
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 [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rcx
movzx ecx, r8w
sub ecx, 1
je 0x140097df7
sub ecx, 1
je 0x140097dcd
sub ecx, 6
je 0x140097dcd
sub ecx, 0x82f
je 0x140097dc3
cmp ecx, 0x2e9
je 0x140097d54
xor eax, eax
jmp 0x14009813a
lea rcx, [0x14021f2d0]
call fcn.140062d7c
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14005f1a0
test al, al
je 0x140098135
mov edx, dword [rsp + 0x50]
lea rcx, [0x14021f2d0]
call fcn.140062ed0
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x60]
call fcn.14013b230
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [0x14021f2d0]
call fcn.140062d20
mov r8, rax
mov edx, 0xb1f
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x140098135
call fcn.140001a1c
jmp 0x140098135
mov rax, qword [0x14021c740]
cmp byte [rax + 0x1104a], 0
jne 0x140097de4
mov byte [rax + 0x1104a], 2
mov edx, 2
mov rcx, rsi
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140098135
lea rcx, [rsp + 0x68]
call fcn.140120d54
nop
lea rdx, [rsp + 0x78]
mov rcx, qword [0x14021c740]
call fcn.14007d858
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 0x140097e82
mov r8d, r14d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14002a180
nop
lea rcx, [rsp + 0x58]
call fcn.140058574
mov rdx, rax
xor r9d, r9d
mov r8b, 1
mov rcx, qword [0x14021c5d8]
call fcn.140022568
nop
lea rcx, [rsp + 0x58]
test al, al
jne 0x140097e7d
call fcn.140120ddc
jmp 0x14009812b
call fcn.140120ddc
mov edx, 0xb1a
mov rcx, rsi
call fcn.14009641c
mov edx, 0xb1c
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.1400d472c
test rax, rax
jle 0x140097ece
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x14021c740]
call fcn.1400833f8
test rax, rax
je 0x140097ece
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x14021c748]
call fcn.1400885cc
mov edx, 0xa12
mov rcx, rsi
call fcn.140047334
mov rcx, qword [0x14021c740]
mov byte [rcx + 0x1121c], al
mov edx, 0xb1e
mov rcx, rsi
call fcn.140047334
mov rcx, qword [0x14021c740]
mov byte [rcx + 0x10fed], al
lea rcx, [0x14021f2d0]
call fcn.140062d7c
mov r8d, eax
mov edx, 0x7d0
mov rcx, qword [0x14021c740]
call fcn.1400872ac
mov edx, 0x826
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
neg eax
sbb cl, cl
add cl, 2
mov rax, qword [0x14021c740]
mov byte [rax + 0x1104a], cl
mov edx, 0x832
mov rcx, rsi
call fcn.140047334
mov rcx, qword [0x14021c740]
mov byte [rcx + 0x11464], al
mov edx, 0x827
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
sete cl
mov rax, qword [0x14021c740]
mov byte [rax + 0x116b0], cl
cmp byte [0x14021f2b9], 0
je 0x140097fa4
mov rax, qword [0x14021c740]
mov byte [rax + 0x116b1], 1
mov rax, qword [0x14021c740]
mov byte [rax + 0x116b2], 1
mov edx, 0xa1d
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x140097fba
mov cl, 1
jmp 0x140097fcf
mov edx, 0xa1f
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
neg eax
sbb cl, cl
add cl, 3
mov rax, qword [0x14021c740]
mov byte [rax + 0x116b3], cl
cmp byte [0x14021f2bb], 0
jne 0x140098019
xor edx, edx
mov rcx, qword [0x14021c740]
call fcn.14007cb44
mov r14, rax
test rax, rax
je 0x140098019
mov rdx, rax
mov rcx, qword [0x14021c740]
call fcn.140087020
mov r8, qword [r14]
mov edx, 1
mov rcx, r14
call qword [r8 + 0x40]
cmp byte [0x14021f2ba], 0
je 0x14009811c
mov edx, 0x82a
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x1400980b6
and qword [rsp + 0x58], 0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
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 0x1400980b6
and dword [rsp + 0x50], eax
lea r9d, [rax + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14019a638]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rcx, qword [0x14021c740]
call fcn.14007cb44
mov r14, rax
test rax, rax
je 0x14009811c
mov r10, qword [rax]
xor r9d, r9d
mov r8d, 0x20006
lea rdx, str.SoftwareConEmu
mov rcx, rax
call qword [r10]
test al, al
je 0x14009810e
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x50]
lea rdx, str.StopWarningConIme
mov rcx, r14
call fcn.1400ecec4
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.140120ddc
mov eax, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x1b0]
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret