Function at 0x1400d2000
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 - 0x120]
sub rsp, 0x220
mov rax, qword [0x1404b3028]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, r8
mov r14, rdx
mov r12, rcx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x38], r13d
xor edx, edx
call fcn.1400cf770
test al, al
je 0x1400d29e5
cmp qword [r14 + 0x10], rsi
jne 0x1400d205e
mov edx, r13d
jmp 0x1400d206b
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400d206b
mov rdx, qword [r14]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r12 + 0x48], eax
test eax, eax
jne 0x1400d24ec
cmp dword [rsp + 0x30], 3
je 0x1400d23ee
lea r15, [0x14033a5f8]
lea r13, str.C:LibrarieswxWidgets3.2.4_srcmsw_registry.cpp
xor edi, edi
test al, al
jne 0x1400d210a
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.140044710
mov rbx, rax
or esi, 1
mov dword [rsp + 0x38], esi
cmp dword [0x1404c4ab8], 0
je 0x1400d20ee
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400d20ee
call fcn.140051d10
jmp 0x1400d20f5
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400d210a
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x1400d210a
mov bl, 1
jmp 0x1400d210c
xor bl, bl
test sil, 1
je 0x1400d212e
and esi, 0xfffffffe
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
test bl, bl
je 0x1400d29e5
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x68], rax
lea rdx, str.Registry_value___s__is_not_binary__but_of_type__s_
lea rcx, [rbp + 0x80]
call fcn.140010ee0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
call fcn.14007be90
test rax, rax
je 0x1400d21c9
lea r9, [rbp - 0x60]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x1400d21d8
lea rcx, [rbp + 0x80]
call fcn.14007d380
mov rbx, rax
call fcn.140044e20
mov qword [rsp + 0x40], rax
call fcn.140044e20
mov qword [rsp + 0x48], rax
call fcn.140044e20
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov edx, dword [rsp + 0x30]
lea rcx, [rbp + 0xb0]
call fcn.1400ce610
mov rdi, rax
mov r8, r14
mov rdx, r12
lea rcx, [rbp + 0xe0]
call fcn.1400cd640
mov rbx, rax
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x28], r13
lea rax, str.wxRegKey::QueryValue
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 0x3e1
mov qword [rbp - 0x10], r15
xor eax, eax
mov qword [rbp - 8], rax
mov qword [rbp], rax
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xor eax, eax
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], ax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400c8a40
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x1400d22df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d22da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d23e0
call fcn.14003b258
xor edi, edi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], di
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x1400d234a
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
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, [0x14003f050]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.140059540
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.14003b258
nop
lea rcx, [rsp + 0x40]
call fcn.14003dbf0
nop
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x70]
call fcn.1400119a0
nop
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400d23b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d23ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d23e7
call fcn.14003b258
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
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
mov al, 1
jmp 0x1400d20b4
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 eax, dword [rsp + 0x34]
test eax, eax
je 0x1400d24e2
mov rbx, qword [rdi]
cmp rax, qword [rbx + 8]
jbe 0x1400d2498
lea r15, [rax + 0x400]
mov rdx, r15
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400d2491
cmp qword [rbx], rsi
jne 0x1400d242f
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400d2498
cmp qword [rbx + 0x18], 1
je 0x1400d247b
cmp qword [0x1404b3060], rsi
je 0x1400d247b
lea rax, str.cant_release_shared_buffer
mov qword [rsp + 0x20], rax
lea r9, str.m_ref__1
lea r8, str.wxMemoryBufferData::release
mov edx, 0x1e9
lea rcx, str.C:LibrarieswxWidgets3.2.4includewx_buffer.h
call fcn.140041e40
cmp byte [0x1404c47a8], sil
je 0x1400d247b
mov byte [0x1404c47a8], sil
int3
mov rcx, qword [rbx]
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400d2498
mov qword [rbx], rax
mov qword [rbx + 8], r15
mov rax, qword [rdi]
mov rcx, qword [rax]
cmp qword [r14 + 0x10], rsi
jne 0x1400d24a9
mov r14, r13
jmp 0x1400d24b3
cmp qword [r14 + 0x18], 8
jb 0x1400d24b3
mov r14, qword [r14]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r12 + 0x48], eax
mov edx, dword [rsp + 0x34]
jmp 0x1400d24e4
xor edx, edx
mov rcx, rdi
call fcn.1400d5960
cmp dword [r12 + 0x48], esi
je 0x1400d29e1
xor al, al
lea r15, [0x14033a5f8]
lea r13, str.C:LibrarieswxWidgets3.2.4_srcmsw_registry.cpp
lea rdi, str.wxRegKey::QueryValue
xor r14d, r14d
test al, al
jne 0x1400d2567
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.140044710
mov rbx, rax
or esi, 2
mov dword [rsp + 0x38], esi
cmp dword [0x1404c4ab8], 0
je 0x1400d254b
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1404c4ab8]
je 0x1400d254b
call fcn.140051d10
jmp 0x1400d2552
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1400d2567
mov rcx, rbx
call fcn.1400518b0
cmp eax, 1
jb 0x1400d2567
mov bl, 1
jmp 0x1400d2569
xor bl, bl
test sil, 2
je 0x1400d258f
and esi, 0xfffffffd
mov dword [rsp + 0x38], esi
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
test bl, bl
je 0x1400d29e5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rdx, str.Cant_read_value_of_key__s
lea rcx, [rbp + 0xb0]
call fcn.140010ee0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r14w
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
call fcn.14007be90
test rax, rax
je 0x1400d261e
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xb0]
mov rcx, rax
call fcn.14007c2d0
mov rbx, rax
test rax, rax
jne 0x1400d262d
lea rcx, [rbp + 0xb0]
call fcn.14007d380
mov rbx, rax
call fcn.140044e20
mov qword [rbp - 0x60], rax
call fcn.140044e20
mov qword [rbp - 0x58], rax
call fcn.140044e20
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], r14
lea rdx, str.wx.sys_error
lea rcx, [rbp + 0x80]
call fcn.140010ee0
nop
mov rcx, qword [r12 + 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 + 0xe0]
call fcn.1400476b0
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], r14
or esi, 4
mov dword [rsp + 0x38], esi
cmp qword [r12 + 0x20], 0
je 0x1400d26f3
mov r8d, 1
lea rdx, [0x140349a48]
lea rcx, [rbp + 0xe0]
call fcn.140041c40
lea rdx, [r12 + 0x10]
cmp qword [r12 + 0x28], 8
jb 0x1400d26e2
mov rdx, qword [r12 + 0x10]
mov r8, qword [r12 + 0x20]
lea rcx, [rbp + 0xe0]
call fcn.140041c40
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x50], 0
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x20], 0x3f6
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r14
mov qword [rbp], r14
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
mov qword [rbp + 0x10], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r14
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
cmp qword [rbp + 0x28], 0
je 0x1400d27ab
cmp qword [0x1404b3060], 0
je 0x1400d27ab
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 0x1400d27ab
mov byte [0x1404c47a8], 0
int3
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
lea rcx, [rbp + 0x18]
call fcn.140038360
mov r8, rbx
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x28]
call fcn.1400a8510
nop
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x60]
mov edx, dword [r12 + 0x48]
lea rcx, [rbp - 0x30]
call fcn.1400c8950
nop
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x1400d2848
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2843
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d29cc
call fcn.14003b258
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x1400d28b3
lea r8, [0x14003f090]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.140059540
mov qword [rbx + 0x30], r14
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], r14
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, 0xfffffffb
mov dword [rsp + 0x38], 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
nop
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
lea rcx, [rbp - 0x60]
call fcn.14003dbf0
nop
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x1400d2942
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d293d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d29d3
call fcn.14003b258
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r14w
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400d299a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2995
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d29da
call fcn.14003b258
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
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
mov al, 1
jmp 0x1400d2511
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 0x1400d29e7
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