Function at 0x140009b60
Capabilities:
Create thread
Terminate thread

Disassembly:
push rdi
sub rsp, 0xc0
mov rax, qword [0x1401cf518]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0x8d
mov eax, dword [rsp + 0x60]
mov ecx, eax
call fcn.14010dbe0
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x48], rax
mov eax, dword [rsp + 0x60]
mov ecx, 8
imul rcx, rcx, 0
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + rcx + 0x48]
call fcn.1401044f0
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x48]
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
mov eax, 8
imul rax, rax, 0
mov r8, qword [rsp + rax + 0x48]
lea rdx, str.inicia_trace_NET4
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_QueryTraceA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x140009c39
mov eax, 8
imul rax, rax, 0
mov r8, qword [rsp + rax + 0x48]
lea rdx, str.inicia_trace_NET4
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_StopTraceA]
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x28], 2
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x2c], 0x20000
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x40], 0x1000100
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x70], 0
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x74], 0x78
mov eax, 8
imul rax, rax, 0
mov ecx, 8
imul rcx, rcx, 0
lea rcx, [rsp + rcx + 0x90]
mov r8, qword [rsp + rax + 0x48]
lea rdx, str.inicia_trace_NET4
call qword [sym.imp.ADVAPI32.dll_StartTraceA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140009cf3
mov edx, dword [rsp + 0x58]
lea rcx, str.____Error_starting_trace:__d_n
call fcn.14000ad70
mov eax, 1
jmp 0x14000a0a6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 8
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x70], rax
mov eax, 8
imul rax, rax, 0
mov ecx, 8
imul rcx, rcx, 0
mov rcx, qword [rsp + rcx + 0x70]
mov rax, qword [rsp + rax + 0x90]
mov qword [rcx], rax
mov eax, 8
imul rax, rax, 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + rax + 0x70]
lea r8, [0x140009a20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0xa0], rax
mov dword [rsp + 0x64], 0x8d
mov eax, dword [rsp + 0x64]
mov ecx, eax
call fcn.14010dbe0
mov ecx, 8
imul rcx, rcx, 1
mov qword [rsp + rcx + 0x48], rax
mov eax, dword [rsp + 0x64]
mov ecx, 8
imul rcx, rcx, 1
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + rcx + 0x48]
call fcn.1401044f0
mov eax, 8
imul rax, rax, 1
mov rax, qword [rsp + rax + 0x48]
mov ecx, dword [rsp + 0x64]
mov dword [rax], ecx
mov eax, 8
imul rax, rax, 1
mov r8, qword [rsp + rax + 0x48]
lea rdx, str.inicia_trace_NET2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_QueryTraceA]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jne 0x140009e14
mov eax, 8
imul rax, rax, 1
mov r8, qword [rsp + rax + 0x48]
lea rdx, str.inicia_trace_NET2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_StopTraceA]
mov eax, 8
imul rax, rax, 1
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x28], 2
mov eax, 8
imul rax, rax, 1
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x2c], 0x20000
mov eax, 8
imul rax, rax, 1
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x40], 0x1000100
mov eax, 8
imul rax, rax, 1
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x70], 0
mov eax, 8
imul rax, rax, 1
mov rax, qword [rsp + rax + 0x48]
mov dword [rax + 0x74], 0x78
mov eax, 8
imul rax, rax, 1
mov ecx, 8
imul rcx, rcx, 1
lea rcx, [rsp + rcx + 0x90]
mov r8, qword [rsp + rax + 0x48]
lea rdx, str.inicia_trace_NET2
call qword [sym.imp.ADVAPI32.dll_StartTraceA]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x140009ece
mov edx, dword [rsp + 0x5c]
lea rcx, str.____Error_starting_trace_NET2:__d_n
call fcn.14000ad70
mov eax, 1
jmp 0x14000a0a6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 8
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 8
imul rcx, rcx, 1
mov qword [rsp + rcx + 0x70], rax
mov eax, 8
imul rax, rax, 1
mov ecx, 8
imul rcx, rcx, 1
mov rcx, qword [rsp + rcx + 0x70]
mov rax, qword [rsp + rax + 0x90]
mov qword [rcx], rax
mov eax, 8
imul rax, rax, 1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + rax + 0x70]
lea r8, [0x1400098e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 8
imul rcx, rcx, 1
mov qword [rsp + rcx + 0xa0], rax
mov r9d, 0x2710
mov r8d, 1
lea rdx, [rsp + 0xa0]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x40], 0
jmp 0x140009f90
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 2
jge 0x14000a0a4
movsxd rax, dword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + rax*8 + 0xa0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd rax, dword [rsp + 0x40]
mov rax, qword [rsp + rax*8 + 0x70]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + rax*8 + 0x70], 0
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9b, 4
xor r8d, r8d
lea rdx, [0x1401c8010]
mov rcx, qword [rsp + rax*8 + 0x90]
call qword [sym.imp.ADVAPI32.dll_EnableTraceEx2]
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rsp + 0x40]
mov r9d, 1
mov r8, qword [rsp + rax*8 + 0x48]
xor edx, edx
mov rcx, qword [rsp + rcx*8 + 0x90]
call qword [sym.imp.ADVAPI32.dll_ControlTraceW]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x40]
cmp qword [rsp + rax*8 + 0x48], 0
je 0x14000a09f
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + rax*8 + 0x48]
call fcn.14010dbcc
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + rax*8 + 0x48], 0
jmp 0x140009f86
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140101e00
add rsp, 0xc0
pop rdi
ret