Function at 0x140006ad0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
cmp dword [0x14003f9fc], r14d
jne 0x140006b22
mov rcx, qword [0x14003ef88]
test rcx, rcx
je 0x140006b22
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [rsp + 0x40]
mov rcx, qword [0x14003ef88]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [0x14003ef88], r14
lea rbx, [0x1400386f8]
mov edi, 0x400
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006b45
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx], r14
add rbx, 0x18
dec rdi
jne 0x140006b30
mov rcx, qword [0x14003f9f0]
test rcx, rcx
je 0x140006b69
mov rax, qword [rcx]
lea edx, [rdi + 1]
call qword [rax]
mov qword [0x14003f9f0], r14
mov rbx, qword [0x14003fcb8]
test rbx, rbx
je 0x140006b8e
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003fcb8], r14
mov rbx, qword [0x14003fcb0]
test rbx, rbx
je 0x140006bb3
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003fcb0], r14
mov rbx, qword [0x14003f8a8]
test rbx, rbx
je 0x140006bd8
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003f8a8], r14
mov rbx, qword [0x14003f8b8]
test rbx, rbx
je 0x140006bfd
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003f8b8], r14
mov rbx, qword [0x14003f698]
test rbx, rbx
je 0x140006c22
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003f698], r14
cmp dword [0x14003f9fc], r14d
jne 0x140006c44
mov rcx, qword [0x14003f9e8]
test rcx, rcx
je 0x140006c44
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [0x14003f9e8], r14
mov rbx, qword [0x14003fa40]
test rbx, rbx
je 0x140006c69
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003fa40], r14
mov rbx, qword [0x14003fa38]
test rbx, rbx
je 0x140006c8e
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003fa38], r14
mov rbx, qword [0x14003fa28]
test rbx, rbx
je 0x140006cb3
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003fa28], r14
mov rbx, qword [0x14003fa30]
test rbx, rbx
je 0x140006cd8
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003fa30], r14
mov rbx, qword [0x14003fa20]
test rbx, rbx
je 0x140006cfd
mov rcx, qword [rbx]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFree]
mov qword [0x14003fa20], r14
mov rcx, qword [0x14003fd58]
test rcx, rcx
je 0x140006d1a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x14003fd58], r14
mov rcx, qword [0x140040e88]
test rcx, rcx
je 0x140006d37
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x140040e88], r14
mov rcx, qword [0x140040ea0]
test rcx, rcx
je 0x140006d54
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x140040ea0], r14
mov rcx, qword [0x140040eb8]
test rcx, rcx
je 0x140006d71
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x140040eb8], r14
lea rsi, [0x1400409f0]
mov ebp, 2
nop dword [rax]
mov rbx, rsi
mov edi, 3
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006d9d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx], r14
add rbx, 8
dec rdi
jne 0x140006d88
add rsi, 0x248
dec rbp
jne 0x140006d80
cmp dword [0x14003f9fc], r14d
jne 0x140006e45
mov rcx, qword [0x14003fa48]
test rcx, rcx
je 0x140006dda
mov rax, qword [rcx]
lea edx, [rdi + 1]
call qword [rax]
mov qword [0x14003fa48], r14
call qword [sym.imp.AsusTPApi.dll_DestroyTPSrv]
call fcn.1400128a0
lea rdi, [0x14003fd20]
mov esi, 6
mov rbx, qword [rdi]
test rbx, rbx
je 0x140006e23
cmp dword [rbx + 8], r14d
je 0x140006e17
mov rcx, qword [rbx]
or edx, 0xffffffff
mov dword [rbx + 8], r14d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call fcn.140010930
mov rcx, rbx
call qword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rdi], r14
add rdi, 8
dec rsi
jne 0x140006df1
mov rcx, qword [0x14003fd18]
test rcx, rcx
je 0x140006e45
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [0x14003fd18], r14
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret