Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140020140]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001f588]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x14001f588]
call fcn.140011838
lea rcx, [0x140020140]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xchg edi, eax
inc dword [rdx]
add al, byte [rax]
inc dword [rax]
add byte [rax], al
inc dword [rbx]
add dl, byte [rdx - 1]
add dword [rcx], eax
leave
inc dword [rdx]
add dword [rsi - 0x40fefc01], edi
mov edi, 0xc00102ff
mov edi, 0xc00102ff
inc dword [rcx]
add dword [rdi - 0x52fdfb01], edi
inc dword [rdx + rax]
stosb byte [rdi], al
inc dword [rcx]
add esp, eax
inc dword [rdx]
add dword [rsi - 0x42fefe01], edi
mov ebp, 0xb80202ff
inc dword [0x144032d14]
mov ebp, 0xb80202ff
inc dword [0x144032d14]
add edi, dword [rdi + rdi*8 + 1]
add eax, ecx
inc dword [rdx]
add dh, byte [rbx - 0x42fefc01]
add eax, dword [rcx]
mov ebp, 0xbd0102ff
inc dword [rbx]
add dword [rax - 0x6afcfc01], edi
inc dword [rbx]
invalid
xchg ebp, eax
add eax, dword [rcx]
mov ebp, 0xbd0102ff
inc dword [rbx]
add dword [rax - 0x6afcfc01], edi
inc dword [rbx]
add dl, byte [rbp - 0x48fdfc01]
xchg ebp, eax
inc dword [rbx]
add dh, byte [rdi - 0x3ffefc01]
xchg ebp, eax
inc dword [rbx]
add dh, byte [rdi - 0x3ffefc01]
inc dword [rbx]
add dword [rbx - 0x50fefd01], edi
scasd eax, dword [rdi]
scasd eax, dword [rdi]
inc dword [rcx + rax]
ret 0x4ff
invalid
add eax, dword [rdx]
pop rbx
inc dword [rdx]
add ch, byte [rcx]
inc dword [rdx]
add ch, byte [rcx]
sub edi, edi
add al, byte [rdx]
push rsp
inc dword [rbx]
add al, byte [rdx]
push rsp
inc dword [rbx]
add esp, dword [rax - 1]
add eax, dword [rdx]
inc qword [rdx]
add edi, dword [rsi]
inc dword [rdx]
add dword [rbx], ebp
inc dword [rbx]
add al, byte [rbp - 1]
add eax, dword [rdx]
xor bh, bh
add eax, dword [rdx]
cmp edi, edi
add eax, dword [rdx]
push rdi
inc dword [rbx]
add bh, byte [rdx - 1]
add al, byte [rcx]
xchg esi, eax
inc dword [rdx]
add bl, byte [rbp - 0x4efdfd01]
inc dword [rdx]
add dword [rsi - 0x3dfefc01], edi
inc dword [rbx]
add ebp, eax
inc dword [rdx]
add dword [rdi - 0x6bfdfd01], esp
inc dword [rdi]
add edx, ecx
dec dword [rdi]
add esp, edx
call qword [rax]
add esi, edx
inc dword [rdi]
add eax, ecx
inc dword [rcx]
add dword [rbx - 0x4bfefd01], edi
inc dword [rdx]
add dword [rbx - 0x45fefd01], esi
inc dword [rdx]
add dword [rdx - 0x43fefc01], edi
inc dword [rsi]
add esi, dword [rdi + rdi*8 - 0x6bfdfe]
add al, byte [rdx]
movabs eax, dword [0xbf0103ffbb0102ff]
inc dword [0x144039bf2]
add dword [rdi - 0x40fefc01], edi
inc dword [rdx]
add ebx, eax
inc dword [rdx]
add ch, byte [rbx - 0x6cfdfd01]
inc dword [rdx]
add dword [rax - 0x46fefe01], edi
inc dword [rdx]
add bh, byte [rbx - 0x3afefc01]
inc dword [rbx]
add ebp, eax
inc dword [rbx]
add dword [rsi - 0x3ffefb01], edi
inc dword [rdx]
add ecx, eax
inc dword [rcx]
add dword [rdi + rdi*8 - 0x42fefd], edi
add dword [rcx], eax
mov ebp, 0xba0101ff
inc dword [rcx]
add dword [rcx - 0x49fefe01], esi
inc dword [rdx]
add dh, byte [rcx - 0x45fdfc01]
inc dword [rsi]
add ecx, dword [rsi - 0x4cfdfb01]
inc dword [rdx]
add eax, ecx
inc dword [rdx]
add ecx, eax
inc dword [rdx + rax]
ret 0x2ff