Function at 0x1400188f0
Capabilities:
Create thread
Get system information on windows
Load ntoskrnl
Make suspicious ntquerysysteminformation call
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400b7c40]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov rax, qword [0x1401082c8]
test rax, rax
jne 0x140019093
xor edx, edx
lea r8d, [rax + 1]
lea rcx, [0x1400a4598]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x14010ae78], rax
xor r15d, r15d
mov esi, r15d
mov qword [rbp - 0x21], r15
mov dword [rbp - 0x49], r15d
lea r9, [rbp - 0x49]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400189ca
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x49]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
lea r9, [rbp - 0x49]
mov r8d, dword [rbp - 0x49]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140018980
mov qword [rbp - 0x21], rsi
test eax, eax
jns 0x1400189e4
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140018d33
mov r14d, r15d
mov dword [rsp + 0x34], r15d
cmp dword [rsi], r15d
jbe 0x140018d1d
mov r12d, 0x5a4d
movzx ebx, byte [rsp + 0x30]
mov eax, r14d
imul rcx, rax, 0x128
lea rdi, [rcx + rsi]
movzx eax, word [rdi + 0x2e]
add rax, rcx
lea rdx, [rsi + 0x30]
add rdx, rax
mov qword [rbp - 1], r15
mov qword [rbp + 0xf], r15
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 0x140018a40
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 0x140018cd1
lea rdx, [rdi + 0x30]
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], send
mov byte [rbp - 0x41], al
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140018a94
lea rcx, [rbp - 0x41]
call fcn.140003990
nop
lea rcx, str.SYSTEMROOT
call fcn.140031b48
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], send
mov byte [rbp - 0x69], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140018ad0
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.140003990
nop
mov rdx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x51]
mov rax, r8
sub rax, rdx
lea rcx, [rbp - 0x69]
cmp rax, 1
jb 0x140018b25
lea rax, [rdx + 1]
mov qword [rbp - 0x59], rax
cmp r8, 0x10
cmovae rcx, qword [rbp - 0x69]
movzx eax, byte [0x1400a476c]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rdi, [rbp - 0x69]
jmp 0x140018b46
mov qword [rsp + 0x20], 1
lea r9, [0x1400a476c]
movzx r8d, bl
mov edx, 1
call fcn.14000a120
mov rdi, rax
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rcx, qword [rbp - 0x41]
mov qword [rsp + 0x20], send
lea r9, str.SystemRoot_
xor r8d, r8d
mov rdx, qword [rbp - 0x31]
call fcn.140009d70
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140018b7e
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140016c30
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140018bce
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018bc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190d4
call fcn.140062a94
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], send
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rcx, qword [rbp - 0x41]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r14, rax
cmp word [rax], r12w
jne 0x140018f3c
movsxd rax, dword [rax + 0x3c]
cmp dword [rax + r14], 0x4550
jne 0x140018ead
mov ecx, dword [rax + r14 + 0x88]
test ecx, ecx
je 0x140018ead
mov r15d, dword [rcx + r14 + 0x1c]
lea r12, [r14 + r15]
mov edi, dword [rcx + r14 + 0x20]
add rdi, r14
mov r13d, dword [rcx + r14 + 0x24]
add r13, r14
xor esi, esi
test r15d, r15d
je 0x140018c74
nop word [rax + rax]
mov edx, dword [rdi]
add rdx, r14
lea rcx, str.NtShutdownSystem
call fcn.1400713c0
test eax, eax
je 0x140018dfa
inc esi
add rdi, 4
cmp esi, r15d
jb 0x140018c50
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140018caf
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018caa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190ce
call fcn.140062a94
xor r15d, r15d
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], send
mov byte [rbp - 0x41], r15b
mov rsi, qword [rbp - 0x21]
mov r14d, dword [rsp + 0x34]
mov r12d, 0x5a4d
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140018d0c
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018d07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190da
call fcn.140062a94
inc r14d
mov dword [rsp + 0x34], r14d
cmp r14d, dword [rsi]
jb 0x140018a00
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, qword [rsp + 0x38]
mov ebx, r15d
mov dword [0x14010ae74], ebx
mov eax, 0xfff
and bx, ax
mov word [0x14010ae70], bx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov qword [rbp - 9], r15
mov rbx, qword [0x14010ab90]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140018fe8
lea rsi, [0x140019fe0]
movups xmm6, xmmword [rbx + 0x20]
mov ecx, 0x20
call fcn.140062808
movdqa xmm0, xmm6
psrldq xmm0, 8
movq qword [rax], xmm0
movq qword [rax + 8], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14001afe0]
xor edx, edx
xor ecx, ecx
call fcn.140031c7c
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400190e6
mov rdx, qword [rbp - 0x11]
cmp rdx, qword [rbp - 9]
je 0x140018f77
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
movups xmmword [rdx], xmm1
mov rdi, qword [rbp - 0x11]
add rdi, 0x10
mov qword [rbp - 0x11], rdi
jmp 0x140018f88
movsxd rax, esi
movzx ecx, word [r13 + rax*2]
mov ebx, dword [r12 + rcx*4]
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140018e55
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018e50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190ce
call fcn.140062a94
xor r15d, r15d
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], send
mov byte [rbp - 0x41], r15b
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140018ea3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018e9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190da
call fcn.140062a94
mov r14, qword [rsp + 0x38]
jmp 0x140018d36
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140018ee8
inc rdx
mov rcx, qword [rbp - 0x41]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140018ee3
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190ce
call fcn.140062a94
mov byte [rbp - 0x41], 0
mov qword [rbp - 0x29], send
mov qword [rbp - 0x31], r15
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140018d2e
inc rdx
mov rcx, qword [rbp - 1]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140018f32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190da
call fcn.140062a94
jmp 0x140018d2e
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140018ee8
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018ee3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190ce
jmp 0x140018ee3
lea r8, [rbp - 0x79]
lea rcx, [rbp - 0x19]
call fcn.14001adb0
mov rdi, qword [rbp - 0x11]
cmp dword [rbp - 0x71], 0
jne 0x1400190e0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140018fbe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140018fb9
cmp rbx, qword [rax + 0x10]
jne 0x140018fb9
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140018fa6
mov rbx, rax
jmp 0x140018fdc
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140018fdc
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140018fd0
cmp byte [rbx + 0x19], 0
je 0x140018d72
jmp 0x140018fec
mov rdi, qword [rbp - 0x11]
mov rbx, qword [rbp - 0x19]
cmp rbx, rdi
je 0x14001903e
cmp dword [rbx + 8], 0
je 0x140019111
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x140019106
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x79], xmm0
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.140061b98
test eax, eax
jne 0x1400190fb
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140018ff5
mov rdi, qword [rbp - 0x11]
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x140019093
mov rax, rbx
cmp rbx, rdi
je 0x14001905f
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x1400190c8
add rax, 0x10
cmp rax, rdi
jne 0x140019050
mov rdx, qword [rbp - 9]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001908b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190f5
mov rcx, rbx
call fcn.140062a94
mov rax, r14
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140062540
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140031d5c
nop
call fcn.14002de94
nop
call fcn.14002de94
nop
call fcn.14002de94
nop
call fcn.140031d5c
nop
mov dword [rbp - 0x71], r15d
mov ecx, 6
call fcn.140061284
nop
call fcn.14002de94
nop
mov ecx, 2
call fcn.140061284
int3
mov ecx, 5
call fcn.140061284
int3
mov ecx, 1
call fcn.140061284
int3