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

Disassembly:
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x140106010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14d, dword [rsp + 0x60]
mov eax, 2
cmp r14d, eax
cmovb r14d, eax
xor r8d, r8d
mov r9d, r14d
lea rcx, [rax - 3]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [r15 + 0x10], rax
test rax, rax
je 0x14005f2dd
mov qword [rsp + 0xb8], rbx
mov rcx, r15
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r12
call fcn.14005f590
mov rbx, qword [r15 + 0x18]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14005f15a
lea r12, [0x1400e6448]
mov rdi, qword [rbx + 0x28]
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
call qword [case.0x14007fe1f.0]
mov rdx, qword [rdi]
mov rcx, rdi
mov rbp, qword [r15 + 8]
movzx esi, al
mov rax, qword [rdx + 8]
call qword [case.0x14007fe1f.0]
test sil, sil
lea rdx, str.FAILED
mov r9, rax
lea r8, str.Init__S__ls
cmovne rdx, r12
mov rcx, rbp
mov qword [rsp + 0x20], rdx
lea rdx, str.WorkflowManager
call fcn.14003bcd0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14005f138
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14005f133
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x14005f133
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14005f120
mov rbx, rax
jmp 0x14005f150
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14005f150
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14005f144
cmp byte [rbx + 0x19], 0
je 0x14005f0b0
mov rcx, qword [r15 + 8]
lea r8, str.Spinning_up__u_workers
mov r9d, r14d
lea rdx, str.WorkflowManager
call fcn.14003bcd0
test r14d, r14d
je 0x14005f2b3
mov qword [rsp + 0x80], r13
xor r12d, r12d
lea r13, vtable.Clean::WorkflowWorker.0
mov ebp, r14d
mov rbx, qword [r15 + 0x10]
mov ecx, 0x28
call fcn.140091bc8
mov rsi, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
lea r8, [0x140072420]
mov r9, rsi
xor edx, edx
movups xmmword [rax], xmm0
xor ecx, ecx
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x18], r12
mov qword [rax + 0x10], r12
mov qword [rax], r13
mov qword [rax + 0x20], r12
mov qword [rax + 8], r15
mov rax, qword [r15 + 8]
mov qword [rsi + 0x10], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov qword [rsi + 0x18], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x20], rax
test rax, rax
jne 0x14005f214
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x14007fe1f.0]
mov rsi, r12
mov rcx, qword [r15 + 0x50]
mov rdx, qword [r15 + 0x48]
mov r8, rcx
lea eax, [rcx + rdx]
test al, 1
jne 0x14005f244
lea rax, [rcx + 2]
shr rax, 1
cmp qword [r15 + 0x40], rax
ja 0x14005f244
lea rcx, [r15 + 0x30]
call fcn.140039970
mov rdx, qword [r15 + 0x48]
mov r8, qword [r15 + 0x50]
mov rcx, qword [r15 + 0x40]
lea rax, [rcx*2 - 1]
and rax, rdx
mov qword [r15 + 0x48], rax
dec rcx
lea rbx, [rax + r8]
mov rax, rbx
shr rax, 1
and rcx, rax
mov rax, qword [r15 + 0x38]
cmp qword [rax + rcx*8], r12
lea r14, [rcx*8]
jne 0x14005f292
lfence
mov ecx, 0x10
call fcn.140091bc8
mov rcx, qword [r15 + 0x38]
mov qword [r14 + rcx], rax
mov rax, qword [r15 + 0x38]
mov rax, qword [r14 + rax]
and ebx, 1
mov qword [rax + rbx*8], rsi
inc qword [r15 + 0x50]
sub rbp, 1
jne 0x14005f192
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov al, 1
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140091ba0
add rsp, 0x98
pop r15
pop r14
ret