Function at 0x1800942a0
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 0x1800942ff
mov rdi, qword [rbp + 0x77]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1800942f8
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 0x1800944f7
test r9d, r9d
je 0x18009449d
mov ecx, 0x468
call fcn.18008c568
mov rsi, rax
mov qword [rbp + 0x5f], rax
mov r14, qword [rbp + 0x77]
xor ebx, ebx
test rax, rax
je 0x180094421
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x21], rbx
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x18009434b
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 0x180094389
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 0x180094393
inc rdi
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.18008c744
mov qword [rsi + 8], rax
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, rax
call fcn.1800bbd80
lea r9, [rdi - 1]
mov r8, r15
mov rdx, rdi
mov rcx, qword [rsi + 8]
call fcn.1800d6428
xor edx, edx
mov r8d, 0x410
lea rcx, [rsi + 0x10]
call fcn.1800bbd80
test r13, r13
je 0x180094406
mov r9d, 0x208
mov r8, r13
mov edx, r9d
lea rcx, [rsi + 0x10]
call fcn.1800d6428
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180094424
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x180094424
mov rsi, rbx
lea rdi, vtable.CSimpleThread.0
mov qword [rsp + 0x38], rdi
lea r8, [0x180094520]
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.1800bebdc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180094488
lock inc dword [r12 + 0x44]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rdi
test rax, rax
je 0x1800944d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800944d8
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 0x1800944c5
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.180094ab0
nop
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x1800944f2
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