Function at 0x140002130
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x3d8
movaps xmmword [rsp + 0x3c0], xmm6
mov rsi, rcx
mov rax, qword [0x14008ae00]
xor rax, rsp
mov qword [rsp + 0x3b8], rax
mov dword [rsp + 0x44], 0x100
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], recv
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400021d3
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400021d3
mov rdi, rax
lea rcx, [rsp + 0x19c]
mov r8d, 0x110
xor edx, edx
call fcn.140055dc0
mov dword [rsp + 0x198], 0x114
lea rcx, [rsp + 0x198]
call rdi
test eax, eax
je 0x1400021e8
lea rcx, [rsp + 0x198]
mov r8d, 0x114
xor edx, edx
call fcn.140055dc0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x101
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000225e
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r8, str.ProductName
xor edx, edx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov edi, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14000228a
mov rcx, qword [rsp + 0x3b8]
xor rcx, rsp
call fcn.14002bd70
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x3c0]
add rsp, 0x3d8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp dword [rsp + 0x19c], 0xa
jne 0x1400022d6
cmp dword [rsp + 0x1a4], 0x55f0
jb 0x1400022d6
cmp dword [rsp + 0x44], 0xb
jb 0x1400022d6
movabs rax, 0x2073776f646e6957
xor rax, qword [rsp + 0x2b0]
movzx ecx, word [rsp + 0x2b8]
xor rcx, 0x3031
or rcx, rax
jne 0x1400022d6
mov byte [rsp + 0x2b9], 0x31
lea rcx, [rsp + 0x2b0]
call fcn.14003b4f0
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov r8, rdx
sub r8, rcx
cmp r8, rax
jae 0x14000231e
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x2b0]
mov rcx, rsi
mov rdx, rax
call fcn.140004680
cmp word [rsp + 0x1ac], 0
jne 0x14000235a
jmp 0x14000225e
mov rdi, rax
add rdi, rcx
mov qword [rsi + 0x10], rdi
mov rbx, rsi
cmp rdx, 0x10
jb 0x140002334
mov rbx, qword [rsi]
add rcx, rbx
lea rdx, [rsp + 0x2b0]
mov r8, rax
call fcn.140055720
mov byte [rbx + rdi], 0
cmp word [rsp + 0x1ac], 0
je 0x14000225e
lea r8, [rsp + 0x1ac]
xorps xmm6, xmm6
movups xmmword [rsp + 0x30], xmm6
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x100
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14000225e
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x90]
call fcn.14003b4f0
test rax, rax
js 0x140002657
mov rdi, rax
cmp rax, 0xf
ja 0x1400023ef
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], recv
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x90]
mov r8, rdi
call fcn.140055720
add rdi, rsp
add rdi, 0x50
jmp 0x140002455
mov rax, rdi
or rax, 0xf
cmp rax, 0x17
mov r14d, socket
cmovae r14, rax
cmp r14, 0xfff
jb 0x140002424
lea rcx, [r14 + 0x28]
call fcn.14002bc78
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140002430
lea rcx, [r14 + 1]
call fcn.14002bc78
mov rbx, rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
lea rdx, [rsp + 0x90]
mov rcx, rbx
mov r8, rdi
call fcn.140055720
add rdi, rbx
mov byte [rdi], 0
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
cmp rax, rdx
jne 0x140002496
lea rax, [0x140081841]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
lea rcx, [rsp + 0x50]
mov edx, 1
xor r9d, r9d
call fcn.140004800
mov rdi, rax
jmp 0x140002526
lea r8, [rdx + 1]
mov qword [rsp + 0x60], r8
cmp rax, 0x10
mov rcx, qword [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov rbx, rdi
cmovae rbx, rcx
lea r9, [0x140081842]
mov r14d, 1
mov r15d, 1
cmp rbx, r9
jae 0x1400024e6
add rdx, rbx
lea r9, [0x140081841]
cmp rdx, r9
jb 0x1400024e6
mov r15, rbx
sub r15, r9
ja 0x1400024e6
xor r15d, r15d
cmp rax, 0x10
cmovb rcx, rdi
inc rcx
mov rdx, rbx
call fcn.140055720
lea r12, [0x140081841]
mov rcx, rbx
mov rdx, r12
mov r8, r15
call fcn.140055720
sub r14, r15
lea rdx, [r15 + r12]
inc rdx
add rbx, r15
mov rcx, rbx
mov r8, r14
call fcn.140055720
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov r8, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0x10
jb 0x140002567
mov r9, qword [rsp + 0x70]
jmp 0x14000256c
lea r9, [rsp + 0x70]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x140002591
mov qword [rsp + 0x20], r8
mov rcx, rsi
mov rdx, r8
call fcn.140004680
jmp 0x1400025b4
lea rdi, [rcx + r8]
mov qword [rsi + 0x10], rdi
mov rbx, rsi
cmp rax, 0x10
jb 0x1400025a5
mov rbx, qword [rsi]
add rcx, rbx
mov rdx, r9
call fcn.140055720
mov byte [rbx + rdi], 0
mov rax, qword [rsp + 0x88]
cmp rax, 0x10
jb 0x1400025f4
mov rcx, qword [rsp + 0x70]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400025ef
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000265c
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14002bcbc
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], recv
mov byte [rsp + 0x70], 0
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x14000225e
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000264d
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000265c
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14002bcbc
jmp 0x14000225e
call fcn.140004660
call fcn.140038150
int3