Function at 0x14003e550
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x678]
sub rsp, 0x750
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x640], rax
mov r15, r8
mov rdi, rdx
mov rcx, rdx
call fcn.14003f900
mov rbx, rax
mov r9, rax
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.14003f8c0
nop
mov r9, qword [rdi + 0x10]
inc r9
lea r8, [rbx + 1]
lea rdx, [rbp + 0x168]
mov rcx, rdi
call fcn.14003f8c0
nop
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rsi, qword [rbp - 0x18]
mov ecx, 0x18
call fcn.1400602dc
mov rdi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rax, rax
je 0x14003e608
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14005fe00
mov qword [rdi], rax
jmp 0x14003e60b
mov rdi, rbx
test rdi, rdi
jne 0x14003e61b
mov ecx, 0x8007000e
call fcn.14005fdd0
int3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
setne sil
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x14003e681
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003e662
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003e674
call fcn.1400602c4
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400602c4
test sil, sil
je 0x14003e79f
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rsi, qword [rbp - 0x18]
mov ecx, 0x18
call fcn.1400602dc
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14003e6c7
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.14005fe00
mov qword [rdi], rax
jmp 0x14003e6ca
mov rdi, rbx
test rdi, rdi
jne 0x14003e6da
mov ecx, 0x8007000e
call fcn.14005fdd0
int3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
setne sil
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x14003e740
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003e721
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003e733
call fcn.1400602c4
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.1400602c4
test sil, sil
je 0x14003e79f
lea rdx, str.iusl::WindowsRegistry::FindKeyWithUnknownPath
lea rcx, [rbp + 0x190]
call fcn.1400251a0
nop
mov dword [rax + 0x4c], 3
lea rdx, str.Couldnt_find__
mov rcx, rax
call fcn.1400257b0
mov rbx, rax
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.140025970
lea rdx, str.__in_registry.
mov rcx, rbx
call fcn.1400257b0
nop
lea rcx, [rbp + 0x190]
call fcn.140025350
jmp 0x14003ef16
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x60], ebx
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x430]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14003ef16
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14003eefe
mov r14d, ebx
lea r12, [0x1400c83f0]
mov dword [rsp + 0x7c], 0xff
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x230]
mov edx, r14d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14003ed66
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
cmp word [rbp + 0x230], ax
jne 0x14003e8a0
mov r8, rbx
jmp 0x14003e8bb
lea rax, [rbp + 0x230]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003e8b0
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x60]
call fcn.14002b600
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x48]
call fcn.140024a50
nop
mov r8, rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x28]
call fcn.1400402a0
nop
lea r8, [rbp + 0x168]
mov rdx, rax
lea rcx, [rbp + 0x108]
call fcn.14002d8f0
nop
mov rax, qword [rbp + 0x40]
cmp rax, 0x10
jb 0x14003e94f
inc rax
mov rcx, qword [rbp + 0x28]
cmp rax, 0x1000
jb 0x14003e94a
test cl, 0x1f
jne 0x14003ed8e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003ed87
sub rcx, rax
cmp rcx, 8
jb 0x14003ed80
cmp rcx, 0x27
ja 0x14003ed79
mov rcx, rax
call fcn.1400605c0
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x38], rbx
mov byte [rbp + 0x28], 0
mov rax, qword [rbp + 0x60]
cmp rax, 0x10
jb 0x14003e9ad
inc rax
mov rcx, qword [rbp + 0x48]
cmp rax, 0x1000
jb 0x14003e9a8
test cl, 0x1f
jne 0x14003edaa
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003eda3
sub rcx, rax
cmp rcx, 8
jb 0x14003ed9c
cmp rcx, 0x27
ja 0x14003ed95
mov rcx, rax
call fcn.1400605c0
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x48], 0
lea rdx, [rbp + 0x108]
call fcn.14003e0e0
test al, al
je 0x14003ed5a
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x18], rbx
mov byte [rbp + 8], 0
lea rcx, [rbp + 0x148]
call fcn.14003df90
nop
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
cmp word [rbp + 0x230], 0
jne 0x14003ea0d
mov r8, rbx
jmp 0x14003ea2b
lea rax, [rbp + 0x230]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003ea20
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x40]
call fcn.14002b600
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xe8]
call fcn.140024a50
mov rdi, rax
lea r8, [0x1400a2b80]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0xc8]
call fcn.14002e490
nop
lea r8, [rbp - 0x18]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.14002d8f0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140040300
nop
lea r8, [0x1400a2b80]
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.14002e570
nop
lea r8, [0x1400c8370]
mov rdx, rax
lea rcx, [rbp + 0x128]
call fcn.14002d8f0
nop
mov rax, qword [rbp + 0x80]
cmp rax, 0x10
jb 0x14003eb0c
inc rax
mov rcx, qword [rbp + 0x68]
cmp rax, 0x1000
jb 0x14003eb07
test cl, 0x1f
jne 0x14003edc6
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003edbf
sub rcx, rax
cmp rcx, 8
jb 0x14003edb8
cmp rcx, 0x27
ja 0x14003edb1
mov rcx, rax
call fcn.1400605c0
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x78], rbx
mov byte [rbp + 0x68], 0
mov rax, qword [rbp + 0xa0]
cmp rax, 0x10
jb 0x14003eb73
inc rax
mov rcx, qword [rbp + 0x88]
cmp rax, 0x1000
jb 0x14003eb6e
test cl, 0x1f
jne 0x14003ede2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003eddb
sub rcx, rax
cmp rcx, 8
jb 0x14003edd4
cmp rcx, 0x27
ja 0x14003edcd
mov rcx, rax
call fcn.1400605c0
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x98], rbx
mov byte [rbp + 0x88], 0
mov rax, qword [rbp + 0xc0]
cmp rax, 0x10
jb 0x14003ebe0
inc rax
mov rcx, qword [rbp + 0xa8]
cmp rax, 0x1000
jb 0x14003ebdb
test cl, 0x1f
jne 0x14003edfe
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003edf7
sub rcx, rax
cmp rcx, 8
jb 0x14003edf0
cmp rcx, 0x27
ja 0x14003ede9
mov rcx, rax
call fcn.1400605c0
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xb8], rbx
mov byte [rbp + 0xa8], 0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x14003ec4d
inc rax
mov rcx, qword [rbp + 0xc8]
cmp rax, 0x1000
jb 0x14003ec48
test cl, 0x1f
jne 0x14003ee1a
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003ee13
sub rcx, rax
cmp rcx, 8
jb 0x14003ee0c
cmp rcx, 0x27
ja 0x14003ee05
mov rcx, rax
call fcn.1400605c0
mov qword [rbp + 0xe0], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xd8], rbx
mov byte [rbp + 0xc8], 0
mov rax, qword [rbp + 0x100]
cmp rax, 0x10
jb 0x14003ecba
inc rax
mov rcx, qword [rbp + 0xe8]
cmp rax, 0x1000
jb 0x14003ecb5
test cl, 0x1f
jne 0x14003ee36
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003ee2f
sub rcx, rax
cmp rcx, 8
jb 0x14003ee28
cmp rcx, 0x27
ja 0x14003ee21
mov rcx, rax
call fcn.1400605c0
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], rbx
mov byte [rbp + 0xe8], 0
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x128]
call fcn.14003ef60
test eax, eax
jne 0x14003ed36
mov rdx, r12
cmp qword [0x1400c8408], 0x10
cmovae rdx, qword [0x1400c83f0]
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rcx, qword [rbp + 8]
mov rdi, qword [0x1400c8400]
mov r8, rdi
mov rsi, qword [rbp + 0x18]
cmp rsi, rdi
cmovb r8, rsi
test r8, r8
je 0x14003ed2b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003ed36
cmp rsi, rdi
jb 0x14003ed36
jbe 0x14003ee3d
lea rcx, [rbp + 0x128]
call fcn.14002a810
nop
lea rcx, [rbp + 0x148]
call fcn.14002a810
nop
lea rcx, [rbp + 8]
call fcn.14002a810
nop
lea rcx, [rbp + 0x108]
call fcn.14002a810
inc r14d
cmp r14d, dword [rsp + 0x60]
jae 0x14003eefe
jmp 0x14003e840
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]
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]
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]
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]
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]
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
lea rax, [rbp + 0x108]
cmp r15, rax
je 0x14003ee5f
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x108]
mov rcx, r15
call fcn.14002bb00
lea rdx, str.iusl::WindowsRegistry::FindKeyWithUnknownPath
lea rcx, [rbp + 0x1e0]
call fcn.1400251a0
nop
mov dword [rax + 0x4c], 1
lea rdx, str.Found_matching_key:__
mov rcx, rax
call fcn.1400257b0
mov rdi, rax
mov rdx, r15
mov rcx, rax
call fcn.140025970
lea rdx, [0x1400a6c40]
mov rcx, rdi
call fcn.1400257b0
nop
lea rcx, [rbp + 0x1e0]
call fcn.140025350
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x128]
call fcn.14002a810
nop
lea rcx, [rbp + 0x148]
call fcn.14002a810
nop
lea rcx, [rbp + 8]
call fcn.14002a810
nop
lea rcx, [rbp + 0x108]
call fcn.14002a810
jmp 0x14003ef1b
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 5
lea rcx, [rbp + 0x168]
call fcn.14002a810
nop
lea rcx, [rbp - 0x18]
call fcn.14002a810
mov eax, ebx
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1400602a0
lea r11, [rsp + 0x750]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret