Function at 0x14006d510
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400a45d0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
lea rcx, [0x1400a40e0]
mov rax, qword [0x1400a40e0]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rdi], rax
lea r15d, [r14 + 1]
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x77], 0x2073776f
mov dword [rsp + 0x72], 0x6e69575c
mov dword [rsp + 0x6a], 0x6f726369
mov dword [rsp + 0x61], 0x5754464f
mov dword [rbp - 0x7c], 0x72655674
mov dword [rsp + 0x7c], 0x75435c54
mov dword [rsp + 0x66], 0x4d5c4552
mov dword [rbp - 0x77], 0x6e6f69
mov dword [rbp - 0x80], 0x6e657272
mov byte [rsp + 0x65], 0x41
mov dword [rsp + 0x6e], 0x74666f73
mov byte [rsp + 0x60], 0x53
mov byte [rsp + 0x7b], Ordinal_79
mov byte [rbp - 0x78], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x76], 0x64
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14006d76c
mov dword [rsp + 0x34], r15d
mov word [rbp - 0x70], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
call fcn.14004d2b0
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14006d66f
lea r8, [rbp - 0x70]
lea rdx, [0x140098b74]
mov rcx, rdi
call fcn.1400054dc
mov rcx, qword [rdi]
mov eax, dword [rcx - 0x10]
cmp eax, 3
jl 0x14006d761
test eax, eax
jns 0x14006d68d
mov ecx, 0x80070057
call fcn.140005dac
int3
cmp byte [rcx], 0x36
jne 0x14006d761
cmp eax, 2
jge 0x14006d6a6
mov ecx, 0x80070057
call fcn.140005dac
int3
mov al, byte [rcx + 2]
sub al, 0x32
cmp al, r15b
ja 0x14006d761
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.CurrentMajorVersionNumber
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
movzx ebx, r14b
test eax, eax
cmove ebx, r15d
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.CurrentMinorVersionNumber
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test bl, bl
je 0x14006d761
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
lea rdx, str._d._d
mov rcx, rdi
call fcn.1400054dc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140049680
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret