Function at 0x140045670
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
cmp qword [rsp + 0x128], 0
je 0x1400456ae
cmp qword [rsp + 0x118], 0
je 0x1400456ae
cmp qword [rsp + 0x120], 0
jne 0x1400456b5
xor eax, eax
jmp 0x1400459ef
lea rax, [rsp + 0x90]
lea rcx, [0x1400a43c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x56
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x200
xor edx, edx
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140045708
xor eax, eax
jmp 0x1400459ef
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, qword [rsp + 0x128]
xor edx, edx
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14004575c
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x1400459ef
mov rax, qword [rsp + 0x68]
add rax, 0x10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x96], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xb4], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xaa], rax
mov rax, qword [rsp + 0x78]
sub rax, 8
mov qword [rsp + 0xbe], rax
mov rax, qword [rsp + 0x78]
sub rax, 0x10
mov qword [rsp + 0xdd], rax
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x56
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400a8758]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x80]
call qword [0x1400a8760]
test eax, eax
je 0x1400458a7
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x1400459ef
cmp qword [rsp + 0x80], 0
jne 0x1400458ef
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x1400459ef
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
sub rax, 0x10
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
mov r9d, 4
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rsp + 0x60], 0
jne 0x140045982
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x1400459ef
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rsp + 0x60], eax
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [rsp + 0x60]
add rsp, 0xf8
pop rdi
pop rsi
ret