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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009d810]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x48], ebx
lea rcx, str.x__b_
mov rax, qword [str.x__b_]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rdi], rax
mov esi, 1
mov dword [rsp + 0x48], esi
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, esi
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140066637
mov dword [rsp + 0x34], esi
mov word [rbp - 0x70], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
call fcn.1400467a0
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 0x14006653b
lea r8, [rbp - 0x70]
lea rdx, [0x1400937dc]
mov rcx, rdi
call fcn.140005810
mov rcx, qword [rdi]
mov eax, dword [rcx - 0x10]
cmp eax, 3
jl 0x14006662c
test eax, eax
jns 0x140066559
mov ecx, 0x80070057
call fcn.140006270
int3
cmp byte [rcx], 0x36
jne 0x14006662c
cmp eax, 2
jge 0x140066572
mov ecx, 0x80070057
call fcn.140006270
int3
movzx eax, byte [rcx + 2]
sub al, 0x32
cmp al, sil
ja 0x14006662c
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], ebx
xor bl, bl
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, bl
test eax, eax
cmove ebx, esi
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 0x14006662c
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
lea rdx, str._d._d
mov rcx, rdi
call fcn.140005810
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.140042af0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret