Function at 0x140010300
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x140010354
lea rcx, [0x140030458]
call fcn.140005070
test eax, eax
je 0x140010352
lea rax, str.NULL___hThread
mov qword [rsp + 0x20], rax
mov r9d, 0x219
lea r8, [0x140030478]
lea rdx, [0x140030488]
lea rcx, [0x140030498]
call fcn.140004c80
xor eax, eax
cmp qword [rsp + 0x78], 0
jne 0x14001039a
lea rcx, [0x1400304b8]
call fcn.140005070
test eax, eax
je 0x140010398
lea rax, str.NULL___hStopEvent
mov qword [rsp + 0x20], rax
mov r9d, 0x21a
lea r8, [0x1400304e0]
lea rdx, [0x1400304f0]
lea rcx, [0x140030500]
call fcn.140004c80
xor eax, eax
cmp dword [0x140038018], 0
jne 0x1400103ad
mov dword [rsp + 0x34], 0
jmp 0x1400103e7
lea rcx, [0x140030520]
call fcn.140005070
test eax, eax
je 0x1400103d7
lea rcx, str.Entry._n
call fcn.140004d20
test eax, eax
je 0x1400103d7
mov dword [rsp + 0x38], 1
jmp 0x1400103df
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x14001043b
lea rcx, [0x140030538]
call fcn.140005070
test eax, eax
je 0x140010439
lea rax, [0x140030548]
mov qword [rsp + 0x20], rax
mov r9d, 0x221
lea r8, [0x140030558]
lea rdx, [0x140030568]
lea rcx, [0x140030578]
call fcn.140004c80
xor eax, eax
cmp dword [rsp + 0x30], 1
jne 0x14001050b
cmp dword [0x140038018], 0
jne 0x140010459
mov dword [rsp + 0x3c], 0
jmp 0x140010498
lea rcx, [0x140030598]
call fcn.140005070
test eax, eax
je 0x140010488
mov rdx, qword [rsp + 0x70]
lea rcx, str.StopNiceThread___Waiting_for_Thread__X_to_end._n
call fcn.140004d20
test eax, eax
je 0x140010488
mov dword [rsp + 0x40], 1
jmp 0x140010490
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
mov edx, 0xea60
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400104b6
mov dword [rsp + 0x44], 1
jmp 0x1400104be
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x14001050b
lea rcx, [0x1400305d8]
call fcn.140005070
test eax, eax
je 0x140010509
lea rax, [0x1400305e8]
mov qword [rsp + 0x20], rax
mov r9d, 0x229
lea r8, [0x1400305f8]
lea rdx, [0x140030608]
lea rcx, [0x140030618]
call fcn.140004c80
xor eax, eax
cmp dword [rsp + 0x30], 0
jne 0x14001060b
cmp dword [0x140038014], 0
jne 0x140010529
mov dword [rsp + 0x48], 0
jmp 0x140010563
lea rcx, [0x140030638]
call fcn.140005070
test eax, eax
je 0x140010553
lea rcx, str.StopNiceThread_called_TerminateThread
call fcn.140004cd0
test eax, eax
je 0x140010553
mov dword [rsp + 0x4c], 1
jmp 0x14001055b
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x48], eax
cmp dword [0x140038018], 0
jne 0x140010576
mov dword [rsp + 0x50], 0
jmp 0x1400105b5
lea rcx, [0x140030670]
call fcn.140005070
test eax, eax
je 0x1400105a5
mov rdx, qword [rsp + 0x70]
lea rcx, str.StopNiceThread___Thread__X_did_not_stop._Forcing_Termination._n
call fcn.140004d20
test eax, eax
je 0x1400105a5
mov dword [rsp + 0x54], 1
jmp 0x1400105ad
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x50], eax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x14001060b
lea rcx, [0x1400306c0]
call fcn.140005070
test eax, eax
je 0x140010609
lea rax, str.TRUE__bStatus
mov qword [rsp + 0x20], rax
mov r9d, 0x232
lea r8, str..SynchMgr.cpp
lea rdx, [0x1400306f0]
lea rcx, [0x140030700]
call fcn.140004c80
xor eax, eax
cmp dword [0x140038018], 0
jne 0x14001061e
mov dword [rsp + 0x58], 0
jmp 0x14001065c
lea rcx, str.StopNiceThread
call fcn.140005070
test eax, eax
je 0x14001064c
mov edx, dword [rsp + 0x30]
lea rcx, str.StopNiceThread___Exit____d._n
call fcn.140004d20
test eax, eax
je 0x14001064c
mov dword [rsp + 0x5c], 1
jmp 0x140010654
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x30]
add rsp, 0x68
ret