Function at 0x18000ddc4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov rax, qword [0x18008a480]
xor rax, rsp
mov qword [rbp + 0x40], rax
or eax, 0xffffffff
xor ebx, ebx
mov rdi, rcx
mov esi, eax
mov r14d, eax
mov eax, dword [0x18008a08c]
mov r12d, ebx
mov r13d, ebx
mov r15d, ebx
cmp eax, 0xffffffff
je 0x18004589b
cmp eax, 1
jne 0x18000e110
cmp dword [0x18008a3e4], ebx
mov edx, ebx
lea ecx, [rax + 1]
setne dl
call fcn.18000c748
cmp dword [0x18008a08c], 1
jne 0x18000e110
cmp dword [0x18008a3e0], ebx
mov edx, ebx
mov ecx, 4
setne dl
call fcn.18000c748
cmp dword [0x18008a08c], 1
jne 0x18000e110
test rdi, rdi
je 0x18000e110
mov rax, qword [0x18008a140]
test rax, rax
je 0x18000de8a
lea rcx, [0x18008abd0]
mov esi, ebx
cmp rcx, rax
setne sil
mov ecx, dword [0x18008a070]
cmp esi, 0xffffffff
je 0x1800458ac
cmp ecx, 0xffffffff
lea eax, [rsi + 1]
cmove ecx, ebx
cmp eax, 1
ja 0x1800458ba
neg ecx
sbb edx, edx
and edx, 2
mov ecx, 5
call fcn.18000c748
cmp dword [rdi + 0x44], ebx
je 0x18000def2
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x18000def2
mov ecx, dword [rax + 4]
test ecx, ecx
je 0x18000def2
add rax, 0x20
mov edx, ecx
movzx ecx, word [rax]
cmp ecx, 2
jne 0x1800458c8
inc r12d
add rax, 0x40
dec rdx
jne 0x18000deda
cmp dword [0x18008a08c], 1
jne 0x1800458d9
mov edx, r12d
mov ecx, 6
call fcn.18000c748
mov r12d, 1
cmp dword [0x18008a08c], r12d
jne 0x18000df28
lea ecx, [r12 + 6]
mov edx, r13d
call fcn.18000c748
mov eax, dword [0x18008bb24]
cmp eax, 0xffffffff
jne 0x1800458e4
cmp dword [rdi + 0x44], ebx
je 0x18000e037
mov rsi, qword [rdi + 0x68]
test rsi, rsi
je 0x18000e037
mov r13d, 0xf0
lea r8, [0x1800217d0]
lea rcx, [rsp + 0x50]
mov edx, r13d
call fcn.18000d150
test eax, eax
js 0x18000e037
lea rcx, [rsp + 0x50]
mov r8, rsi
call fcn.18000d0c0
test eax, eax
js 0x18000e037
lea rax, [rsp + 0x40]
lea r8, [0x180022158]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r9d, 2
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x18000dfca
cmp dword [rsp + 0x40], 0xe
ja 0x18003dc58
lea r8, [0x180021850]
lea rcx, [rsp + 0x50]
mov rdx, r13
call fcn.18000d150
test eax, eax
js 0x18000e037
lea rcx, [rsp + 0x50]
mov r8, rsi
call fcn.18000d0c0
test eax, eax
js 0x18000e037
lea rax, [rsp + 0x40]
lea r8, [0x180022158]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r9d, 2
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x18000e037
cmp dword [rsp + 0x40], 4
cmova r15d, r12d
cmp dword [0x18008a08c], r12d
jne 0x18000e052
test r15d, r15d
mov edx, ebx
mov ecx, 9
setne dl
call fcn.18000c748
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x180039cbe
mov eax, dword [rax]
cmp dword [0x18008a08c], r12d
jne 0x18000e076
mov edx, eax
mov ecx, 0xa
call fcn.18000c748
mov eax, dword [0x18008a07c]
cmp eax, 0xffffffff
je 0x18000e098
cmp dword [0x18008a08c], r12d
jne 0x18000e098
test eax, eax
mov edx, ebx
setne dl
xor ecx, ecx
call fcn.18000c748
cmp dword [rdi + 0x44], ebx
je 0x18000e0f1
mov rax, rdi
mov edx, ebx
cmp dword [rax + 0x44], ebx
jbe 0x18000e0bd
lea rcx, [rax + 0xa4]
test dword [rcx], 0x20000000
je 0x1800388ee
mov r14d, r12d
cmp r14d, 0xffffffff
je 0x180038907
test r14d, r14d
je 0x18003890a
cmp r14d, 0xffffffff
je 0x18000e0f1
cmp dword [0x18008a08c], r12d
jne 0x18000e0f1
test r14d, r14d
mov ecx, reloc.WS2_32.dll_inet_addr
setne bl
mov edx, ebx
call fcn.18000c748
mov edx, dword [0x18008a084]
or ebx, 0xffffffff
cmp edx, ebx
jne 0x1800388b3
mov edx, dword [0x18008a080]
cmp edx, ebx
jne 0x1800388d0
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.180001000
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp dword [0x18008a08c], r12d
jne 0x18000e102
mov ecx, reloc.WS2_32.dll_inet_ntoa
call fcn.18000c748
nop
jmp 0x18000e102
cmp dword [0x18008a08c], r12d
jne 0x18000e110
mov ecx, reloc.WS2_32.dll_listen
call fcn.18000c748
nop
jmp 0x18000e110
add edx, r12d
add rcx, 0x88
cmp edx, dword [rax + 0x44]
jae 0x18000e0bd
jmp 0x18003dc4d
mov r14d, ebx
mov rax, qword [rax]
cmp rax, rdi
je 0x18000e0d0
jmp 0x18003dc53
mov eax, ebx
jmp 0x18000e061
jmp 0x18000e0ae
jmp 0x18000e0a0
mov r15d, r12d
jmp 0x18000e037
call qword [sym.imp.ntdll.dll_WinSqmIsOptedIn]
mov dword [0x18008a08c], eax
jmp 0x18000de1a
cmp ecx, 0xffffffff
je 0x18000debc
jmp 0x18000de99
neg ecx
sbb edx, edx
and edx, 2
inc edx
jmp 0x18000deb2
cmp ecx, 0x17
jne 0x18000dee9
inc r13d
jmp 0x18000dee9
mov r12d, 1
jmp 0x18000df28
cmp dword [0x18008a08c], r12d
jne 0x18000df37
test eax, eax
mov edx, ebx
mov ecx, 8
setne dl
call fcn.18000c748
nop
jmp 0x18000df37