Function at 0x1401b71f0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r12, rdx
mov r13, rcx
xor edi, edi
mov r15d, edi
mov dword [rsp + 0x30], edi
lea edx, [rdi + 1]
call fcn.1401b9c30
test al, al
je 0x1401b7836
cmp qword [r12 + 0x10], rdi
jne 0x1401b724a
mov edx, edi
jmp 0x1401b7259
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x1401b7259
mov rdx, qword [r12]
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [r13 + 0x48], eax
test eax, 0xfffffffd
je 0x1401b7832
xor al, al
lea r14, [0x1403c8f48]
test al, al
jne 0x1401b72d3
mov rdx, r14
lea rcx, [rbp + 0xe0]
call fcn.14010a1d0
mov rbx, rax
or r15d, 1
mov dword [rsp + 0x30], r15d
cmp dword [0x140575068], 0
je 0x1401b72b7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1401b72b7
call fcn.140136fe0
jmp 0x1401b72be
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1401b72d3
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x1401b72d3
mov bl, 1
jmp 0x1401b72d5
xor bl, bl
test r15b, 1
je 0x1401b72f8
and r15d, 0xfffffffe
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.14000e160
test bl, bl
je 0x1401b7836
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x80], rax
lea rdx, str.Cant_delete_value__s_from_key__s
lea rcx, [rbp + 0xe0]
call fcn.1400104b0
nop
mov qword [rbp - 8], rdi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], 7
mov word [rbp - 8], di
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], di
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
call fcn.140149fa0
test rax, rax
je 0x1401b7387
lea r9, [rbp - 8]
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401b7396
lea rcx, [rbp + 0xe0]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x58], rax
call fcn.14010aa30
mov qword [rsp + 0x60], rax
call fcn.14010aa30
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea rdx, str.wx.sys_error
lea rcx, [rbp + 0xb0]
call fcn.1400104b0
nop
mov r8b, 1
lea rdx, [rbp + 0x110]
mov rcx, r13
call fcn.1401b7cd0
nop
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x38]
mov qword [rbp - 0x78], rax
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.140010410
mov rsi, rax
mov qword [rbp - 0x70], rax
mov dword [rbp + 0x30], 1
lea rax, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_registry.cpp
mov qword [rbp + 0x38], rax
lea rax, str.wxRegKey::DeleteValue
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x40], 0x319
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], rdi
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0x68], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], di
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], rdi
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
cmp qword [rbp + 0x88], 0
je 0x1401b74cb
cmp qword [0x14055a4b8], 0
je 0x1401b74cb
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 0x1401b74cb
mov byte [0x1405750a8], 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.14001d300
mov r8, rbx
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x38]
call fcn.140183e20
mov r14d, dword [r13 + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
lea rbx, str.format_specifier_doesnt_match_argument_type
cmp ecx, eax
je 0x1401b7571
cmp qword [0x14055a4b8], 0
je 0x1401b7571
mov qword [rsp + 0x20], rbx
lea r9, str._argtype___wxFormatString::Arg_String____argtype
lea r8, str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
mov edx, 0x241
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x1401b7571
mov byte [0x1405750a8], 0
int3
mov qword [rsp + 0x50], rsi
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1401b75cd
cmp qword [0x14055a4b8], 0
je 0x1401b75cd
mov qword [rsp + 0x20], rbx
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 0x1401b75cd
mov byte [0x1405750a8], 0
int3
lea rcx, [rsp + 0x58]
call fcn.140143f20
mov rdi, rax
lea rcx, [rsp + 0x30]
call fcn.140145800
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.140145820
mov r9, rax
mov qword [rsp + 0x20], rbx
mov r8, rdi
mov edx, r14d
lea rcx, [rbp + 0x30]
call fcn.1401839a0
nop
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call fcn.14000e160
nop
cmp byte [rsp + 0x48], 0
je 0x1401b764d
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1401b764d
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.14000e160
mov edx, Ordinal_50
mov rcx, rbx
call fcn.14036c454
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 0x1401b769d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b7698
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b781d
call fcn.14036c454
xor edi, edi
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], di
mov rbx, qword [rbp + 0x70]
test rbx, rbx
je 0x1401b770e
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
mov qword [rbx + 0x30], rdi
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], rdi
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea edx, [rdi + 0x40]
mov rcx, rbx
call fcn.14036c454
nop
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x110]
call fcn.14000e160
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.14000e160
nop
lea rcx, [rsp + 0x58]
call fcn.140010cb0
nop
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1401b7797
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b7792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b7824
call fcn.14036c454
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], di
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1401b77ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b77e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b782b
call fcn.14036c454
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], 7
mov word [rbp - 8], di
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.14000e160
mov al, 1
jmp 0x1401b7274
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
mov al, 1
jmp 0x1401b7838
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14036c0d0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret