Function at 0x14004c2f0
Capabilities:
Create thread
Enumerate threads
Resume thread
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rdi, r9
xor r15d, r15d
mov dword [rbp + 0x60], r15d
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov r13d, 2
mov dword [rbp + 0x60], r13d
mov ebx, r15d
movabs rsi, 0x7fffffffffff
nop word [rax + rax]
mov r9d, Ordinal_50
lea r8, [rbp - 0x70]
mov rdx, rbx
mov rcx, qword [0x1401b7218]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14004c3ec
cmp dword [rbp - 0x50], 0x1000
jne 0x14004c3ec
mov eax, dword [rbp - 0x4c]
bt eax, 8
jb 0x14004c3ec
cmp eax, 1
je 0x14004c3ec
test dword [rbp - 0x60], 0x200
jne 0x14004c3ec
test al, 0x4c
je 0x14004c3ec
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x28], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rsp + 0x70]
je 0x14004c3de
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdx], xmm0
add qword [rsp + 0x68], 0x10
jmp 0x14004c3ec
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.140080d60
add rbx, qword [rbp - 0x58]
cmp rbx, rsi
jb 0x14004c370
cmp dword [0x1401b7220], 0
jne 0x14004c666
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
mov r12d, eax
mov rax, qword [rsp + 0x68]
sub rax, qword [rsp + 0x60]
sar rax, 4
dec rax
add rax, r12
xor edx, edx
div r12
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
lea rax, [0x1401b7210]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x68]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rsi, r15
mov qword [rsp + 0x48], r15
mov qword [rbp - 0x80], r12
test r12, r12
je 0x14004c582
movabs rax, 0xfffffffffffffff
cmp r12, rax
ja 0x14004c896
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14007b770
mov rbx, r15
mov qword [rbp - 0x80], rbx
mov r14, r15
movsd xmm6, qword [rbp - 0x40]
movups xmm7, xmmword [rbp - 0x50]
movups xmm8, xmmword [rbp - 0x60]
movups xmm9, xmmword [rbp - 0x70]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
nop dword [rax + rax]
cmp rdi, rsi
je 0x14004c539
mov ecx, 0x40
call fcn.1400daf0c
mov qword [rax], rbx
movups xmmword [rax + 8], xmm9
movups xmmword [rax + 0x18], xmm8
movups xmmword [rax + 0x28], xmm7
movsd qword [rax + 0x38], xmm6
mov qword [rbp - 0x80], rax
or r13d, 1
mov dword [rbp + 0x60], r13d
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14008c270]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14004c573
add rdi, 0x10
mov qword [rsp + 0x40], rdi
jmp 0x14004c55b
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140080440
mov r14, r15
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
lea rbx, [r14 + 1]
mov r14, rbx
mov qword [rbp - 0x80], rbx
cmp rbx, r12
jae 0x14004c58b
mov r15, rbx
jmp 0x14004c4d0
mov dword [rbx], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov qword [rbp - 0x80], r15
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
mov rbx, r14
cmp r14, rdi
je 0x14004c5df
nop dword [rax + rax]
cmp dword [rbx + 8], 0
je 0x14004c646
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x14004c63a
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14004c62e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x14004c5a0
test r14, r14
je 0x14004c6c3
mov rax, r14
cmp r14, rdi
je 0x14004c5ff
cmp dword [rax + 8], 0
jne 0x14004c652
add rax, 0x10
cmp rax, rdi
jne 0x14004c5f0
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14004c659
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, rsi
mov rcx, r14
call fcn.1400db260
jmp 0x14004c6c3
lea rax, [0x1401b7210]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rsp + 0x58]
movsd qword [rbp - 0x50], xmm0
lea r9, [rbp - 0x70]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.14007a7e0
mov rax, qword [0x1401b7218]
test rax, rax
je 0x14004c824
mov rdx, rax
call fcn.14004c040
mov rbx, rax
mov qword [rbp + 0x60], 0x190
lea rcx, [rbp + 0x60]
call fcn.14007a6e0
mov rdx, qword [0x1401b7218]
call fcn.14004c040
cmp rbx, rax
jne 0x14004c78e
mov qword [rbp + 0x60], 0x190
lea rcx, [rbp + 0x60]
call fcn.14007a6e0
mov rdx, qword [0x1401b7218]
call fcn.14004c040
cmp rbx, rax
jne 0x14004c78e
mov qword [rbp + 0x60], Ordinal_301
lea rcx, [rbp + 0x60]
call fcn.14007a6e0
mov rdx, qword [0x1401b7218]
call fcn.14004c040
cmp rbx, rax
jne 0x14004c78e
mov qword [rbp + 0x60], Ordinal_301
lea rcx, [rbp + 0x60]
call fcn.14007a6e0
mov rdx, qword [0x1401b7218]
call fcn.14004c040
cmp rbx, rax
jne 0x14004c78e
mov r8d, dword [0x1401b7210]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14004c78e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [0x1401b7218]
test rax, rax
je 0x14004c824
mov dword [rsp + 0x38], Ordinal_32
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004c824
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14004c81a
nop
mov ecx, dword [0x1401b7210]
cmp dword [rsp + 0x44], ecx
jne 0x14004c808
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x14004c808
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14004c7d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004c867
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c862
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c862
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db260
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140078d60
nop
int3