Function at 0x14004c940
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 [0x1401b7178]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14004ca3c
cmp dword [rbp - 0x50], 0x1000
jne 0x14004ca3c
mov eax, dword [rbp - 0x4c]
bt eax, 8
jb 0x14004ca3c
cmp eax, 1
je 0x14004ca3c
test dword [rbp - 0x60], 0x200
jne 0x14004ca3c
test al, 0x4c
je 0x14004ca3c
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 0x14004ca2e
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdx], xmm0
add qword [rsp + 0x68], 0x10
jmp 0x14004ca3c
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.140081550
add rbx, qword [rbp - 0x58]
cmp rbx, rsi
jb 0x14004c9c0
cmp dword [0x1401b7180], 0
jne 0x14004ccb6
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, [0x1401b7170]
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 0x14004cbd2
movabs rax, 0xfffffffffffffff
cmp r12, rax
ja 0x14004cee6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14007be30
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 0x14004cb89
mov ecx, 0x40
call fcn.1400db6fc
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, [0x14008ca60]
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 0x14004cbc3
add rdi, 0x10
mov qword [rsp + 0x40], rdi
jmp 0x14004cbab
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140080c30
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 0x14004cbdb
mov r15, rbx
jmp 0x14004cb20
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 0x14004cc2f
nop dword [rax + rax]
cmp dword [rbx + 8], 0
je 0x14004cc96
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x14004cc8a
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 0x14004cc7e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x14004cbf0
test r14, r14
je 0x14004cd13
mov rax, r14
cmp r14, rdi
je 0x14004cc4f
cmp dword [rax + 8], 0
jne 0x14004cca2
add rax, 0x10
cmp rax, rdi
jne 0x14004cc40
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14004cca9
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cca9
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.1400dba50
jmp 0x14004cd13
lea rax, [0x1401b7170]
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.14007aea0
mov rax, qword [0x1401b7178]
test rax, rax
je 0x14004ce74
mov rdx, rax
call fcn.14004c690
mov rbx, rax
mov qword [rbp + 0x60], 0x190
lea rcx, [rbp + 0x60]
call fcn.14007ada0
mov rdx, qword [0x1401b7178]
call fcn.14004c690
cmp rbx, rax
jne 0x14004cdde
mov qword [rbp + 0x60], 0x190
lea rcx, [rbp + 0x60]
call fcn.14007ada0
mov rdx, qword [0x1401b7178]
call fcn.14004c690
cmp rbx, rax
jne 0x14004cdde
mov qword [rbp + 0x60], Ordinal_301
lea rcx, [rbp + 0x60]
call fcn.14007ada0
mov rdx, qword [0x1401b7178]
call fcn.14004c690
cmp rbx, rax
jne 0x14004cdde
mov qword [rbp + 0x60], Ordinal_301
lea rcx, [rbp + 0x60]
call fcn.14007ada0
mov rdx, qword [0x1401b7178]
call fcn.14004c690
cmp rbx, rax
jne 0x14004cdde
mov r8d, dword [0x1401b7170]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14004cdde
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [0x1401b7178]
test rax, rax
je 0x14004ce74
mov dword [rsp + 0x38], Ordinal_33
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14004ce74
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14004ce6a
nop
mov ecx, dword [0x1401b7170]
cmp dword [rsp + 0x44], ecx
jne 0x14004ce58
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 0x14004ce58
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 0x14004ce20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004ceb7
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ceb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ceb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dba50
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.140079420
nop
int3