Function at 0x1001ee10
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
test dl, dl
je 0x1001ef98
test cl, cl
je 0x1001eedf
cmp byte [0x100584c8], 0
jne 0x1001eebb
lea rcx, [rsp + 0x48]
xor eax, eax
lea r9, [0x100584b0]
mov qword [rsp + 0x28], rcx
lea r8, [0x10007d70]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [rsp + 0x48]
test rax, rax
mov dword [0x100584b8], ecx
mov qword [0x100584c0], rax
jne 0x1001eecd
xor ecx, ecx
call fcn.100205e0
lea rdx, [0x100466c0]
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.10027af0
lea r8, [0x100584ca]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.10027bf0
mov eax, dword [0x100584b8]
mov dword [0x10058be8], eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [0x10058550]
test rcx, rcx
je 0x1001eecd
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x100584b8]
mov dword [0x10058be8], eax
add rsp, 0x30
pop rbx
ret
cmp byte [0x10058598], 0
jne 0x1001ef74
lea rcx, [rsp + 0x48]
xor eax, eax
lea r9, [0x10058580]
mov qword [rsp + 0x28], rcx
lea r8, [0x10007d70]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [rsp + 0x48]
test rax, rax
mov dword [0x10058588], ecx
mov qword [0x10058590], rax
jne 0x1001ef86
xor ecx, ecx
call fcn.100205e0
lea rdx, [0x100466c0]
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.10027af0
lea r8, [0x1005859a]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.10027bf0
mov eax, dword [0x10058588]
mov dword [0x10058bec], eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [0x10058620]
test rcx, rcx
je 0x1001ef86
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x10058588]
mov dword [0x10058bec], eax
add rsp, 0x30
pop rbx
ret
test cl, cl
je 0x1001f059
cmp byte [0x10058328], 0
jne 0x1001f035
lea rcx, [rsp + 0x48]
xor eax, eax
lea r9, [0x10058310]
mov qword [rsp + 0x28], rcx
lea r8, [0x10007d70]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [rsp + 0x48]
test rax, rax
mov dword [0x10058318], ecx
mov qword [0x10058320], rax
jne 0x1001f047
xor ecx, ecx
call fcn.100205e0
lea rdx, [0x100466c0]
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.10027af0
lea r8, [0x1005832a]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.10027bf0
mov eax, dword [0x10058318]
mov dword [0x10058be8], eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [0x100583b0]
test rcx, rcx
je 0x1001f047
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x10058318]
mov dword [0x10058be8], eax
add rsp, 0x30
pop rbx
ret
cmp byte [0x100583f8], 0
jne 0x1001f0ee
lea rcx, [rsp + 0x48]
xor eax, eax
lea r9, [0x100583e0]
mov qword [rsp + 0x28], rcx
lea r8, [0x10007d70]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [rsp + 0x48]
test rax, rax
mov dword [0x100583e8], ecx
mov qword [0x100583f0], rax
jne 0x1001f100
xor ecx, ecx
call fcn.100205e0
lea rdx, [0x100466c0]
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.10027af0
lea r8, [0x100583fa]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.10027bf0
mov eax, dword [0x100583e8]
mov dword [0x10058bec], eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [0x10058480]
test rcx, rcx
je 0x1001f100
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x100583e8]
mov dword [0x10058bec], eax
add rsp, 0x30
pop rbx
ret