Function at 0x14003dfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x3b0], rbx
mov rax, qword [0x1400ab020]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
xor r13d, r13d
mov qword [rbp - 0x50], r13
mov byte [rbp - 0x60], r13b
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x30], r13
mov byte [rbp - 0x40], r13b
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x20], r13b
lea r9d, [r13 + 1]
xor r8d, r8d
call fcn.14003ea40
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14003e83f
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, rsi
call fcn.140035950
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140021350
lea rcx, [rbp + 0x60]
call fcn.1400212b0
lea rcx, [rbp - 0x20]
call fcn.14003d1e0
mov r15, rax
or r14, 0xffffffffffffffff
nop word [rax + rax]
lea rbx, [rdi + 1]
mov r9d, 1
mov r8, rbx
mov rcx, rsi
call fcn.14003ea40
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003e2bf
cmp rbx, rax
jae 0x14003e2bf
mov eax, r13d
cmp qword [rbp - 0x50], rax
seta al
mov r9, rdi
mov r8, rbx
mov rcx, rsi
sub r9, rbx
test eax, eax
je 0x14003e1ec
lea rdx, [rbp + 0x20]
call fcn.140035950
nop
mov r8, rax
lea rcx, [rbp]
call fcn.14003eba0
nop
mov r9, r14
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140022920
nop
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x14003e17b
inc rax
mov rcx, qword [rbp]
cmp rax, 0xffffffffffffffff
ja 0x14003e272
cmp rax, 0x1000
jb 0x14003e176
test cl, 0x1f
jne 0x14003e26b
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003e264
sub rcx, rax
cmp rcx, 8
jb 0x14003e25d
cmp rcx, 0x27
ja 0x14003e256
mov rcx, rax
call fcn.140055148
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x10], r13
mov byte [rbp], 0
mov rax, qword [rbp + 0x38]
cmp rax, 0x10
jb 0x14003e0b0
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, 0xffffffffffffffff
ja 0x14003e295
cmp rax, 0x1000
jb 0x14003e1e2
test cl, 0x1f
jne 0x14003e28e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003e287
sub rcx, rax
cmp rcx, 8
jb 0x14003e280
cmp rcx, 0x27
ja 0x14003e279
mov rcx, rax
call fcn.140055148
jmp 0x14003e0b0
lea rdx, [rbp + 0x40]
call fcn.140035950
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140021350
mov rax, qword [rbp + 0x58]
cmp rax, 0x10
jb 0x14003e0b0
inc rax
mov rcx, qword [rbp + 0x40]
cmp rax, 0xffffffffffffffff
ja 0x14003e2b8
cmp rax, 0x1000
jb 0x14003e24c
test cl, 0x1f
jne 0x14003e2b1
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003e2aa
sub rcx, rax
cmp rcx, 8
jb 0x14003e2a3
cmp rcx, 0x27
ja 0x14003e29c
mov rcx, rax
call fcn.140055148
jmp 0x14003e0b0
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 [rsi + 0x10]
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, rsi
call fcn.140035950
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140021350
lea rcx, [rbp + 0x80]
call fcn.1400212b0
lea rdi, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdi, qword [rbp - 0x60]
mov ecx, 0x18
call fcn.140054e64
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14003e32a
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rdi
call fcn.140054790
mov qword [rbx], rax
jmp 0x14003e32d
mov rbx, r13
test rbx, rbx
jne 0x14003e33d
mov ecx, 0x8007000e
call fcn.140054630
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 dil
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003e39f
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003e380
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003e392
call fcn.140055150
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.140055150
test dil, dil
je 0x14003e4c8
lea rdi, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdi, qword [rbp - 0x60]
mov ecx, 0x18
call fcn.140054e64
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003e3e5
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rdi
call fcn.140054790
mov qword [rbx], rax
jmp 0x14003e3e8
mov rbx, r13
test rbx, rbx
jne 0x14003e3f8
mov ecx, 0x8007000e
call fcn.140054630
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 dil
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14003e45a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003e43b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003e44d
call fcn.140055150
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.140055150
test dil, dil
je 0x14003e4c8
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0xc0]
call fcn.14001c5c0
nop
mov dword [rax + 0x4c], 1
lea rdx, str._DBG___N_A_
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Key__
call fcn.14001cc00
mov rbx, rax
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14001cdd0
lea rdx, str.__not_found.
mov rcx, rbx
call fcn.14001cc00
nop
lea rcx, [rbp + 0xc0]
call fcn.14001c780
jmp 0x14003e8c5
mov rsi, qword [rsp + 0x50]
lea rdi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdi, qword [rbp - 0x40]
mov ecx, 0x18
call fcn.140054e64
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003e50a
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rdi
call fcn.140054790
mov qword [rbx], rax
jmp 0x14003e50d
mov rbx, r13
test rbx, rbx
jne 0x14003e51d
mov ecx, 0x8007000e
call fcn.140054630
int3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14003e57f
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003e560
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003e572
call fcn.140055150
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.140055150
test edi, edi
jne 0x14003e7ac
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 0x14003e638
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x110]
call fcn.14001c5c0
nop
mov dword [rax + 0x4c], 3
lea rdx, str._ERR___N_A_
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Malloc_failed_
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Value__
call fcn.14001cc00
mov rbx, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14001cdd0
lea rdx, str.__from_key__
mov rcx, rbx
call fcn.14001cc00
mov rbx, rax
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14001cdd0
lea rdx, str.__not_read.
mov rcx, rbx
call fcn.14001cc00
nop
lea rcx, [rbp + 0x110]
call fcn.14001c780
mov edi, 0xea
jmp 0x14003e82e
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003cc40
mov rdx, qword [rax]
test rdx, rdx
je 0x14003e65d
mov rdx, qword [rdx]
jmp 0x14003e660
mov rdx, r13
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14003e6cd
lock xadd dword [rbx + 0x10], r14d
cmp r14d, 1
jne 0x14003e6cd
test rbx, rbx
je 0x14003e6cd
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003e6ae
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003e6c0
call fcn.140055150
mov qword [rbx + 8], r13
mov edx, 0x18
mov rcx, rbx
call fcn.140055150
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.140021260
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14001be70
mov rdx, rax
mov rcx, r12
call fcn.140021350
lea rcx, [rbp + 0xa0]
call fcn.1400212b0
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x160]
call fcn.14001c5c0
nop
mov dword [rax + 0x4c], 1
lea rdx, str._DBG___N_A_
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Value__
call fcn.14001cc00
mov rbx, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14001cdd0
lea rdx, str.__from_key__
mov rcx, rbx
call fcn.14001cc00
mov rbx, rax
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14001cdd0
lea rdx, str.__read_successfully._Value_
mov rcx, rbx
call fcn.14001cc00
mov rbx, rax
mov rdx, r12
mov rcx, rax
call fcn.14001cdd0
lea rdx, [0x140090ac8]
mov rcx, rbx
call fcn.14001cc00
nop
lea rcx, [rbp + 0x160]
call fcn.14001c780
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003e82e
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x1b0]
call fcn.14001c5c0
nop
mov dword [rax + 0x4c], 1
lea rdx, str._DBG___N_A_
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Value__
call fcn.14001cc00
mov rbx, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14001cdd0
lea rdx, str.__from_key__
mov rcx, rbx
call fcn.14001cc00
mov rbx, rax
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14001cdd0
lea rdx, str.__not_read.
mov rcx, rbx
call fcn.14001cc00
nop
lea rcx, [rbp + 0x1b0]
call fcn.14001c780
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ebx, di
jmp 0x14003e8ca
mov dword [rsp + 0x58], 0xdf
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
lea rdx, str.iusl::WindowsRegistry::GetValueString
lea rcx, [rbp + 0x200]
call fcn.14001c5c0
nop
mov dword [rax + 0x4c], 3
lea rdx, str._ERR___N_A_
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.14003d010
nop
lea rcx, [rbp + 0x200]
call fcn.14001c780
nop
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14003e8c5
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.140025e10
mov r8, qword [rsp + 0x70]
sub r8, rbx
sar r8, 5
mov rdx, rbx
call fcn.140023090
mov ebx, 5
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x14003e932
inc rax
mov rcx, qword [rbp - 0x20]
cmp rax, 0xffffffffffffffff
jbe 0x14003e8e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rax, 0x1000
jb 0x14003e92d
test byte [rbp - 0x20], 0x1f
je 0x14003e8fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14003e90d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14003e91d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14003e92a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055148
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x20], 0
lea rcx, [rbp - 0x40]
call fcn.1400212b0
nop
lea rcx, [rbp - 0x60]
call fcn.1400212b0
mov eax, ebx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140054e30
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret