Function at 0x1000293b8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x50
mov rax, qword [0x1000de138]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rcx, qword [0x1000dedd8]
lea r14, [0x1000dedd8]
lea r15, [0x100008e80]
cmp rcx, r14
je 0x100029416
test byte [rcx + 0x1c], 1
je 0x100029416
cmp byte [rcx + 0x19], 5
jb 0x100029416
mov rcx, qword [rcx + 0x10]
mov edx, 0xb0
mov r8, r15
call fcn.100020584
lea rax, [0x1000276a4]
lea r9, [rdi + 0x110]
lea r8, [rdi + 0x108]
lea rdx, [rdi + 0x100]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.100028d90
mov ebx, eax
mov rcx, qword [0x1000dedd8]
cmp rcx, r14
je 0x100029474
test byte [rcx + 0x1c], 1
je 0x100029474
cmp byte [rcx + 0x19], 5
jb 0x100029474
mov rcx, qword [rcx + 0x10]
mov edx, 0xb1
mov r9d, eax
mov r8, r15
call fcn.100020d8c
mov rcx, qword [0x1000dedd8]
test ebx, ebx
js 0x100029653
lea rax, [0x10002720c]
lea r9, [rdi + 0x128]
lea r8, [rdi + 0x120]
lea rdx, [rdi + 0x118]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.100028d90
mov ebx, eax
mov rcx, qword [0x1000dedd8]
cmp rcx, r14
je 0x1000294da
test byte [rcx + 0x1c], 1
je 0x1000294da
cmp byte [rcx + 0x19], 5
jb 0x1000294da
mov rcx, qword [rcx + 0x10]
mov edx, 0xb2
mov r9d, eax
mov r8, r15
call fcn.100020d8c
mov rcx, qword [0x1000dedd8]
test ebx, ebx
js 0x100029653
and dword [rsp + 0x30], 0
xor eax, eax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov ebx, eax
test eax, eax
js 0x10002964c
mov rax, qword [rdi + 0x198]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x28
or ecx, eax
jge 0x100029534
lea rcx, [rdi + 0x198]
mov edx, 0x28
call fcn.100046968
mov rdx, qword [rdi + 0x198]
lea rcx, [rsp + 0x30]
mov r8d, 0x28
call qword [sym.imp.ole32.dll_StringFromGUID2]
neg eax
sbb ebx, ebx
not ebx
and ebx, 0x8007000e
jl 0x10002964c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x150], rax
test rax, rax
je 0x10002957e
xor ebx, ebx
jmp 0x100029592
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1000dedd8]
cmp rcx, r14
je 0x1000295d1
test byte [rcx + 0x1c], 1
je 0x1000295d1
cmp byte [rcx + 0x19], 5
jb 0x1000295d1
mov rax, qword [rdi + 0x150]
mov rcx, qword [rcx + 0x10]
mov edx, 0xb3
mov r9d, ebx
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.100021328
mov rcx, qword [0x1000dedd8]
test ebx, ebx
js 0x100029653
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x10002026c]
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x148], rax
test rax, rax
je 0x100029604
xor ebx, ebx
jmp 0x100029618
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1000dedd8]
cmp rcx, r14
je 0x100029678
test byte [rcx + 0x1c], 1
je 0x100029653
cmp byte [rcx + 0x19], 5
jb 0x100029653
mov r9, qword [rdi + 0x148]
mov rcx, qword [rcx + 0x10]
mov edx, 0xb4
mov r8, r15
mov dword [rsp + 0x20], ebx
call fcn.100021510
mov rcx, qword [0x1000dedd8]
cmp rcx, r14
je 0x100029678
test byte [rcx + 0x1c], 1
je 0x100029678
cmp byte [rcx + 0x19], 5
jb 0x100029678
mov rcx, qword [rcx + 0x10]
mov edx, 0xb5
mov r9d, ebx
mov r8, r15
call fcn.100020d8c
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1000cd7d0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop r15
ret