Function at 0x140031de0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
movabs rax, 0x6cb5398d4e321542
lea rdx, [rsp + 0x60]
mov qword [rbp - 0x80], rax
movabs rsi, 0x6cc139eb4e5d1511
movabs rax, 0x82254f90871dfb61
mov qword [rsp + 0x40], rsi
mov qword [rbp - 0x78], rax
movabs r14, 0x82404fe2877cfb16
movups xmm0, xmmword [rbp - 0x80]
movabs rax, 0x5929836e7f81add7
mov qword [rsp + 0x48], r14
mov qword [rbp - 0x70], rax
movabs rbx, 0x596883257fc4ad8b
xorps xmm0, xmmword [rsp + 0x40]
movabs rax, 0x2e0cc6bcbe724972
mov qword [rbp - 0x68], rax
movabs rdi, 0x2e0cc6bcbe2a4928
movups xmm1, xmmword [rbp - 0x70]
lea rax, [rbp + 0x200]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov r9d, 0x20019
xorps xmm1, xmmword [rsp + 0x50]
xor r8d, r8d
mov rcx, 0xffffffff80000001
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003209f
mov rcx, qword [rbp + 0x200]
lea r9, [rbp + 0x1f8]
movabs rax, 0x6ca439864e381543
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x60]
movabs rax, 0x82324f87871efb7b
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x48], rax
xor r8d, r8d
movups xmm0, xmmword [rsp + 0x40]
movabs rax, 0x590183427fabadc7
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x50], rax
movabs rax, 0x2e0cc6bcbe2a4946
xorps xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x1f0]
movups xmm1, xmmword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x140108df4]
mov qword [rsp + 0x78], rdi
xorps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm1
mov dword [rbp + 0x1f0], 4
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140031f6f
cmp dword [rbp + 0x1f8], 4
je 0x140031f76
mov byte [reloc.WS2_32.dll_accept], 0
mov rcx, qword [rbp + 0x200]
lea r9, [rbp + 0x1f8]
movabs rax, 0x6ca8398c4e32155d
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x60]
movabs rax, 0x82394f878737fb78
mov qword [rsp + 0x78], rdi
movups xmm1, xmmword [rsp + 0x70]
mov qword [rsp + 0x68], rax
xor r8d, r8d
movups xmm0, xmmword [rsp + 0x60]
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], r14
xorps xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
xorps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x60], xmm0
mov dword [rbp + 0x1f0], reloc.WS2_32.dll_sendto
movdqa xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003208b
cmp dword [rbp + 0x1f8], 3
jne 0x14003208b
xor edx, edx
mov eax, edx
nop
movq xmm1, qword [rbp + rax - 0x80]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
movdqu xmmword [rbp + rax*2 - 0x40], xmm1
add rax, 8
cmp rax, 0x10
jl 0x140032020
mov eax, reloc.WS2_32.dll_recv
movzx ecx, byte [rbp + rax - 0x80]
mov word [rbp + rax*2 - 0x40], cx
inc rax
cmp rax, 0x14
jl 0x140032042
mov qword [rsp + 0x38], rdx
lea rax, [0x140109e20]
mov qword [rsp + 0x30], rdx
lea r8, [rbp - 0x40]
mov dword [rsp + 0x28], 0x100
mov r9d, 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov word [rbp - 0x18], dx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x140032092
mov byte [0x140109e20], 0
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x2c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret