Function at 0x14006f430
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x1400d5bd0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov edi, edx
mov dword [rbp - 0x75], edx
mov qword [rbp - 0x71], rcx
xor r14d, r14d
mov ebx, r14d
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x19], r14d
mov ecx, 4
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1400d943c], eax
jle 0x14006f4d3
lea rcx, [0x1400d943c]
call fcn.1400983a0
cmp dword [0x1400d943c], 0xffffffff
jne 0x14006f4d3
lea rcx, [0x1400c0df0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDuplicateObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d93e8], rax
lea rcx, [0x1400d943c]
call fcn.140098334
cmp qword [0x1400d93e8], 0
jne 0x14006f4e4
xor eax, eax
jmp 0x14006f907
mov ecx, 0x20
call fcn.140083b38
mov r15, rax
mov qword [rbp + 0x17], r14
mov r8d, edi
xor edx, edx
lea ecx, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x14006f8e8
lea r9, [rbp - 0x19]
mov r8d, 0x20
mov rdx, r15
lea ecx, [r8 - 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14006f55c
mov edx, dword [rbp - 0x19]
mov rcx, r15
call fcn.14007db24
mov r15, rax
lea r9, [rbp - 0x19]
mov r8d, dword [rbp - 0x19]
mov rdx, rax
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14006f531
test eax, eax
js 0x14006f8e8
mov r12d, r14d
cmp dword [r15], r14d
jbe 0x14006f8e8
movzx ebx, byte [rbp - 0x79]
nop dword [rax]
nop dword [rax + rax]
mov eax, r12d
lea rcx, [rax + rax*2]
movups xmm2, xmmword [r15 + rcx*8 + 8]
movups xmmword [rbp - 0x41], xmm2
xorps xmm1, xmm1
movups xmmword [rbp - 9], xmm1
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], r14
mov qword [rbp + 7], r14
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
movd eax, xmm2
cmp eax, edi
je 0x14006f5fc
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14006f8c8
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f5f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f98d
call fcn.1400982f0
jmp 0x14006f8c8
mov ecx, 0x68
mov r14d, ecx
call fcn.140083b38
mov rsi, rax
mov qword [rbp - 0x11], 0
mov rdi, qword [0x1400d93e8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rax
movups xmm0, xmmword [rbp - 0x41]
pextrw edx, xmm0, 3
mov dword [rsp + 0x30], 2
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x11]
mov rcx, r13
call rdi
nop dword [rax + rax]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rsi
mov edx, 2
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov edi, eax
mov r14d, dword [rbp - 0x19]
mov edx, r14d
mov rcx, rsi
call fcn.14007db24
mov rsi, rax
cmp edi, 0xc0000004
je 0x14006f650
xor r14d, r14d
test edi, edi
js 0x14006f86d
mov eax, r14d
mov rdx, qword [rsi + 8]
lea r8, str.File
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x14006f86d
cmp rax, 5
jne 0x14006f6a3
mov rcx, qword [rbp + 7]
cmp rcx, 0x104
jb 0x14006f6e8
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
mov qword [rbp + 7], 0x104
mov byte [rax + 0x104], r14b
jmp 0x14006f747
mov r14d, 0x104
sub r14, rcx
mov rdx, qword [rbp + 0xf]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14006f72c
mov qword [rbp + 7], 0x104
lea rdi, [rbp - 9]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 9]
add rdi, rcx
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.14009a430
mov byte [rdi + r14], 0
jmp 0x14006f744
mov byte [rsp + 0x20], 0
mov r9, r14
movzx r8d, bl
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.140041da0
xor r14d, r14d
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
xor r9d, r9d
mov r8d, 0x104
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
lea r10, [rbp - 9]
mov r9, qword [rbp - 9]
mov r8, qword [rbp + 0xf]
cmp r8, 0x10
cmovae r10, r9
add r10, 4
lea rcx, [rbp - 9]
cmp r8, 0x10
cmovae rcx, r9
lea rax, [rbp - 9]
cmovae rax, r9
mov rdx, rcx
sub rdx, rax
sub r10, rcx
mov rdi, qword [rbp + 7]
mov rax, rdi
sub rax, rdx
cmp rax, r10
cmovb r10, rax
lea rcx, [rbp - 9]
cmp r8, 0x10
cmovae rcx, r9
add rcx, rdx
sub rdi, r10
mov r8, rdi
sub r8, rdx
inc r8
lea rdx, [rcx + r10]
call fcn.14009a7f0
mov qword [rbp + 7], rdi
lea rdx, [rbp - 0x61]
mov rcx, qword [rbp - 0x71]
call fcn.14002bf90
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006f7f0
mov rdx, qword [rax]
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
sub rdx, rax
movzx ecx, byte [rax]
cmp cl, byte [rax + rdx]
jne 0x14006f815
inc rax
test cl, cl
jne 0x14006f801
mov edi, r14d
jmp 0x14006f81a
sbb edi, edi
or edi, 1
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x14006f855
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f850
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f987
call fcn.1400982f0
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x49], send
mov byte [rbp - 0x61], 0
test edi, edi
je 0x14006f92e
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14006f87c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x14006f88a
mov rcx, rsi
call fcn.14007a008
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14006f8c5
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f8c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f98d
call fcn.1400982f0
mov edi, dword [rbp - 0x75]
mov qword [rbp + 7], r14
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
inc r12d
cmp r12d, dword [r15]
jb 0x14006f580
mov rbx, qword [rbp - 0x69]
test r15, r15
je 0x14006f8f6
mov rcx, r15
call fcn.14007a008
nop
test r13, r13
je 0x14006f904
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400982d0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rbp - 0x11]
mov rcx, rsi
call fcn.14007a008
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14006f972
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f96d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f98d
call fcn.1400982f0
mov qword [rbp + 7], r14
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
jmp 0x14006f8e8
call fcn.14007a428
nop
call fcn.14007a428
int3