Function at 0x1401bd370
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 - 0x140]
sub rsp, 0x240
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, r8
mov rsi, rdx
mov r12, rcx
xor edi, edi
mov r14d, edi
mov dword [rsp + 0x30], edi
xor edx, edx
call fcn.1401b9c30
test al, al
je 0x1401be081
mov dword [rsp + 0x60], 4
cmp qword [rsi + 0x10], rdi
jne 0x1401bd3d3
mov edx, edi
jmp 0x1401bd3e0
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1401bd3e0
mov rdx, qword [rsi]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r12 + 0x48], eax
test eax, eax
je 0x1401bdcb9
xor al, al
lea r15, [0x1403c8f48]
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_registry.cpp
lea rsi, str.wxRegKey::QueryValue
test al, al
jne 0x1401bd47a
mov rdx, r15
lea rcx, [rbp + 0x20]
call fcn.14010a1d0
mov rbx, rax
or r14d, 1
mov dword [rsp + 0x30], r14d
cmp dword [0x140575068], 0
je 0x1401bd45e
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1401bd45e
call fcn.140136fe0
jmp 0x1401bd465
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1401bd47a
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x1401bd47a
mov bl, 1
jmp 0x1401bd47c
xor bl, bl
test r14b, 1
je 0x1401bd49e
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x20]
call fcn.14000e160
test bl, bl
je 0x1401be081
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140575108]
test rax, rax
jne 0x1401bd4c8
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.Cant_read_value_of_key__s
lea rcx, [rbp - 0x60]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rbp - 0x78], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x1401bd4f8
inc word [rbx + 0x10]
or r14d, 4
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x1401bd54a
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x1401bd541
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x1401bd53f
cmp byte [rdi + 0x12], 0
je 0x1401bd532
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.14036c454
xor edi, edi
call fcn.14010aa30
mov qword [rbp - 0x60], rax
mov rdx, qword [rbx]
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], di
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401bd570
lea rcx, [rbp + 0x20]
call fcn.14001d300
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x1401bd5cc
mov eax, 0xffff
add word [rbx + 0x10], ax
jne 0x1401bd5c3
test rbx, rbx
je 0x1401bd5c3
cmp byte [rbx + 0x12], 0
je 0x1401bd5b6
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.14036c454
call fcn.14010aa30
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
call fcn.140149fa0
test rax, rax
je 0x1401bd632
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401bd63e
lea rcx, [rbp + 0x20]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x38], rax
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov rax, qword [0x140575108]
test rax, rax
jne 0x1401bd67e
call fcn.140120770
mov qword [0x140575108], rax
mov r9, rax
mov r8, qword [0x1403c87b8]
lea rdx, str.wx.sys_error
lea rcx, [rbp - 0x50]
call fcn.140109720
nop
mov rbx, qword [rax]
mov qword [rbp - 0x70], rbx
call fcn.14010aa30
cmp rbx, rax
je 0x1401bd6ae
inc word [rbx + 0x10]
or r14d, 8
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
mov rcx, qword [rbp - 0x50]
cmp rcx, rax
je 0x1401bd700
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x1401bd6f7
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x1401bd6f5
cmp byte [rdi + 0x12], 0
je 0x1401bd6e8
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.14036c454
xor edi, edi
call fcn.14010aa30
mov qword [rbp - 0x50], rax
mov rdx, qword [rbx]
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], di
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401bd730
lea rcx, [rbp + 0xd0]
call fcn.14001d300
and r14d, 0xfffffff7
mov dword [rsp + 0x30], r14d
call fcn.14010aa30
cmp rbx, rax
je 0x1401bd78f
mov eax, 0xffff
add word [rbx + 0x10], ax
jne 0x1401bd786
test rbx, rbx
je 0x1401bd786
cmp byte [rbx + 0x12], 0
je 0x1401bd779
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.14036c454
call fcn.14010aa30
mov qword [rbp - 0x70], rax
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], rdi
mov r8b, 1
lea rdx, [rbp + 0x100]
mov rcx, r12
call fcn.1401b7cd0
nop
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
mov byte [rbp - 0x80], 0
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x50], 1
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x68], rsi
mov dword [rbp + 0x60], 0x382
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], rdi
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0x88], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], di
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], rdi
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
cmp qword [rbp + 0xa8], 0
je 0x1401bd880
cmp qword [0x14055a4b8], 0
je 0x1401bd880
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 0x1401bd880
mov byte [0x1405750a8], 0
int3
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 8
cmovae rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
lea rcx, [rbp + 0x98]
call fcn.14001d300
mov r8, rbx
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x58]
call fcn.140183e20
mov edi, dword [r12 + 0x48]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.1401448b0
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x1401bd92a
cmp qword [0x14055a4b8], 0
je 0x1401bd92a
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:ProjectwxWidgets_3.2.2.1includewx_strvararg.h
call fcn.140118ee0
cmp byte [0x1405750a8], 0
je 0x1401bd92a
mov byte [0x1405750a8], 0
int3
lea rcx, [rsp + 0x38]
call fcn.140143f20
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140145800
mov r9, rax
mov r8, rbx
mov edx, edi
lea rcx, [rbp + 0x50]
call fcn.1401839a0
nop
cmp byte [rbp - 0x80], 0
je 0x1401bd983
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1401bd983
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 + 0xb8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x1401bd9d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bd9d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bdc96
call fcn.14036c454
xor edi, edi
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], di
mov rbx, qword [rbp + 0x90]
test rbx, rbx
je 0x1401bda4d
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 + 0x120]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x100]
call fcn.14000e160
nop
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0xe8]
cmp rdx, 8
jb 0x1401bdabb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bdab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bdc9d
call fcn.14036c454
nop
call fcn.14010aa30
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
je 0x1401bdb05
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x1401bdafb
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1401bdafb
cmp byte [rbx + 0x12], 0
je 0x1401bdaee
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.14036c454
call fcn.14010aa30
mov qword [rsp + 0x48], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1401bdb4f
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x1401bdb45
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1401bdb45
cmp byte [rbx + 0x12], 0
je 0x1401bdb38
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.14036c454
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1401bdb99
mov eax, 0xffff
add word [rcx + 0x10], ax
jne 0x1401bdb8f
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1401bdb8f
cmp byte [rbx + 0x12], 0
je 0x1401bdb82
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.14036c454
call fcn.14010aa30
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1401bdbe3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bdbde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bdca4
call fcn.14036c454
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1401bdc39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bdc34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bdcab
call fcn.14036c454
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1401bdc8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bdc8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401bdcb2
call fcn.14036c454
mov al, 1
jmp 0x1401bd425
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
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]
int3
mov eax, dword [rsp + 0x34]
add eax, 0xfffffffc
cmp eax, 1
jbe 0x1401be07d
xor al, al
lea r15, [0x1403c8f48]
lea r13, str.C:ProjectwxWidgets_3.2.2.1_srcmsw_registry.cpp
nop dword [rax]
test al, al
jne 0x1401bdd38
mov rdx, r15
lea rcx, [rbp + 0x100]
call fcn.14010a1d0
mov rbx, rax
or r14d, 2
mov dword [rsp + 0x30], r14d
cmp dword [0x140575068], 0
je 0x1401bdd1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x140575068]
je 0x1401bdd1c
call fcn.140136fe0
jmp 0x1401bdd23
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x1401bdd38
mov rcx, rbx
call fcn.140136b60
cmp eax, 1
jb 0x1401bdd38
mov bl, 1
jmp 0x1401bdd3a
xor bl, bl
test r14b, 2
je 0x1401bdd5d
and r14d, 0xfffffffd
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x100]
call fcn.14000e160
test bl, bl
je 0x1401be081
lea rax, [rbp + 0x100]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x68], rax
lea rdx, str.Registry_value___s__is_not_numeric__but_of_type__s_
lea rcx, [rbp + 0x20]
call fcn.1400104b0
nop
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
call fcn.140149fa0
test rax, rax
je 0x1401bddeb
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.14014a3e0
mov rbx, rax
test rax, rax
jne 0x1401bddf7
lea rcx, [rbp + 0x20]
call fcn.14014b190
mov rbx, rax
call fcn.14010aa30
mov qword [rsp + 0x38], rax
call fcn.14010aa30
mov qword [rsp + 0x40], rax
call fcn.14010aa30
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov edx, dword [rsp + 0x34]
lea rcx, [rbp + 0x100]
call fcn.1401b8ac0
mov rdi, rax
mov r8, rsi
mov rdx, r12
lea rcx, [rbp + 0xd0]
call fcn.1401b7bd0
mov rbx, rax
mov dword [rbp + 0x50], 1
mov qword [rbp + 0x58], r13
lea rax, str.wxRegKey::QueryValue
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x60], 0x389
mov qword [rbp + 0x70], r15
xor eax, eax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp + 0x88], eax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
xor eax, eax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], ax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.1401b2680
nop
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x1401bdf1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bdf17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401be068
call fcn.14036c454
xor edi, edi
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], di
mov rbx, qword [rbp + 0x90]
test rbx, rbx
je 0x1401bdf93
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 + 0x38]
call fcn.140010cb0
nop
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1401bdfe8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401bdfe3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401be06f
call fcn.14036c454
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1401be03e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401be039
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401be076
call fcn.14036c454
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp + 0x20]
call fcn.14000e160
mov al, 1
jmp 0x1401bdce0
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 0x1401be083
xor al, al
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14036c0d0
mov rbx, qword [rsp + 0x298]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret