Function at 0x1401bc9a0
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 [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, r8
mov r15, rdx
mov r12, rcx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x38], r13d
xor edx, edx
call fcn.1401b9c30
test al, al
je 0x1401bd341
cmp qword [r15 + 0x10], rsi
jne 0x1401bc9fe
mov edx, r13d
jmp 0x1401bca0b
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x1401bca0b
mov rdx, qword [r15]
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 0x1401bced4
cmp dword [rsp + 0x30], 3
je 0x1401bcdd6
lea r14, [0x1403c8f48]
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_registry.cpp
xor edi, edi
test al, al
jne 0x1401bcaaa
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.14010a1d0
mov rbx, rax
or esi, 1
mov dword [rsp + 0x38], esi
cmp dword [0x140575068], 0
je 0x1401bca8e
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1401bca8e
call fcn.140136fe0
jmp 0x1401bca95
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1401bcaaa
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x1401bcaaa
mov bl, 1
jmp 0x1401bcaac
xor bl, bl
test sil, 1
je 0x1401bcace
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.14000e160
test bl, bl
je 0x1401bd341
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x68], rax
lea rdx, str.Registry_value___s__is_not_binary__but_of_type__s_
lea rcx, [rbp + 0x80]
call fcn.1400104b0
nop
mov qword [rsp + 0x70], rdi
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
mov qword [rbp - 0x60], rdi
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
call fcn.140149fa0
test rax, rax
je 0x1401bcb66
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401bcb75
lea rcx, [rbp + 0x80]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov qword [rsp + 0x48], rax
call fcn.14010aa30
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov edx, dword [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.1401b8ac0
mov rdi, rax
mov r8, r15
mov rdx, r12
lea rcx, [rbp + 0xb0]
call fcn.1401b7bd0
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], 0x3de
mov qword [rbp - 0x10], r14
xor eax, eax
mov qword [rbp - 8], rax
mov qword [rbp], rax
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xor eax, eax
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.1401b2680
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 0x1401bcc79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bcc74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bcdc1
call fcn.14036c454
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 0x1401bcce4
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
lea rcx, [rsp + 0x40]
call fcn.140010cb0
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 0x1401bcd39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bcd34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bcdc8
call fcn.14036c454
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
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 0x1401bcd90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bcd8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bcdcf
call fcn.14036c454
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], 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.14000e160
mov al, 1
jmp 0x1401bca54
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 eax, dword [rsp + 0x34]
test eax, eax
je 0x1401bceca
mov rbx, qword [rdi]
cmp rax, qword [rbx + 8]
jbe 0x1401bce80
lea r14, [rax + 0x400]
mov rdx, r14
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1401bce79
cmp qword [rbx], rsi
jne 0x1401bce17
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1401bce80
cmp qword [rbx + 0x18], 1
je 0x1401bce63
cmp qword [0x14055a4b8], rsi
je 0x1401bce63
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:ProjectwxWidgets_3.2.2.1includewx_buffer.h
call fcn.140118ee0
cmp byte [0x1405750a8], sil
je 0x1401bce63
mov byte [0x1405750a8], 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 0x1401bce80
mov qword [rbx], rax
mov qword [rbx + 8], r14
mov rax, qword [rdi]
mov rcx, qword [rax]
cmp qword [r15 + 0x10], rsi
jne 0x1401bce91
mov r15, r13
jmp 0x1401bce9b
cmp qword [r15 + 0x18], 8
jb 0x1401bce9b
mov r15, qword [r15]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r12 + 0x48], eax
mov edx, dword [rsp + 0x34]
jmp 0x1401bcecc
xor edx, edx
mov rcx, rdi
call fcn.140130a20
cmp dword [r12 + 0x48], esi
je 0x1401bd33d
xor al, al
lea r14, [0x1403c8f48]
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_registry.cpp
lea rdi, str.wxRegKey::QueryValue
xor r15d, r15d
nop dword [rax]
test al, al
jne 0x1401bcf56
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.14010a1d0
mov rbx, rax
or esi, 2
mov dword [rsp + 0x38], esi
cmp dword [0x140575068], 0
je 0x1401bcf3a
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1401bcf3a
call fcn.140136fe0
jmp 0x1401bcf41
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1401bcf56
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x1401bcf56
mov bl, 1
jmp 0x1401bcf58
xor bl, bl
test sil, 2
je 0x1401bcf7a
and esi, 0xfffffffd
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
test bl, bl
je 0x1401bd341
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rdx, str.Cant_read_value_of_key__s
lea rcx, [rbp + 0xb0]
call fcn.1400104b0
nop
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r15
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
call fcn.140149fa0
test rax, rax
je 0x1401bd006
lea r9, [rbp + 0x50]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0xb0]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401bd015
lea rcx, [rbp + 0xb0]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rbp - 0x60], rax
call fcn.14010aa30
mov qword [rbp - 0x58], rax
call fcn.14010aa30
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], r15
lea rdx, str.wx.sys_error
lea rcx, [rbp + 0x80]
call fcn.1400104b0
nop
mov r8b, 1
lea rdx, [rbp + 0xe0]
mov rcx, r12
call fcn.1401b7cd0
nop
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x50], 0
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x20], 0x3f3
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r15
mov qword [rbp], r15
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 8], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
cmp qword [rbp + 0x28], 0
je 0x1401bd10d
cmp qword [0x14055a4b8], 0
je 0x1401bd10d
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 0x1401bd10d
mov byte [0x1405750a8], 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.14001d300
mov r8, rbx
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x28]
call fcn.140183e20
nop
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x60]
mov edx, dword [r12 + 0x48]
lea rcx, [rbp - 0x30]
call fcn.1401b2590
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 0x1401bd1aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bd1a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bd328
call fcn.14036c454
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x1401bd216
lea r8, [0x1400110e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
call fcn.14011b9f0
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, [0x140011220]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
call fcn.14011b9f0
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.14036c454
nop
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
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.14000e160
nop
lea rcx, [rbp - 0x60]
call fcn.140010cb0
nop
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 0x1401bd29f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bd29a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bd32f
call fcn.14036c454
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
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 0x1401bd2f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bd2f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bd336
call fcn.14036c454
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
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
mov al, 1
jmp 0x1401bcf00
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 0x1401bd343
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