Function at 0x140004ee0
Capabilities:
Check os version
Get hostname

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1070]
mov eax, 0x1170
call fcn.14000c8b0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x11a8], rbx
mov qword [rsp + 0x11b0], rsi
mov qword [rsp + 0x11b8], rdi
mov rax, qword [0x1400170a8]
xor rax, rsp
mov qword [rbp + 0x1060], rax
mov r13, rcx
mov qword [rsp + 0x28], rcx
lea rax, vtable.DFC::NameInfo.0
mov qword [rcx], rax
lea rsi, [rcx + 8]
mov qword [rsi + 0x18], 7
xor ecx, ecx
mov qword [rsi + 0x10], rcx
mov word [rsi], cx
lea rbx, [r13 + 0x30]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rcx
mov word [rbx], cx
mov qword [r13 + 0x70], 7
mov qword [r13 + 0x68], rcx
mov word [r13 + 0x58], cx
mov qword [r13 + 0x98], 7
mov qword [r13 + 0x90], rcx
mov word [r13 + 0x80], cx
mov qword [r13 + 0xc0], 7
mov qword [r13 + 0xb8], rcx
mov word [r13 + 0xa8], cx
mov qword [r13 + 0xe8], 7
mov qword [r13 + 0xe0], rcx
mov word [r13 + 0xd0], cx
mov word [rbp + 0x60], cx
xor edx, edx
mov r8d, 0xffe
lea rcx, [rbp + 0x62]
call fcn.14000ab90
mov dword [rsp + 0x20], 0x800
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140005045
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x140005045
mov edx, eax
mov rax, qword [r13 + 0x68]
lea rcx, [r13 + 0x58]
cmp rdx, rax
ja 0x14000501c
or r8, 0xffffffffffffffff
call fcn.140004670
jmp 0x140005024
sub rdx, rax
call fcn.1400043d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x60]
lea rcx, [r13 + 0x58]
call fcn.140004510
xor edx, edx
mov r8d, 0x114
lea rcx, [rsp + 0x40]
call fcn.14000ab90
mov dword [rsp + 0x40], 0x114
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x44], 5
jb 0x1400052bc
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x60]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x20]
mov rax, qword [r13 + 0x90]
lea rcx, [r13 + 0x80]
cmp rdx, rax
ja 0x1400050b3
or r8, 0xffffffffffffffff
call fcn.140004670
jmp 0x1400050bb
sub rdx, rax
call fcn.1400043d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x60]
lea rcx, [r13 + 0x80]
call fcn.140004510
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x60]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x20]
mov rax, qword [r13 + 0xb8]
lea rcx, [r13 + 0xa8]
cmp rdx, rax
ja 0x14000511d
or r8, 0xffffffffffffffff
call fcn.140004670
jmp 0x140005125
sub rdx, rax
call fcn.1400043d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.140004510
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x60]
mov ecx, 7
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x20]
mov rax, qword [r13 + 0xe0]
lea rcx, [r13 + 0xd0]
cmp rdx, rax
ja 0x140005187
or r8, 0xffffffffffffffff
call fcn.140004670
jmp 0x14000518f
sub rdx, rax
call fcn.1400043d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x60]
lea rcx, [r13 + 0xd0]
call fcn.140004510
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x20]
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp rdx, rax
ja 0x1400051e7
or r8, 0xffffffffffffffff
call fcn.140004670
jmp 0x1400051ef
sub rdx, rax
call fcn.1400043d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x60]
mov rcx, rsi
call fcn.140004510
lea rdx, [r13 + 0x58]
mov rcx, rsi
call fcn.1400039f0
xor r12d, r12d
test eax, eax
jne 0x140005234
mov qword [rsi + 0x10], r12
cmp qword [rsi + 0x18], 8
jb 0x140005230
mov rsi, qword [rsi]
mov word [rsi], r12w
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x60]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x20]
mov rax, qword [rbx + 0x10]
mov rcx, rbx
cmp rdx, rax
ja 0x14000526b
or r8, 0xffffffffffffffff
call fcn.140004670
jmp 0x140005273
sub rdx, rax
call fcn.1400043d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140004510
lea rdx, [r13 + 0x80]
mov rcx, rbx
call fcn.1400039f0
test eax, eax
jne 0x1400052ba
mov qword [rbx + 0x10], r12
cmp qword [rbx + 0x18], 8
jb 0x1400052b4
mov rbx, qword [rbx]
mov word [rbx], r12w
jmp 0x1400052bc
jmp 0x1400052bc
mov rax, r13
mov rcx, qword [rbp + 0x1060]
xor rcx, rsp
call fcn.1400077b0
lea r11, [rsp + 0x1170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret