Function at 0x140009320
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rsi, vtable.SL::Thread.0
mov qword [rbp - 9], rsi
xor edi, edi
mov qword [rbp - 1], rdi
lea rax, vtable.CConsoleApp.0
mov qword [rbp - 9], rax
mov dword [rbp + 7], edi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
lea rax, [0x14004c2b0]
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], edx
mov qword [rbp + 0x3f], r8
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], rdi
lea r14, vtable.CExitApp.0
mov qword [rbp - 0x39], r14
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 9]
call fcn.14000aa60
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x2f]
mov rcx, qword [rcx + 0x2070]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [rbp + 7], 1
jne 0x1400094c8
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140009405
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14000943a
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 2
lea r9, [rbp - 0x39]
lea r8, [0x14000aa40]
xor edx, edx
xor ecx, ecx
call fcn.140018ab0
mov rcx, rax
mov qword [rbp - 0x31], rax
test rax, rax
je 0x14000943e
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 1]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rcx
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea rcx, [rbp - 9]
mov rax, qword [rbp - 9]
call qword [rax + 8]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400094c8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400094c8
mov edx, 0x7530
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 1]
test eax, eax
jne 0x1400094aa
mov dword [rbp - 0x21], edi
lea rdx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x1400094ba
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x1400094c8
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 1], rdi
mov ebx, dword [rbp + 7]
mov qword [rbp - 0x39], r14
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp - 0x39], rsi
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400094f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x31], rdi
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14000952d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009528
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000957f
call fcn.14000dd90
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], di
mov qword [rbp - 9], rsi
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140009554
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 1], rdi
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000dd70
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140014204
nop
int3