Function at 0x1400d63c0
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 [0x1404b3028]
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.1400cf770
test al, al
je 0x1400d646c
cmp qword [r15 + 0x10], r13
jne 0x1400d641c
mov edx, r13d
jmp 0x1400d6429
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1400d6429
mov rdx, qword [r15]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400d6436
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [r12 + 0x48], eax
test eax, eax
jne 0x1400d646c
mov al, 1
jmp 0x1400d6be4
xor al, al
mov edi, 0xffff
lea rsi, [0x14033a5f8]
test al, al
jne 0x1400d64d2
mov rdx, rsi
lea rcx, [rbp + 0xe0]
call fcn.140044710
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x30], r14d
cmp dword [0x1404c4ab8], 0
je 0x1400d64b6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400d64b6
call fcn.140051d10
jmp 0x1400d64bd
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400d64d2
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x1400d64d2
mov bl, 1
jmp 0x1400d64d4
xor bl, bl
test r14b, 1
je 0x1400d64fc
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xe0]
call fcn.1400119a0
test bl, bl
je 0x1400d6be2
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x1400d6525
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.Cant_set_value_of__s
lea rcx, [rsp + 0x78]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rsp + 0x68], rbx
call fcn.140044e20
cmp rbx, rax
je 0x1400d6557
inc word [rbx + 0x10]
or r14d, 2
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x1400d65aa
add word [rcx + 0x10], di
jne 0x1400d65a0
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1400d659b
cmp byte [rdi + 0x12], 0
je 0x1400d658e
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.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rsp + 0x78], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0xe0]
call fcn.1400476b0
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x1400d65f8
add word [rbx + 0x10], di
jne 0x1400d65ee
cmp byte [rbx + 0x12], 0
je 0x1400d65e1
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], r13
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
call fcn.14007be90
test rax, rax
je 0x1400d666c
lea r9, [rbp]
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x1400d667b
lea rcx, [rbp + 0xe0]
call fcn.14007d380
mov rbx, rax
call fcn.140044e20
mov qword [rsp + 0x38], rax
call fcn.140044e20
mov qword [rsp + 0x40], rax
call fcn.140044e20
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r13
mov rax, qword [0x1404c4808]
test rax, rax
jne 0x1400d66bb
call fcn.14004c0f0
mov qword [0x1404c4808], rax
mov r9, rax
mov r8, qword [0x14033b570]
lea rdx, str.wx.sys_error
lea rcx, [rbp - 0x78]
call fcn.140043df0
nop
mov rbx, qword [rax]
mov qword [rsp + 0x70], rbx
call fcn.140044e20
cmp rbx, rax
je 0x1400d66ec
inc word [rbx + 0x10]
or r14d, 4
mov dword [rsp + 0x30], r14d
call fcn.140044e20
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x1400d673c
add word [rcx + 0x10], di
jne 0x1400d6733
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400d672e
cmp byte [rdi + 0x12], 0
je 0x1400d6721
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.14003b258
mov edi, 0xffff
call fcn.140044e20
mov qword [rbp - 0x78], rax
mov rdx, qword [rbx]
lea rcx, [rbp + 0xb0]
call fcn.1400476b0
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
call fcn.140044e20
cmp rbx, rax
je 0x1400d678a
add word [rbx + 0x10], di
jne 0x1400d6780
cmp byte [rbx + 0x12], 0
je 0x1400d6773
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x70], rax
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r13
mov r8, r15
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1400cd640
mov rdi, rax
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x30], 1
lea rax, str.C:LibrarieswxWidgets3.2.4_srcmsw_registry.cpp
mov qword [rbp + 0x38], rax
lea rax, str.wxRegKey::SetValue
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x40], 0x460
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x60], r13
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0x68], eax
mov qword [rbp + 0x70], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r13w
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], r13
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
cmp qword [rbp + 0x88], 0
je 0x1400d686d
cmp qword [0x1404b3060], 0
je 0x1400d686d
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:LibrarieswxWidgets3.2.4includewxlog.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400d686d
mov byte [0x1404c47a8], 0
int3
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rbp + 0x78]
call fcn.140038360
mov r8, rbx
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x38]
call fcn.1400a8510
mov esi, dword [r12 + 0x48]
mov qword [rsp + 0x60], rdi
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1400d690f
cmp qword [0x1404b3060], 0
je 0x1400d690f
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:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400d690f
mov byte [0x1404c47a8], 0
int3
lea rcx, [rsp + 0x38]
call fcn.140055070
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140056960
mov r9, rax
mov r8, rbx
mov edx, esi
lea rcx, [rbp + 0x30]
call fcn.1400a8100
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.1400119a0
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x1400d699b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d6996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d6bcd
call fcn.14003b258
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], r13w
mov rbx, qword [rbp + 0x70]
test rbx, rbx
je 0x1400d6a0d
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
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, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
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.14003b258
nop
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xb0]
call fcn.1400119a0
nop
call fcn.140044e20
mov rcx, qword [rsp + 0x48]
mov edi, 0xffff
cmp rcx, rax
je 0x1400d6a71
add word [rcx + 0x10], di
jne 0x1400d6a67
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400d6a67
cmp byte [rbx + 0x12], 0
je 0x1400d6a5a
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x48], rax
call fcn.140044e20
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1400d6ab6
add word [rcx + 0x10], di
jne 0x1400d6aac
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400d6aac
cmp byte [rbx + 0x12], 0
je 0x1400d6a9f
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x40], rax
call fcn.140044e20
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400d6afb
add word [rcx + 0x10], di
jne 0x1400d6af1
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400d6af1
cmp byte [rbx + 0x12], 0
je 0x1400d6ae4
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.14003b258
call fcn.140044e20
mov qword [rsp + 0x38], rax
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 0x1400d6b45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d6b40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d6bd4
call fcn.14003b258
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], 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 0x1400d6b9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d6b97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d6bdb
call fcn.14003b258
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0xe0]
call fcn.1400119a0
mov al, 1
jmp 0x1400d6473
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
xor al, al
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14003b100
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret