Function at 0x1400db780
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0x88
mov rax, qword [0x1406fe698]
xor rax, rsp
mov qword [rbp + 0x3f], rax
call fcn.1400bfb90
mov rcx, rax
mov rbx, rax
call fcn.1400bf3d0
test eax, eax
je 0x1400db7b9
mov rax, rbx
jmp 0x1400dba93
lea rcx, str.Windows
mov qword [rsp + 0xa8], rdi
call fcn.1400bff20
mov r8, rax
lea rdx, [0x1404230b8]
mov rcx, rbx
call fcn.1400c0380
lea rcx, str.ntoskrnl.exe
call fcn.1400dbab0
mov rdi, rax
test rax, rax
jne 0x1400db807
lea rcx, [0x140424af0]
call fcn.1400dbab0
mov rdi, rax
test rax, rax
je 0x1400db822
lea r9, [rbp + 0x17]
mov rcx, rdi
lea r8, [rbp + 0xf]
lea rdx, reloc.SHELL32.dll_PathGetShortPath
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400db83c
mov rcx, rdi
call fcn.1400c36a0
mov rcx, rbx
call fcn.1400bf090
call fcn.1400bfb80
jmp 0x1400dba8b
mov rcx, qword [rbp + 0xf]
lea r8, str._u._u._u._lu
mov qword [rsp + 0xa0], rsi
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r14
mov eax, dword [rcx + 0x18]
and dword [rcx + 0x1c], eax
mov rcx, qword [rbp + 0xf]
mov qword [rsp + 0x80], r15
mov eax, dword [rcx + 8]
mov r15d, eax
movzx r12d, ax
mov eax, dword [rcx + 0xc]
mov esi, eax
movzx r14d, ax
lea rcx, [rbp + 0x1f]
mov dword [rsp + 0x30], r14d
shr esi, 0x10
shr r15d, 0x10
mov dword [rsp + 0x28], esi
mov r9d, r15d
mov dword [rsp + 0x20], r12d
call fcn.1400c05b0
lea rcx, [rbp + 0x1f]
call fcn.1400bff20
mov r8, rax
lea rdx, str.kernel_version
mov rcx, rbx
call fcn.1400c0380
mov rcx, rdi
call fcn.1400c36a0
xor edi, edi
mov dword [rbp + 7], 4
lea rax, [rbp + 7]
mov dword [rbp + 0xb], edi
mov qword [rsp + 0x30], rax
lea r8, str.CurrentMajorVersionNumber
lea rax, [rbp + 0xb]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x10]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea r9d, [rdi + 0x10]
mov dword [rbp + 7], 4
test eax, eax
lea r8, str.CurrentMinorVersionNumber
lea rax, [rbp + 7]
mov rcx, 0xffffffff80000002
cmove r15d, dword [rbp + 0xb]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xb]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea r9d, [rdi + 2]
mov dword [rbp + 7], reloc.WLDAP32.dll_Ordinal_32
test eax, eax
lea r8, str.CurrentBuild
lea rax, [rbp + 7]
mov rcx, 0xffffffff80000002
cmove r12d, dword [rbp + 0xb]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x1400db9ab
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.1400d18e0
cvttsd2si rsi, xmm0
lea rax, [rbp + 7]
mov dword [rbp + 7], 4
mov qword [rsp + 0x30], rax
lea r8, [0x140424bb0]
lea rax, [rbp + 0xb]
mov r9d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [rsp + 0x28], esi
lea r8, str._u._u._u
test eax, eax
mov dword [rsp + 0x20], r12d
mov r9d, r15d
lea rcx, [rbp + 0x1f]
cmove r14d, dword [rbp + 0xb]
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400c05b0
lea rcx, [rbp + 0x1f]
call fcn.1400bff20
mov r8, rax
lea rdx, str.version
mov rcx, rbx
call fcn.1400c0380
mov r9d, r14d
lea r8, [0x140424bc4]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 0x1f]
call fcn.1400c05b0
lea rcx, [rbp + 0x1f]
call fcn.1400bff20
mov r8, rax
lea rdx, str.build
mov rcx, rbx
call fcn.1400c0380
mov rcx, rbx
call fcn.1400bf170
mov r15, qword [rsp + 0x80]
mov rax, rbx
mov r14, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140134a90
add rsp, 0x88
pop rbx
pop rbp
ret