Function at 0x140060200
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov r12, r9
mov r13, r8
mov r15, rdx
mov r14, rcx
lea rsi, [rcx + 8]
mov rax, qword [rsi]
test rax, rax
je 0x140060247
xor ebx, ebx
cmp dword [rax + 0x30], 3
setae bl
mov eax, ebx
jmp 0x140060573
mov ecx, 0x60
call fcn.14007ce68
mov rdi, rax
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], rbx
mov qword [rax + 0x40], rbx
mov qword [rax + 0x48], rbx
mov qword [rax + 0x50], rbx
mov qword [rax + 0x58], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x18], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rbp, 0xffffffffffffffff
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [rdi], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rdi + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0xe0], rdi
lea ecx, [rbx + 0x18]
call fcn.14007ce68
mov rcx, rax
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_struct_PivThreadPool::THREADPOOL_INFO_.0
mov qword [rcx], rax
mov qword [rcx + 0x10], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0xe0], rbx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsi], rdi
mov rdi, qword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsi + 8], rcx
test rdi, rdi
je 0x1400603a9
mov eax, ebp
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400603a9
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax]
lock xadd dword [rdi + 0xc], ebp
cmp ebp, 1
jne 0x1400603a9
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140060562
mov eax, 2
xchg dword [rcx + 0x30], eax
mov rcx, qword [rsi]
cmp qword [rcx], 0
jne 0x1400603e6
cmp qword [rcx + 0x58], 0
jne 0x1400603e6
cmp qword [rcx + 0x10], 0
jne 0x1400603e6
cmp qword [rcx + 0x18], 0
jne 0x1400603e6
cmp qword [rcx + 0x20], 0
je 0x14006055a
cmp dword [r14 + 0x18], 0
ja 0x140060409
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0xa0]
mov dword [r14 + 0x18], eax
mov rcx, qword [rsi]
mov eax, dword [r15]
test eax, eax
jg 0x140060416
mov eax, dword [r14 + 0x18]
inc eax
mov dword [rcx + 0x38], eax
mov rcx, qword [rsi]
mov eax, dword [r12]
mov dword [rcx + 0x44], eax
mov rdx, qword [rsi]
mov rax, qword [rsp + 0x100]
mov ecx, dword [rax]
mov dword [rdx + 0x54], ecx
mov r14d, ebx
movsxd rcx, dword [r13]
mov rax, qword [rsi]
mov qword [rax + 8], rcx
mov ebp, ebx
mov rcx, qword [rsi]
cmp dword [rcx + 0x38], ebx
jbe 0x1400604a0
nop dword [rax + rax]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, [0x14005feb0]
mov rdx, qword [rcx + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140060496
mov rcx, qword [rsi]
mov edx, dword [rcx + 0x44]
test edx, edx
je 0x14006048a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
inc ebp
mov rcx, qword [rsi]
cmp ebp, dword [rcx + 0x38]
jb 0x140060450
mov edx, 0x32
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140060551
nop word [rax + rax]
mov rax, qword [rsi]
cmp dword [rax + 0x34], r14d
jae 0x140060551
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140060537
cmp dword [rsp + 0x58], 0x12
je 0x140060537
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x140060537
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400604e8
mov rcx, qword [rsi]
mov edx, 0x32
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400604c0
mov rax, qword [rsi]
cmp dword [rax + 0x34], 0
jne 0x140060566
mov rcx, rsi
call fcn.140060180
xor eax, eax
jmp 0x140060573
mov ecx, 3
xchg dword [rax + 0x30], ecx
mov eax, 1
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret