Function at 0x1400821e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140134bf8]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rsi, r8
mov rax, rdx
mov rdi, rcx
mov qword [rbp - 0x58], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rbp - 0x48], r12
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov ebx, 1
mov dword [rsp + 0x40], ebx
mov dword [rbp - 0x50], r12d
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140082254
mov rdx, qword [r8]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008249b
mov r14d, r12d
movabs r13, 0x7fffffffffffffff
mov dword [rbp - 0x50], 0x400
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x40]
mov edx, r14d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov r15d, eax
test eax, eax
jne 0x14008248b
mov r8d, dword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.140032030
nop
mov rcx, qword [rsi + 0x10]
mov rax, r13
sub rax, rcx
cmp rax, 1
jb 0x1400824dd
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140082304
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
lea rax, [0x140118b80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call fcn.1400490e0
or ebx, 2
mov dword [rsp + 0x40], ebx
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.14008a800
or ebx, 4
mov dword [rsp + 0x40], ebx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14008238b
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], socket
mov byte [rsp + 0x48], 0
add qword [rdi + 8], 0x20
jmp 0x140082398
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.140051e80
and ebx, 0xfffffffb
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400823dc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400823d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400824e3
call fcn.1400ae030
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], socket
mov byte [rsp + 0x48], 0
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140082431
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008242c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400824e9
call fcn.1400ae030
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], recv
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140082479
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082474
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400824d7
call fcn.1400ae030
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], recv
mov byte [rsp + 0x68], 0
inc r14d
cmp r15d, 0x103
jne 0x140082284
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400824aa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400ae010
mov rbx, qword [rsp + 0x528]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140091028
nop
call fcn.14002d720
int3
call fcn.140091028
nop
call fcn.140091028
int3