Function at 0x140015380
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x14015a038]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov edi, edx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesDiskEnum
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400156ee
lea r8d, [rsi + 0xa]
lea rdx, [rbp - 0x40]
mov ecx, edi
call fcn.1400da930
mov dword [rsp + 0x34], 0x400
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400156e3
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], si
lea rax, [rbp + 0x1d0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140015472
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x68]
call fcn.1400123a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov ecx, gethostbyname
call fcn.14009b4d4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
mov r8d, 1
lea rdx, [0x14012e6c4]
lea rcx, [rsp + 0x58]
call fcn.1400123a0
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1400186e0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140015533
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001552e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015719
call fcn.14009b510
mov rdi, rsi
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdx]
mov ecx, esi
cmp rdx, rax
je 0x14001555b
test ecx, 0xfffffffd
jne 0x140015551
lea rdi, [rax + 0x10]
inc ecx
mov rax, qword [rax]
cmp ecx, 3
jl 0x140015540
test rdi, rdi
je 0x140015692
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov ecx, gethostbyname
call fcn.14009b4d4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
mov r8d, 1
lea rdx, [0x140135038]
lea rcx, [rsp + 0x78]
call fcn.1400123a0
nop
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
mov rcx, rdi
call fcn.1400186e0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140015606
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015601
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001571f
call fcn.14009b510
cmp qword [rsp + 0x60], 0
je 0x140015674
mov rax, qword [rsp + 0x58]
mov r8, qword [rax]
add r8, 0x10
cmp rbx, r8
je 0x140015638
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14001562c
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rbx
call fcn.1400123a0
mov rcx, rbx
call fcn.140014690
mov rax, qword [rbx + 0x10]
mov rcx, rbx
cmp rax, 0x10
jbe 0x140015669
cmp qword [rbx + 0x18], 8
jb 0x140015657
mov rcx, qword [rbx]
mov qword [rbx + reloc.WS2_32.dll_recv], 0x10
movzx eax, word [rcx + rax*2]
mov word [rcx + 0x20], ax
jmp 0x140015674
mov edx, reloc.WS2_32.dll_recv
call fcn.140014570
nop
mov rdx, qword [rsp + 0x58]
call fcn.140017e30
mov edx, gethostbyname
mov rcx, qword [rsp + 0x58]
call fcn.14009b510
mov rdx, qword [rsp + 0x40]
call fcn.140017e30
mov edx, gethostbyname
mov rcx, qword [rsp + 0x40]
call fcn.14009b510
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400156e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400156de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015713
call fcn.14009b510
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.14009b5b0
mov rbx, qword [rsp + 0x710]
add rsp, 0x6e0
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ac408
nop
call fcn.1400ac408
nop
call fcn.1400ac408
int3