Function at 0x140009870
Capabilities:
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, 0xe0
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
lea rax, [0x140099c98]
mov qword [rbp - 0x39], rax
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x37], rsi
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x49], rsi
mov dword [rbp - 0x41], esi
lea r14, vtable.nbase::FrameworkThread.0
mov qword [rbp + 0x27], r14
mov byte [rbp - 0x30], sil
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], 0xa
mov qword [rbp + 0x17], InitCommonControls
movsd xmm0, qword [str.MainThread]
movsd qword [rbp - 1], xmm0
movzx eax, word [0x140099c30]
mov word [rbp + 7], ax
mov byte [rbp + 9], sil
lea rbx, vtable.MainThread.0
mov qword [rbp - 0x59], rbx
mov rax, qword [rbp - 0x39]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.MainThread.1.0
mov qword [rbp + rcx - 0x39], rdi
mov qword [rbp + 0x1f], rsi
mov dword [rbp - 0x2d], 1
mov byte [rbp - 0x31], 1
mov qword [rbp - 0x11], rsi
mov rax, qword [rbp - 0x59]
mov rdx, qword [rax + 8]
lea rax, [fcn.1400102a0]
lea rcx, [rbp - 0x59]
cmp rdx, rax
jne 0x140009971
call fcn.1400102a0
jmp 0x140009973
call rdx
mov qword [rbp - 0x59], rbx
mov rax, qword [rbp - 0x39]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x39], rdi
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140009998
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea rax, vtable.nbase::FrameworkThread.1.0
mov qword [rbp - 0x59], rax
mov rax, qword [rbp - 0x39]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x39], r14
lea rcx, [rbp - 0x59]
call fcn.140010070
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400099f4
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400099ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009af5
call fcn.140061530
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], InitCommonControls
mov byte [rbp - 1], 0
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140009a13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x140009a4a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140009a4a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140009a4a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rax, vtable.nbase::Thread.0
mov qword [rbp - 0x59], rax
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140009a8f
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x49]
test eax, eax
je 0x140009a82
test rcx, rcx
je 0x140009a8f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x49], rsi
lea rax, vtable.nbase::SupportWeakCallback.0
mov qword [rbp + 0x27], rax
mov rbx, qword [rbp + 0x37]
test rbx, rbx
je 0x140009aca
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140009aca
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140009aca
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140061510
lea r11, [rsp + 0xe0]
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.14006a6c0
nop
int3