Function at 0x1400cdec0
Capabilities:
Query or enumerate 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 - 0x920]
sub rsp, 0xa20
mov rax, qword [0x1404b3028]
xor rax, rsp
mov qword [rbp + 0x910], rax
mov rbx, r8
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x40], r15d
lea r13, str.wxRegKey::GetNextValue
lea rax, str.C:LibrarieswxWidgets3.2.4_srcmsw_registry.cpp
cmp qword [rcx], rsi
jne 0x1400cdf4d
cmp qword [0x1404b3060], rsi
je 0x1400cdf4d
mov qword [rsp + 0x20], r15
lea r9, str.IsOpened__
mov r8, r13
mov edx, 0x47d
mov rcx, rax
call fcn.140041e40
cmp byte [0x1404c47a8], sil
je 0x1400cdf4d
mov byte [0x1404c47a8], sil
int3
mov edx, dword [rbx]
cmp edx, 0xffffffff
je 0x1400cdfa7
mov dword [rsp + 0x44], 0x400
lea eax, [rdx + 1]
mov dword [rbx], eax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x110]
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [r14 + 0x48], eax
test eax, eax
je 0x1400ce562
cmp eax, 0x103
jne 0x1400cdfd3
mov dword [r14 + 0x48], r15d
mov dword [rbx], 0xffffffff
xor al, al
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.14003b100
mov rbx, qword [rsp + 0xa78]
add rsp, 0xa20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor al, al
lea r12, [0x14033a5f8]
lea rdi, str.can_only_have_one_optional_value
test al, al
jne 0x1400ce039
mov rdx, r12
lea rcx, [rbp + 0xe0]
call fcn.140044710
mov rbx, rax
or esi, 1
mov dword [rsp + 0x40], esi
cmp dword [0x1404c4ab8], 0
je 0x1400ce01d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400ce01d
call fcn.140051d10
jmp 0x1400ce024
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400ce039
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x1400ce039
mov bl, 1
jmp 0x1400ce03b
xor bl, bl
test sil, 1
je 0x1400ce061
and esi, 0xfffffffe
mov dword [rsp + 0x40], esi
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 0x1400cdfa7
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, str.Cant_enumerate_values_of_key__s
lea rcx, [rbp + 0xe0]
call fcn.140010ee0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r15w
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
call fcn.14007be90
test rax, rax
je 0x1400ce0ed
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0xe0]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x1400ce0fc
lea rcx, [rbp + 0xe0]
call fcn.14007d380
mov rbx, rax
call fcn.140044e20
mov qword [rsp + 0x68], rax
call fcn.140044e20
mov qword [rsp + 0x70], rax
call fcn.140044e20
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], r15
lea rdx, str.wx.sys_error
lea rcx, [rbp + 0xb0]
call fcn.140010ee0
nop
mov rcx, qword [r14 + 8]
call fcn.1400ce590
movsxd rcx, eax
lea rax, [rcx + rcx*2]
lea rcx, str.HKCR
mov rcx, qword [rcx + rax*8]
lea rdx, [0x140310350]
test rcx, rcx
cmovne rdx, rcx
lea rcx, [rbp + 0x80]
call fcn.1400476b0
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r15
or esi, 2
mov dword [rsp + 0x40], esi
cmp qword [r14 + 0x20], 0
je 0x1400ce1bf
mov r8d, 1
lea rdx, [0x140349a48]
lea rcx, [rbp + 0x80]
call fcn.140041c40
lea rdx, [r14 + 0x10]
cmp qword [r14 + 0x28], 8
jb 0x1400ce1af
mov rdx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x20]
lea rcx, [rbp + 0x80]
call fcn.140041c40
lea rax, [rbp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov dword [rbp], 1
lea rax, str.C:LibrarieswxWidgets3.2.4_srcmsw_registry.cpp
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], r13
mov dword [rbp + 0x10], 0x493
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r15
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0x38], eax
mov qword [rbp + 0x40], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], r15w
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r15
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
cmp qword [rbp + 0x58], 0
je 0x1400ce280
cmp qword [0x1404b3060], 0
je 0x1400ce280
mov qword [rsp + 0x20], rdi
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 0x1400ce280
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 + 0x48]
call fcn.140038360
mov r8, rbx
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 8]
call fcn.1400a8510
mov edi, dword [r14 + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.1400559f0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1400ce326
cmp qword [0x1404b3060], 0
je 0x1400ce326
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_wxCStrData_const__::wxArgNormalizerWchar
mov edx, 0x241
lea rcx, str.C:LibrarieswxWidgets3.2.4includewx_strvararg.h
call fcn.140041e40
cmp byte [0x1404c47a8], 0
je 0x1400ce326
mov byte [0x1404c47a8], 0
int3
lea rcx, [rsp + 0x68]
call fcn.140055070
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.140056940
mov r9, rax
mov r8, rbx
mov edx, edi
lea rcx, [rbp]
call fcn.1400a8100
nop
cmp byte [rsp + 0x60], 0
je 0x1400ce380
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1400ce380
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.1400119a0
mov edx, Ordinal_50
mov rcx, rbx
call fcn.14003b258
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x60]
cmp rdx, 8
jb 0x1400ce3ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce3c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce54d
call fcn.14003b258
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], r15w
mov rbx, qword [rbp + 0x40]
test rbx, rbx
je 0x1400ce435
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
mov qword [rbx + 0x30], r15
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], r15
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
and esi, 0xfffffffd
mov dword [rsp + 0x40], esi
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x80]
call fcn.1400119a0
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
lea rcx, [rsp + 0x68]
call fcn.14003dbf0
nop
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400ce4c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce4c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce554
call fcn.14003b258
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r15w
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 0x1400ce51c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce517
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ce55b
call fcn.14003b258
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
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 0x1400cdfdc
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
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1400ce570
lea rdx, [rbp + 0x110]
mov rcx, rdi
call fcn.140038360
mov al, 1
jmp 0x1400cdfa9