Function at 0x140019120
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x1400b7c40]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r9
mov qword [rbp - 0x71], r9
mov rsi, r8
mov qword [rbp - 0x41], r8
mov rdi, rdx
mov qword [rbp - 0x31], rdx
mov r13d, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
add r13, qword [rax]
mov eax, dword [r13]
cmp dword [0x14010ac30], eax
jle 0x140019640
lea rcx, [0x14010ac30]
call fcn.1400626e8
cmp dword [0x14010ac30], 0xffffffff
jne 0x140019640
xor esi, esi
mov r15d, esi
mov dword [rbp - 0x29], esi
lea r9, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140019206
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x29]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
lea r9, [rbp - 0x29]
mov r8d, dword [rbp - 0x29]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400191c0
test eax, eax
js 0x140019610
mov r12d, esi
cmp dword [r15], esi
jbe 0x140019610
mov r14d, 0x5a4d
movzx ebx, byte [rbp - 0x79]
nop dword [rax]
nop dword [rax + rax]
mov eax, r12d
imul rcx, rax, 0x128
lea rdi, [rcx + r15]
movzx eax, word [rdi + 0x2e]
add rax, rcx
lea rdx, [r15 + 0x30]
add rdx, rax
mov qword [rbp - 1], rsi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], send
mov byte [rbp - 1], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140019270
lea rcx, [rbp - 1]
call fcn.140003990
nop
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
lea rdx, [0x1400a4598]
call fcn.140031110
test eax, eax
jne 0x1400195c9
lea rdx, [rdi + 0x30]
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], send
mov byte [rbp - 0x21], al
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400192c4
lea rcx, [rbp - 0x21]
call fcn.140003990
nop
lea rcx, str.SYSTEMROOT
call fcn.140031b48
mov qword [rbp - 0x61], rsi
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], send
mov byte [rbp - 0x61], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140019300
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.140003990
nop
mov rcx, qword [rbp - 0x51]
mov rdx, qword [rbp - 0x49]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14001934c
lea rax, [rcx + 1]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x61]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x61]
mov word [rax + rcx], 0x5c
lea rdi, [rbp - 0x61]
jmp 0x140019371
mov qword [rsp + 0x20], 1
lea r9, [0x1400a476c]
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x61]
call fcn.14000a120
mov rdi, rax
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rcx, qword [rbp - 0x21]
mov qword [rsp + 0x20], send
lea r9, str.SystemRoot_
xor r8d, r8d
mov rdx, qword [rbp - 0x11]
call fcn.140009d70
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400193a9
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140016c30
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x1400193f9
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400193f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001986d
call fcn.140062a94
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], send
mov byte [rbp - 0x61], 0
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rcx, qword [rbp - 0x21]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r10, rax
cmp word [rax], r14w
jne 0x140019822
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x140019797
mov edx, dword [rcx + rax + 0x88]
test edx, edx
je 0x140019797
mov r11d, dword [rdx + rax + 0x1c]
lea rdi, [rax + r11]
mov r8d, dword [rdx + rax + 0x20]
add r8, rax
mov r14d, dword [rdx + rax + 0x24]
add r14, rax
mov r9d, esi
test r11d, r11d
je 0x140019578
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r10
mov rax, rsi
nop dword [rax]
lea rcx, str.memcpy
movzx ecx, byte [rcx + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x140019568
cmp rax, 7
jne 0x140019490
movsxd rax, r9d
movzx ecx, word [r14 + rax*2]
mov ebx, dword [rdi + rcx*4]
mov eax, r12d
imul rcx, rax, 0x128
add rbx, qword [rcx + r15 + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140019515
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001985f
call fcn.140062a94
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], send
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140019560
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001955b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019859
call fcn.140062a94
mov rsi, rbx
jmp 0x140019621
inc r9d
add r8, 4
cmp r9d, r11d
jb 0x140019480
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400195b3
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400195ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001985f
call fcn.140062a94
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], send
mov byte [rbp - 0x21], 0
mov r14d, 0x5a4d
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140019604
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400195ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019859
call fcn.140062a94
inc r12d
cmp r12d, dword [r15]
jb 0x140019230
mov r8d, 0x8000
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [0x14010aea0], rsi
lea rcx, [0x14010ac30]
call fcn.140062688
mov rdi, qword [rbp - 0x31]
mov rsi, qword [rbp - 0x41]
mov r14, qword [rbp - 0x71]
mov rbx, qword [0x14010aea0]
mov eax, dword [r13]
cmp dword [0x14010acb4], eax
jle 0x140019698
lea rcx, [0x14010acb4]
call fcn.1400626e8
cmp dword [0x14010acb4], 0xffffffff
jne 0x140019698
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010ae80], rax
lea rcx, [0x14010acb4]
call fcn.140062688
mov eax, dword [r13]
cmp dword [0x14010ac4c], eax
jle 0x1400196e2
lea rcx, [0x14010ac4c]
call fcn.1400626e8
cmp dword [0x14010ac4c], 0xffffffff
jne 0x1400196e2
mov edx, 2
lea rcx, [0x14010aec0]
call fcn.14006174c
lea rcx, [0x14007c610]
call fcn.140062a7c
lea rcx, [0x14010ac4c]
call fcn.140062688
lea rcx, [0x14010aec0]
call fcn.14006177c
test eax, eax
jne 0x140019865
mov dword [rbp - 0x71], 0x25ff
mov word [rbp - 0x6d], 0
mov qword [rbp - 0x6b], rbx
mov rcx, qword [0x1401082c8]
mov r8d, send
lea rdx, [rbp - 0x41]
call fcn.14000ea40
mov rcx, qword [0x1401082c8]
mov r8d, send
lea rdx, [rbp - 0x71]
call fcn.14000ebe0
mov rax, qword [0x14010ae80]
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call rax
mov rbx, rax
mov rcx, qword [0x1401082c8]
mov r8d, send
lea rdx, [rbp - 0x41]
call fcn.14000ebe0
lea rcx, [0x14010aec0]
call fcn.140061784
test rbx, rbx
setne al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140062540
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400197d2
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400197cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001985f
call fcn.140062a94
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], send
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140019621
mov rcx, qword [rbp - 1]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019818
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019859
call fcn.140062a94
jmp 0x140019621
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400197d2
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400197cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001985f
jmp 0x1400197cd
call fcn.14002de94
nop
call fcn.14002de94
nop
mov ecx, eax
call fcn.140061248
nop
call fcn.14002de94
int3