Function at 0x14002dbe0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rbx, qword [rcx + 0x48]
mov r13d, edx
mov r8d, edx
mov rdi, qword [rbx]
mov rdx, qword [rbx + 8]
mov r14, rcx
mov rax, qword [rdi + 0x10]
mov rcx, rdi
mov r12, qword [rax + 0x20]
call fcn.140025000
test eax, eax
mov r11d, eax
jne 0x14002858d
cmp dword [rbx + 0x20], eax
mov qword [rsp + 0x40], rbp
movsxd rbp, dword [rbx + 0x18]
mov qword [rsp + 0x48], rsi
je 0x140028521
lea r8, [rbx + 0x28]
mov rdx, rbp
mov rcx, r12
call fcn.140018d50
test eax, eax
jne 0x140028583
lea r8, [rbx + 0x38]
mov rdx, rbp
mov rcx, r12
call fcn.140018d50
test eax, eax
mov r11d, eax
je 0x14002855b
jmp 0x140028583
cmp qword [rdi + 0x58], 0
jne 0x140028547
mov rdx, qword [rdi + 0x60]
lea r8, [rdi + 0x58]
mov rcx, r12
call fcn.140018d50
mov qword [rdi + 0x60], 0
test eax, eax
mov r11d, eax
jne 0x140028583
mov rax, qword [rdi + 0x58]
mov qword [rbx + 0x38], rax
mov rax, qword [rdi + 0x60]
mov qword [rbx + 0x10], rax
add qword [rdi + 0x60], rbp
cmp dword [rbx + 0x20], 0
je 0x140028570
mov rcx, rbx
call fcn.140018950
test eax, eax
mov r11d, eax
jne 0x140028583
cmp r13d, 1
je 0x140028580
mov rcx, r14
call fcn.140023990
jmp 0x140028583
mov eax, r11d
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x48]
xor edi, edi
mov rbp, rcx
test rax, rax
je 0x14002dd0a
cmp dword [rax + 0x20], edi
je 0x14002dd17
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rsi, qword [rax]
mov qword [rsi], rdi
cmp dword [0x1400bf010], edi
je 0x14002dc5e
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14002dc2f
call qword [0x1400bf098]
lea rdx, [rsp + 0x40]
mov ecx, 0x28
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14002dc57
call qword [0x1400bf0a8]
mov rbx, qword [rsp + 0x40]
jmp 0x14002dc6c
mov rbx, qword [rsp + 0x40]
jmp 0x14002dc6c
mov ecx, 0x28
call qword [0x1400bf038]
mov rbx, rax
test rbx, rbx
jne 0x14002dc79
lea edi, [rbx + 7]
jmp 0x14002dd00
cmp dword [0x1400bf014], edi
jne 0x14002dc98
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
jmp 0x14002dce2
lea rax, [fcn.14002b040]
lea r8, [0x140008520]
mov r9, rbx
mov qword [rbx + 0x10], rax
lea rax, [rbx + 8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rbx + 0x18], rbp
mov dword [rsp + 0x20], edi
call sub.msvcrt.dll__beginthreadex
test rax, rax
mov qword [rbx], rax
jne 0x14002dce2
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], rdi
jne 0x14002dcfd
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rbx + 8], eax
call fcn.14002b040
mov qword [rbx + 0x20], rax
mov qword [rsi], rbx
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp 0x1400284a0