Function at 0x14004c250
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 [0x1401b4170]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14004c34c
cmp dword [rbp - 0x50], 0x1000
jne 0x14004c34c
mov eax, dword [rbp - 0x4c]
bt eax, 8
jb 0x14004c34c
cmp eax, 1
je 0x14004c34c
test dword [rbp - 0x60], 0x200
jne 0x14004c34c
test al, 0x4c
je 0x14004c34c
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 0x14004c33e
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdx], xmm0
add qword [rsp + 0x68], 0x10
jmp 0x14004c34c
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.14007f150
add rbx, qword [rbp - 0x58]
cmp rbx, rsi
jb 0x14004c2d0
cmp dword [0x1401b4178], 0
jne 0x14004c5c6
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, [0x1401b4168]
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 0x14004c4e2
movabs rax, 0xfffffffffffffff
cmp r12, rax
ja 0x14004c7f6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140079a30
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 0x14004c499
mov ecx, 0x40
call fcn.1400d92fc
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, [0x14008a660]
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 0x14004c4d3
add rdi, 0x10
mov qword [rsp + 0x40], rdi
jmp 0x14004c4bb
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14007e830
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 0x14004c4eb
mov r15, rbx
jmp 0x14004c430
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 0x14004c53f
nop dword [rax + rax]
cmp dword [rbx + 8], 0
je 0x14004c5a6
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x14004c59a
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 0x14004c58e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x14004c500
test r14, r14
je 0x14004c623
mov rax, r14
cmp r14, rdi
je 0x14004c55f
cmp dword [rax + 8], 0
jne 0x14004c5b2
add rax, 0x10
cmp rax, rdi
jne 0x14004c550
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14004c5b9
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c5b9
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.1400d9650
jmp 0x14004c623
lea rax, [0x1401b4168]
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.140078aa0
mov rax, qword [0x1401b4170]
test rax, rax
je 0x14004c784
mov rdx, rax
call fcn.14004bfa0
mov rbx, rax
mov qword [rbp + 0x60], 0x190
lea rcx, [rbp + 0x60]
call fcn.1400789a0
mov rdx, qword [0x1401b4170]
call fcn.14004bfa0
cmp rbx, rax
jne 0x14004c6ee
mov qword [rbp + 0x60], 0x190
lea rcx, [rbp + 0x60]
call fcn.1400789a0
mov rdx, qword [0x1401b4170]
call fcn.14004bfa0
cmp rbx, rax
jne 0x14004c6ee
mov qword [rbp + 0x60], Ordinal_301
lea rcx, [rbp + 0x60]
call fcn.1400789a0
mov rdx, qword [0x1401b4170]
call fcn.14004bfa0
cmp rbx, rax
jne 0x14004c6ee
mov qword [rbp + 0x60], Ordinal_301
lea rcx, [rbp + 0x60]
call fcn.1400789a0
mov rdx, qword [0x1401b4170]
call fcn.14004bfa0
cmp rbx, rax
jne 0x14004c6ee
mov r8d, dword [0x1401b4168]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14004c6ee
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [0x1401b4170]
test rax, rax
je 0x14004c784
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 0x14004c784
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14004c77a
nop
mov ecx, dword [0x1401b4168]
cmp dword [rsp + 0x44], ecx
jne 0x14004c768
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 0x14004c768
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 0x14004c730
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004c7c7
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c7c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c7c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d9650
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.140077020
nop
int3