Function at 0x1401c1a20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, r8
mov r15, rdx
mov r12, rcx
xor r13d, r13d
mov r14d, r13d
mov dword [rsp + 0x30], r13d
lea edx, [r13 + 1]
call fcn.1401b9c30
test al, al
je 0x1401c1abf
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov r8, qword [rax]
cmp qword [r15 + 0x10], r13
jne 0x1401c1a86
mov edx, r13d
jmp 0x1401c1a93
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1401c1a93
mov rdx, qword [r15]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [r12 + 0x48], eax
test eax, eax
jne 0x1401c1abf
mov al, 1
jmp 0x1401c22fe
xor al, al
mov edi, 0xffff
lea rsi, [0x1403c8f48]
test al, al
jne 0x1401c1b22
mov rdx, rsi
lea rcx, [rbp]
call fcn.14010a1d0
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x30], r14d
cmp dword [0x140575068], 0
je 0x1401c1b06
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1401c1b06
call fcn.140136fe0
jmp 0x1401c1b0d
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1401c1b22
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x1401c1b22
mov bl, 1
jmp 0x1401c1b24
xor bl, bl
test r14b, 1
je 0x1401c1b46
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp]
call fcn.14000e160
test bl, bl
je 0x1401c22fc
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140575108]
test rax, rax
jne 0x1401c1b6f
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.Cant_set_value_of__s
lea rcx, [rsp + 0x78]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rsp + 0x68], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x1401c1ba1
inc word [rbx + 0x10]
or r14d, 2
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x1401c1bf4
add word [rcx + 0x10], di
jne 0x1401c1bea
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1401c1be5
cmp byte [rdi + 0x12], 0
je 0x1401c1bd8
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14036c454
mov edi, 0xffff
call fcn.14010aa30
mov qword [rsp + 0x78], rax
mov rdx, qword [rbx]
mov qword [rbp], r13
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401c1c13
lea rcx, [rbp]
call fcn.14001d300
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x1401c1c6b
add word [rbx + 0x10], di
jne 0x1401c1c61
test rbx, rbx
je 0x1401c1c61
cmp byte [rbx + 0x12], 0
je 0x1401c1c54
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
call fcn.140149fa0
test rax, rax
je 0x1401c1cd9
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x30]
lea rdx, [rbp]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401c1ce5
lea rcx, [rbp]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x38], rax
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r13
mov rax, qword [0x140575108]
test rax, rax
jne 0x1401c1d25
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.wx.sys_error
lea rcx, [rbp - 0x78]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x1401c1d56
inc word [rbx + 0x10]
or r14d, 4
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x1401c1da6
add word [rcx + 0x10], di
jne 0x1401c1d9d
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1401c1d98
cmp byte [rdi + 0x12], 0
je 0x1401c1d8b
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rdi
call fcn.14036c454
mov edi, 0xffff
call fcn.14010aa30
mov qword [rbp - 0x78], rax
mov rdx, qword [rbx]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401c1dc5
lea rcx, [rbp - 0x30]
call fcn.14001d300
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x1401c1e1d
add word [rbx + 0x10], di
jne 0x1401c1e13
test rbx, rbx
je 0x1401c1e13
cmp byte [rbx + 0x12], 0
je 0x1401c1e06
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov r8, r15
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1401b7bd0
mov rdi, rax
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x90], 1
lea rax, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_registry.cpp
mov qword [rbp + 0x98], rax
lea rax, str.wxRegKey::SetValue
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xa0], 0x3ce
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], r13
mov qword [rbp + 0xc0], r13
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0xc8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe8], r13
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r13w
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], r13
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
cmp qword [rbp + 0xe8], 0
je 0x1401c1f15
cmp qword [0x14055a4b8], 0
je 0x1401c1f15
lea rax, str.can_only_have_one_optional_value
mov qword [rsp + 0x20], rax
lea r9, str.m_optKey.empty__
lea r8, str.wxLogger::MaybeStore
mov edx, 0x39e
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewxlog.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x1401c1f15
mov byte [0x1405750a8], 0
int3
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0xd8]
call fcn.14001d300
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x98]
call fcn.140183e20
mov esi, dword [r12 + 0x48]
mov qword [rsp + 0x60], rdi
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1401c1fae
cmp qword [0x14055a4b8], 0
je 0x1401c1fae
lea rax, str.format_specifier_doesnt_match_argument_type
mov qword [rsp + 0x20], rax
lea r9, str._argtype___wxFormatString::Arg_String____argtype
lea r8, str.wxArgNormalizerWchar_class_wxString_const__::wxArgNormalizerWchar
mov edx, 0x230
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x1401c1fae
mov byte [0x1405750a8], 0
int3
lea rcx, [rsp + 0x38]
call fcn.140143f20
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140145820
mov r9, rax
mov r8, rbx
mov edx, esi
lea rcx, [rbp + 0x90]
call fcn.1401839a0
nop
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call fcn.14000e160
nop
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x1401c2040
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c203b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c22d9
call fcn.14036c454
mov qword [rbp + 0xe8], r13
mov qword [rbp + 0xf0], 7
mov word [rbp + 0xd8], r13w
mov rbx, qword [rbp + 0xd0]
test rbx, rbx
je 0x1401c20b8
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], r13
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea r8, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
mov qword [rbx + 0x10], r13
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov edx, 0x40
mov rcx, rbx
call fcn.14036c454
nop
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1401c2103
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c20fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c22e0
call fcn.14036c454
nop
call fcn.14010aa30
mov rcx, qword [rsp + 0x48]
mov edi, 0xffff
cmp rcx, rax
je 0x1401c214d
add word [rcx + 0x10], di
jne 0x1401c2143
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1401c2143
cmp byte [rbx + 0x12], 0
je 0x1401c2136
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x48], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1401c2192
add word [rcx + 0x10], di
jne 0x1401c2188
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1401c2188
cmp byte [rbx + 0x12], 0
je 0x1401c217b
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1401c21d7
add word [rcx + 0x10], di
jne 0x1401c21cd
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1401c21cd
cmp byte [rbx + 0x12], 0
je 0x1401c21c0
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14036c454
call fcn.14010aa30
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x1401c2221
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c221c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c22e7
call fcn.14036c454
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x1401c227b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c2276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c22ee
call fcn.14036c454
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r13w
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1401c22d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c22cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c22f5
call fcn.14036c454
mov al, 1
jmp 0x1401c1ac6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14036c0d0
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret