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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x40], xmm6
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov edi, edx
mov rsi, rcx
mov dword [rbp + 0x34], 0
mov eax, dword [0x1401cefe8]
mov ecx, dword [0x1401de370]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
mov dword [rbp + 0x30], edi
jg 0x14003bd3d
cmp qword [0x1401cefe0], 0
je 0x14003bcfb
mov ecx, 0x20
call fcn.1400bef70
mov rbx, rax
xor r14d, r14d
mov ecx, 0x40
xor edx, edx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14003bd14
lea r15, [rbp + 0x34]
mov ecx, send
mov rdx, rbx
mov r8d, 0x20
mov r9, r15
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14003bb13
lea rdi, [rbp + 0x34]
mov r14d, dword [rbp + 0x34]
mov rcx, rbx
mov rdx, r14
call fcn.1400bef80
mov rbx, rax
mov ecx, send
mov rdx, rax
mov r8d, r14d
mov r9, rdi
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14003bae4
mov edi, dword [rbp + 0x30]
test eax, eax
js 0x14003bd00
cmp dword [rbx], 0
je 0x14003bd0b
mov qword [rbp - 0x18], rsi
vxorps xmm6, xmm6, xmm6
mov r13, qword [sym.imp.ntdll.dll_NtQueryObject]
xor esi, esi
xor eax, eax
mov qword [rbp + 0x18], rax
lea rax, [rsi + rsi*2]
mov ecx, dword [rbx + rax*8 + 8]
movzx r12d, word [rbx + rax*8 + 0xe]
vmovaps xmmword [rbp - 0x10], xmm6
mov qword [rbp], 0
mov qword [rbp + 8], send
cmp ecx, edi
jne 0x14003bcd5
mov ecx, 0x68
call fcn.1400bef70
mov rdi, rax
mov qword [rbp + 0x20], 0
mov r14, qword [0x1401cefe0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
mov rcx, qword [rbp - 0x20]
mov rdx, r12
mov r8, rax
lea r9, [rbp + 0x20]
call r14
mov r12d, 0x68
mov rcx, qword [rbp + 0x20]
mov qword [rsp + 0x20], r15
mov edx, 2
mov r8, rdi
mov r9d, r12d
call r13
mov r14d, eax
mov r12d, dword [rbp + 0x34]
mov rcx, rdi
mov rdx, r12
call fcn.1400bef80
mov rdi, rax
cmp r14d, 0xc0000004
je 0x14003bbb1
test r14d, r14d
js 0x14003bca3
mov rcx, qword [rdi + 8]
lea rdx, str.File
call fcn.1400bef88
test eax, eax
jne 0x14003bca3
mov edx, 0x104
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.140012596
lea rcx, [rbp - 0x10]
call fcn.140011f5e
mov rcx, qword [rbp + 0x20]
mov rdx, rax
mov r8d, 0x104
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleA]
lea r12, [rbp - 0x10]
mov rcx, r12
call fcn.140011f5e
lea r14, [rax + 4]
mov rcx, r12
call fcn.140011f5e
mov rcx, r12
lea r12, [rbp - 0x40]
mov rdx, r12
mov r8, rax
mov r9, r14
call fcn.14003be16
mov rcx, qword [rbp - 0x18]
mov rdx, r12
lea r8, [rbp + 0x2f]
call fcn.140014cb4
mov rcx, r12
call fcn.1400121c8
mov r14, rax
lea rcx, [rbp - 0x10]
call fcn.140011f5e
mov rcx, rax
mov rdx, r14
call fcn.14010bc00
mov r14d, eax
mov rcx, r12
call fcn.14000e914
test r14d, r14d
je 0x14003bcee
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14003bcb2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14b, 1
test rdi, rdi
je 0x14003bcc2
mov rcx, rdi
call fcn.1400bdd60
lea rcx, [rbp - 0x10]
call fcn.14000e914
test r14b, r14b
mov edi, dword [rbp + 0x30]
jne 0x14003bcde
jmp 0x14003bd10
lea rcx, [rbp - 0x10]
call fcn.14000e914
inc rsi
mov eax, dword [rbx]
cmp rsi, rax
jb 0x14003bb3b
jmp 0x14003bd05
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x18], rax
xor r14d, r14d
jmp 0x14003bcba
xor r14d, r14d
jmp 0x14003bd21
xor r14d, r14d
jmp 0x14003bd14
mov r14, qword [rbp + 0x18]
jmp 0x14003bd19
xor r14d, r14d
jmp 0x14003bd19
mov r14, qword [rbp + 0x18]
test rbx, rbx
je 0x14003bd21
mov rcx, rbx
call fcn.1400bdd60
mov rax, r14
vmovaps xmm6, xmmword [rbp + 0x40]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x1401cefe8]
call fcn.1400b8578
cmp dword [0x1401cefe8], 0xffffffff
jne 0x14003ba84
lea rcx, [0x14010ec52]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14010ec40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401cefe0], rax
lea rcx, [0x1401cefe8]
call fcn.1400b850c
mov edi, dword [rbp + 0x30]
jmp 0x14003ba84