Function at 0x1401361b0
Capabilities:
Enumerate services

Disassembly:
sub rsp, 0x468
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0x458], rax
mov dword [rsp + 0x3f0], 0
mov dword [rsp + 0x3f4], 0
mov dword [rsp + 0x3f8], 0
mov r8d, 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140136241
lea rdx, str.Failed_to_open_service_control_manager.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011b70
mov qword [rsp + 0x80], rax
lea rdx, [0x140011fa0]
mov rcx, qword [rsp + 0x80]
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]
mov eax, 1
jmp 0x140136a3f
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x3f4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 3
mov edx, 0x3ff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1401362db
lea rdx, str.Failed_to_retrieve_service_information.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011b70
mov qword [rsp + 0x88], rax
lea rdx, [0x140011fa0]
mov rcx, qword [rsp + 0x88]
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]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x140136a3f
mov edx, Ordinal_26
lea rcx, [rsp + 0x420]
call fcn.14000b310
lea rcx, [rsp + 0x44]
call fcn.14000f090
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x3f0]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x420]
call fcn.14013fe40
nop
lea rcx, [rsp + 0x420]
call fcn.140076390
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x3f4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x3f0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8d, 1
mov edx, 0x3ff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x1401363e8
lea rdx, [0x140346c10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011b70
mov qword [rsp + 0xa0], rax
lea rdx, [0x140011fa0]
mov rcx, qword [rsp + 0xa0]
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]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rsp + 0x60], 1
lea rcx, [rsp + 0x420]
call fcn.14013fcc0
mov eax, dword [rsp + 0x60]
jmp 0x140136a3f
mov dword [rsp + 0x40], 0
jmp 0x1401363fc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3f4]
cmp dword [rsp + 0x40], eax
jae 0x140136a1b
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x438]
call fcn.14000f350
nop
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x400]
call fcn.14000f350
nop
lea r8, [rsp + 0x438]
lea rdx, [0x140346cb8]
lea rcx, [rsp + 0x250]
call fcn.140061e80
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x438]
call fcn.14000f270
lea rcx, [rsp + 0x250]
call fcn.14000f240
lea rax, [rsp + 0x290]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x438]
mov rcx, qword [rsp + 0xb0]
call fcn.14000f3f0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x270]
call fcn.140135d20
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [0x1403be118]
call fcn.14000f270
lea rcx, [rsp + 0x270]
call fcn.14000f240
lea rdx, [rsp + 0x210]
lea rcx, [0x1403be118]
call fcn.140140930
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x218]
lea rcx, [0x1403be118]
call fcn.1401408c0
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x220]
lea rcx, [0x1403be118]
call fcn.140140930
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf0], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x228]
call fcn.1401467e0
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x400]
call fcn.140140930
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x400]
call fcn.1401408c0
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x400]
call fcn.140140930
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x120], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x248]
call fcn.1401467e0
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x128], rax
lea rdx, [0x1403be118]
mov rcx, qword [rsp + 0x128]
call fcn.14000f3f0
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.140135e60
cmp eax, 0x32c8
jge 0x1401366fb
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x138], rax
lea rdx, [0x1403be118]
mov rcx, qword [rsp + 0x138]
call fcn.14000f3f0
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.140135e60
cmp eax, 0x1388
jg 0x140136737
xor r8d, r8d
lea rdx, str.hack
lea rcx, [0x1403be118]
call fcn.1400b4180
cmp rax, 0xffffffffffffffff
jne 0x140136737
xor r8d, r8d
lea rdx, str.iqvw64e
lea rcx, [0x1403be118]
call fcn.1400b4180
cmp rax, 0xffffffffffffffff
je 0x1401369fb
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x400]
mov rcx, qword [rsp + 0x148]
call fcn.14000f3f0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x310]
mov qword [rsp + 0x160], rax
lea rdx, str.Fix_Driver
mov rcx, qword [rsp + 0x160]
call fcn.14000f350
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x178], rax
mov byte [rsp + 0x20], 1
mov r9d, 8
mov r8d, 0xa
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
call fcn.14012df00
lea rax, [rsp + 0x330]
mov qword [rsp + 0x180], rax
lea rdx, [0x1403be118]
mov rcx, qword [rsp + 0x180]
call fcn.14000f3f0
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x350]
mov qword [rsp + 0x198], rax
lea rdx, [rsp + 0x400]
mov rcx, qword [rsp + 0x198]
call fcn.14000f3f0
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b0]
call fcn.140136070
lea rcx, [0x1403be118]
call fcn.140135ee0
movzx eax, al
test eax, eax
je 0x140136956
lea rax, [rsp + 0x370]
mov qword [rsp + 0x1b8], rax
lea rdx, str.Patched_Ok
mov rcx, qword [rsp + 0x1b8]
call fcn.14000f350
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x390]
mov qword [rsp + 0x1d0], rax
lea r8, [rsp + 0x400]
lea rdx, str.Driver_:
mov rcx, qword [rsp + 0x1d0]
call fcn.140061e80
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e8], rax
mov byte [rsp + 0x20], 0
mov r9d, 4
mov r8d, 0xa
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1e8]
call fcn.14012df00
jmp 0x1401369fb
lea rax, [rsp + 0x3b0]
mov qword [rsp + 0x1f0], rax
lea rdx, [0x140346cf8]
mov rcx, qword [rsp + 0x1f0]
call fcn.14000f350
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x208], rax
lea r8, [rsp + 0x400]
lea rdx, [0x140346ce0]
mov rcx, qword [rsp + 0x208]
call fcn.140061e80
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x20], 0
mov r9d, 0xa
mov r8d, 0xa
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.14012df00
nop
lea rcx, [rsp + 0x400]
call fcn.14000f240
nop
lea rcx, [rsp + 0x438]
call fcn.14000f240
jmp 0x1401363f2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x420]
call fcn.14013fcc0
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x458]
xor rcx, rsp
call fcn.140266db0
add rsp, 0x468
ret