Function at 0x140029550
Capabilities:
Create thread
Terminate thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x1400d73a8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12, rcx
mov qword [rsp + 0x40], rcx
mov r15, qword [rbp + 0x90]
xor edi, edi
mov esi, edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r15
mov byte [rbp - 0x70], sil
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x50]
lea r8, [0x140029150]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140029646
mov edx, 0x3e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14002963d
lea rdx, str.____Cannot_retrieve_stack_frame:_timeout_passed__n
lea rcx, [0x1400d6650]
call fcn.1400042e0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140029636
call fcn.140085df8
xor eax, eax
jmp 0x140029860
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbp - 0x70], 0
jne 0x14002964e
jmp 0x140029627
xor r14b, r14b
mov byte [r15 + 0x28], r14b
mov rbx, qword [rsp + 0x70]
cmp rbx, qword [rsp + 0x78]
je 0x140029850
nop word [rax + rax]
inc rdi
mov qword [rsp + 0x38], rdi
mov r13, qword [rbx]
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12 + 0x20]
call fcn.140028460
test rax, rax
je 0x1400296a4
lea rdx, [rbp - 8]
mov rcx, rax
call fcn.14001ce40
mov rdi, rax
or esi, 1
jmp 0x1400296d2
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea rdx, [0x1400aa958]
lea rcx, [rbp - 0x30]
call fcn.140003e20
lea rdi, [rbp - 0x30]
or esi, 2
mov dword [rsp + 0x30], esi
mov qword [rbp - 0x40], 0xf
xor ecx, ecx
mov r12d, ecx
mov qword [rbp - 0x48], rcx
mov byte [rbp - 0x58], cl
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x14002974d
mov qword [rbp - 0x40], 0xf
mov qword [rbp - 0x48], rcx
mov byte [rbp - 0x58], cl
cmp qword [rdi + 0x18], 0x10
jae 0x140029720
mov r8, qword [rdi + 0x10]
inc r8
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140085e10
xor ecx, ecx
jmp 0x14002972a
mov rax, qword [rdi]
mov qword [rbp - 0x58], rax
mov qword [rdi], rcx
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x40], rax
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rcx
mov byte [rdi], r12b
mov r12, qword [rbp - 0x48]
test sil, 2
je 0x140029780
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
cmp qword [rbp - 0x18], 0x10
jb 0x140029770
mov rcx, qword [rbp - 0x30]
call fcn.140085df8
mov r12, qword [rbp - 0x48]
xor ecx, ecx
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rcx
mov byte [rbp - 0x30], 0
test sil, 1
je 0x1400297a1
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
cmp qword [rbp + 0x10], 0x10
jb 0x1400297a1
mov rcx, qword [rbp - 8]
call fcn.140085df8
mov r12, qword [rbp - 0x48]
test r12, r12
jne 0x1400297ab
mov r14b, 1
jmp 0x1400297b0
test r14b, r14b
jne 0x1400297b4
mov qword [r15 + 0x20], r13
lea rcx, [rbp - 0x58]
mov rdi, qword [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, rdi
mov r8d, 7
cmp r12, r8
cmovb r8, r12
lea rdx, str.clr.dll
call fcn.140086e50
movsxd rcx, eax
test eax, eax
jne 0x1400297fb
cmp r12, 7
jae 0x1400297f0
or ecx, 0xffffffff
jmp 0x1400297fb
xor eax, eax
cmp r12, 7
setne al
mov ecx, eax
test ecx, ecx
sete al
test al, al
je 0x14002980e
mov byte [r15 + 0x28], 1
test r14b, r14b
jne 0x140029837
cmp qword [rbp - 0x40], 0x10
jb 0x14002981d
mov rcx, rdi
call fcn.140085df8
add rbx, 8
mov rdi, qword [rsp + 0x38]
cmp rbx, qword [rsp + 0x78]
je 0x14002984b
mov r12, qword [rsp + 0x40]
jmp 0x140029670
cmp qword [rbp - 0x40], 0x10
jb 0x140029846
mov rcx, rdi
call fcn.140085df8
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14002985d
mov rcx, rbx
call fcn.140085df8
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140086bc0
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret