Function at 0x140038d80
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400b8518]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r12, rdx
mov r14, rcx
mov qword [rbp], 0xf
xor edi, edi
mov qword [rbp - 8], rdi
mov byte [rbp - 0x18], dil
mov qword [rbp + 0x20], 0xf
mov qword [rbp + 0x18], rdi
mov byte [rbp + 8], dil
mov qword [rbp + 0x60], 0xf
mov qword [rbp + 0x58], rdi
mov byte [rbp + 0x48], dil
lea r9d, [rdi + 1]
xor r8d, r8d
call fcn.14003a200
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400395c3
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0xa8]
mov rcx, r14
call fcn.140039d80
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140031a20
lea rcx, [rbp + 0xa8]
call fcn.140023b60
lea rcx, [rbp + 0x48]
call fcn.140038bf0
mov r15, rax
nop dword [rax + rax]
lea rbx, [rsi + 1]
mov r9d, 1
mov r8, rbx
mov rcx, r14
call fcn.14003a200
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14003906b
cmp rbx, rax
jae 0x14003906b
mov eax, edi
cmp qword [rbp - 8], rax
seta al
mov r9, rsi
mov r8, rbx
mov rcx, r14
sub r9, rbx
test eax, eax
je 0x140038f8f
lea rdx, [rbp + 0x68]
call fcn.140039d80
nop
mov r8, rax
lea rcx, [rbp + 0x28]
call fcn.14003a350
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14002ca80
nop
mov rax, qword [rbp + 0x40]
cmp rax, 0x10
jb 0x140038f1b
inc rax
mov rcx, qword [rbp + 0x28]
cmp rax, 0xffffffffffffffff
ja 0x14003901e
cmp rax, 0x1000
jb 0x140038f16
test cl, 0x1f
jne 0x140039017
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140039010
sub rcx, rax
cmp rcx, 8
jb 0x140039009
cmp rcx, 0x27
ja 0x140039002
mov rcx, rax
call fcn.14005b0e8
mov qword [rbp + 0x40], 0xf
mov qword [rbp + 0x38], rdi
mov byte [rbp + 0x28], 0
mov rax, qword [rbp + 0x80]
cmp rax, 0x10
jb 0x140038e50
inc rax
mov rcx, qword [rbp + 0x68]
cmp rax, 0xffffffffffffffff
ja 0x140039041
cmp rax, 0x1000
jb 0x140038f85
test cl, 0x1f
jne 0x14003903a
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140039033
sub rcx, rax
cmp rcx, 8
jb 0x14003902c
cmp rcx, 0x27
ja 0x140039025
mov rcx, rax
call fcn.14005b0e8
jmp 0x140038e50
lea rdx, [rbp + 0x88]
call fcn.140039d80
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140031a20
mov rax, qword [rbp + 0xa0]
cmp rax, 0x10
jb 0x140038e50
inc rax
mov rcx, qword [rbp + 0x88]
cmp rax, 0xffffffffffffffff
ja 0x140039064
cmp rax, 0x1000
jb 0x140038ff8
test cl, 0x1f
jne 0x14003905d
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140039056
sub rcx, rax
cmp rcx, 8
jb 0x14003904f
cmp rcx, 0x27
ja 0x140039048
mov rcx, rax
call fcn.14005b0e8
jmp 0x140038e50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r9, qword [r14 + 0x10]
mov r8, rbx
lea rdx, [rbp + 0xc8]
mov rcx, r14
call fcn.140039d80
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140031a20
lea rcx, [rbp + 0xc8]
call fcn.140023b60
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rsi, qword [rbp - 0x18]
mov ecx, 0x18
call fcn.14005ad34
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400390d6
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14005c070
mov qword [rbx], rax
jmp 0x1400390d9
mov rbx, rdi
test rbx, rbx
jne 0x1400390e9
mov ecx, 0x8007000e
call fcn.14005bf20
int3
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
setne sil
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003914b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003912c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003913e
call fcn.14005b0f0
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14005b0f0
test sil, sil
je 0x1400392ed
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rsi, qword [rbp - 0x18]
mov ecx, 0x18
call fcn.14005ad34
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140039191
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14005c070
mov qword [rbx], rax
jmp 0x140039194
mov rbx, rdi
test rbx, rbx
jne 0x1400391a4
mov ecx, 0x8007000e
call fcn.14005bf20
int3
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
setne sil
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140039206
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400391e7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400391f9
call fcn.14005b0f0
mov qword [rbx + 8], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14005b0f0
test sil, sil
je 0x1400392ed
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x110]
call fcn.140030380
nop
mov dword [rax + 0x4c], 1
lea rdx, str._DBG___N_A_
mov rcx, rax
call fcn.140028450
mov rcx, rax
lea rdx, str.Key__
call fcn.140028450
mov rsi, rax
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rdi
mov byte [rbp - 0x80], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x80]
call fcn.140025680
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140027ca0
mov rbx, rax
lea rcx, [rsi + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
call fcn.14002d0b0
lea rcx, [rsi + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
call fcn.14002d0b0
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1400392bc
inc r8
mov rdx, qword [rbp - 0x60]
call fcn.14002cf50
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x60], di
lea rdx, str.__not_found.
mov rcx, rsi
call fcn.140028450
nop
lea rcx, [rbp + 0x110]
call fcn.140027f10
jmp 0x140039649
mov r14, qword [rsp + 0x50]
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rdx, qword [rbp + 8]
lea rcx, [rsp + 0x58]
call fcn.140038670
mov rdx, qword [rax]
test rdx, rdx
je 0x140039317
mov rdx, qword [rdx]
jmp 0x14003931a
mov rdx, rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea rcx, [rsp + 0x58]
call fcn.140028740
test esi, esi
jne 0x140039530
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x1400393ff
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x160]
call fcn.140030380
nop
mov dword [rax + 0x4c], 3
lea rdx, str._ERR___N_A_
mov rcx, rax
call fcn.140028450
mov rcx, rax
lea rdx, str.Malloc_failed_
call fcn.140028450
mov rcx, rax
lea rdx, str.Value__
call fcn.140028450
mov rbx, rax
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.1400285b0
lea rdx, str.__from_key__
mov rcx, rbx
call fcn.140028450
mov rbx, rax
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.1400285b0
lea rdx, str.__not_read.
mov rcx, rbx
call fcn.140028450
nop
lea rcx, [rbp + 0x160]
call fcn.140027f10
mov esi, 0xea
jmp 0x1400395b2
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rdx, qword [rbp + 8]
lea rcx, [rsp + 0x38]
call fcn.140038670
mov rcx, qword [rax]
test rcx, rcx
je 0x140039422
mov rdi, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea rcx, [rsp + 0x38]
call fcn.140028740
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.14002ba30
mov rdx, rax
lea rcx, [rbp + 0xe8]
call fcn.14002ed10
mov rdx, rax
mov rcx, r12
call fcn.140031a20
lea rcx, [rbp + 0xe8]
call fcn.140023b60
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x1b0]
call fcn.140030380
nop
mov dword [rax + 0x4c], 1
lea rdx, str._DBG___N_A_
mov rcx, rax
call fcn.140028450
mov rcx, rax
lea rdx, str.Value__
call fcn.140028450
mov rbx, rax
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.1400285b0
lea rdx, str.__from_key__
mov rcx, rbx
call fcn.140028450
mov rbx, rax
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.1400285b0
lea rdx, str.__read_successfully._Value_
mov rcx, rbx
call fcn.140028450
mov rbx, rax
mov rdx, r12
mov rcx, rax
call fcn.1400285b0
lea rdx, [0x1400a1708]
mov rcx, rbx
call fcn.140028450
nop
lea rcx, [rbp + 0x1b0]
call fcn.140027f10
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400395b2
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x200]
call fcn.140030380
nop
mov dword [rax + 0x4c], 1
lea rdx, str._DBG___N_A_
mov rcx, rax
call fcn.140028450
mov rcx, rax
lea rdx, str.Value__
call fcn.140028450
mov rbx, rax
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.1400285b0
lea rdx, str.__from_key__
mov rcx, rbx
call fcn.140028450
mov rbx, rax
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.1400285b0
lea rdx, str.__not_read.
mov rcx, rbx
call fcn.140028450
nop
lea rcx, [rbp + 0x200]
call fcn.140027f10
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ebx, si
jmp 0x14003964e
mov dword [rsp + 0x60], 0xdf
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x250]
call fcn.140030380
nop
mov dword [rax + 0x4c], 3
lea rdx, str._ERR___N_A_
mov rcx, rax
call fcn.140028450
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140038a20
nop
lea rcx, [rbp + 0x250]
call fcn.140027f10
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140039649
mov rdx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.14003a8c0
mov r8, qword [rsp + 0x78]
sub r8, rbx
sar r8, 5
mov rdx, rbx
call fcn.1400370e0
mov ebx, 5
lea rcx, [rbp + 0x48]
call fcn.140023b60
nop
lea rcx, [rbp + 8]
call fcn.140023b60
nop
lea rcx, [rbp - 0x18]
call fcn.140023b60
mov eax, ebx
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14005ad10
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret