Function at 0x1400e6660
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x100
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13, r8
mov r15, rdx
mov r12, rcx
test rdx, rdx
jne 0x1400e66bf
mov rdi, qword [rbp + 0x77]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400e66b8
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
xor ebx, ebx
mov qword [rdi + 0x38], rbx
xor eax, eax
jmp 0x1400e68b7
test r9d, r9d
je 0x1400e685d
mov ecx, 0x468
call fcn.140171ab4
mov rsi, rax
mov qword [rbp + 0x5f], rax
mov r14, qword [rbp + 0x77]
xor ebx, ebx
test rax, rax
je 0x1400e67e1
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x21], rbx
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x1400e670b
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
call qword [rax]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
mov qword [rsi], r12
mov qword [rsi + 8], rbx
mov dword [rsi + 0x420], 1
lea rdi, [rsi + 0x428]
mov qword [rbp - 0x61], rdi
mov qword [rdi + 0x38], rbx
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400e6749
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
mov qword [rdi + 0x38], rax
mov rcx, 0xffffffffffffffff
mov rdi, rcx
inc rdi
cmp word [r15 + rdi*2], 0
jne 0x1400e6753
inc rdi
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.140172464
mov qword [rsi + 8], rax
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, rax
call fcn.140289490
lea r9, [rdi - 1]
mov r8, r15
mov rdx, rdi
mov rcx, qword [rsi + 8]
call fcn.14029988c
xor edx, edx
mov r8d, 0x410
lea rcx, [rsi + 0x10]
call fcn.140289490
test r13, r13
je 0x1400e67c6
mov r9d, 0x208
mov r8, r13
mov edx, r9d
lea rcx, [rsi + 0x10]
call fcn.14029988c
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400e67e4
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x1400e67e4
mov rsi, rbx
lea rdi, vtable.CSimpleThread.0
mov qword [rsp + 0x38], rdi
lea r8, [0x1400e68e0]
mov qword [rbp - 0x79], r8
mov qword [rbp - 0x71], rsi
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x4c], ebx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, rsi
xor edx, edx
xor ecx, ecx
call fcn.1402967ac
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400e6848
lock inc dword [r12 + 0x44]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rdi
test rax, rax
je 0x1400e6898
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400e6898
lea rax, [rbp - 0x19]
mov qword [rbp + 0x5f], rax
xor ebx, ebx
mov qword [rbp + 0x1f], rbx
mov r14, qword [rbp + 0x77]
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x1400e6885
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
call qword [rax]
mov qword [rbp + 0x1f], rax
lea r9, [rbp - 0x19]
mov r8, r13
mov rdx, r15
mov rcx, r12
call fcn.1400e7370
nop
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x1400e68b2
mov r8, qword [rcx]
cmp rcx, r14
setne dl
call qword [r8 + 0x20]
mov qword [r14 + 0x38], rbx
mov eax, 1
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret