Function at 0x10026da0
Capabilities:
Create service
Get common file path
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x1004c024]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x438], ecx
mov ecx, dword [ebp - 0x438]
call fcn.100261d0
test eax, eax
je 0x10026dd2
mov eax, 1
jmp 0x10026ff6
mov ecx, dword [ebp - 0x438]
call fcn.100265c0
mov eax, dword [0x1003f3e0]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x1003f3e4]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x1003f3e8]
mov dword [ebp - 0xc], edx
mov eax, dword [0x1003f3ec]
mov dword [ebp - 8], eax
mov word [ebp - 0x430], 0
push 0x206
push 0
lea ecx, [ebp - 0x42e]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [0x1003f3f0]
mov dword [ebp - 0x228], eax
push 0x204
push 0
lea ecx, [ebp - 0x224]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ntdll.dll_wcscat]
add esp, 8
push 0x1003f3f4
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.ntdll.dll_wcscat]
add esp, 8
push str.drivers_volsnap.sys
lea edx, [ebp - 0x430]
push edx
call dword [sym.imp.ntdll.dll_wcscat]
add esp, 8
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 0x438]
call fcn.10025e10
test eax, eax
jne 0x10026eba
mov ecx, dword [ebp - 0x438]
call fcn.10026550
xor eax, eax
jmp 0x10026ff6
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10026eec
jmp 0x10026fc8
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x430]
push ecx
push 3
push 0
push 1
push 0xf01ff
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10026f6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0x3e5
je 0x10026f4c
cmp dword [ebp - 0x434], 0x431
je 0x10026f4c
jmp 0x10026fc8
push 0xf01ff
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10026f6a
jmp 0x10026fc8
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10026f83
jmp 0x10026fc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0x3e5
je 0x10026fa9
cmp dword [ebp - 0x434], 0x420
je 0x10026fa9
jmp 0x10026fc8
cmp dword [ebp - 0x434], 0x3e5
jne 0x10026fb7
jmp 0x10026fc8
mov dword [ebp - 0x20], 1
jmp 0x10026fc8
cmp dword [ebp - 0x1c], 0
je 0x10026fd8
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x18], 0
je 0x10026fe8
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x438]
call fcn.10026550
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f6c2
mov esp, ebp
pop ebp
ret