Function at 0x4b2ea0
Capabilities:
Get disk information
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513d8c
mov eax, dword fs:[0]
push eax
sub esp, 0x970
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x960], ecx
call fcn.00416ae0
test eax, eax
je 0x4b2f25
call fcn.004adea0
mov eax, dword [0x57c0d8]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
je 0x4b31ed
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov dword [ebp - method.CnCrypt::SystemException.virtual_0], vtable.CnCrypt::SystemException.0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x968], eax
lea eax, [ebp - 0x96c]
push 0x5511e0
push eax
call fcn.004e3ce5
push 0xf003f
xor ebx, ebx
cmp dword [ebp + 8], ebx
push 0
push 0
sete bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x4b2efe
mov dword [ebp - 0x968], eax
push 2
push 0x51a1d0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x4b2f84
mov dword [ebp - method.CnCrypt::SystemException.virtual_0], vtable.CnCrypt::SystemException.0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x970], eax
lea eax, [ebp - 0x974]
push 0x5511e0
jmp 0x4b2f1f
mov dword [ebp - 0x970], esi
xor eax, eax
mov dword [ebp - 0x918], 7
mov dword [ebp - 0x91c], 0
mov word [ebp - 0x92c], ax
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4b3157
push 0xb
call fcn.0041c0d0
add esp, 4
test eax, eax
jne 0x4b3138
mov ecx, dword [ebp - 0x960]
lea eax, [ebp - 0x944]
push eax
call fcn.004b0070
push str.driversCnCrypt.sys
lea ecx, [ebp - 0x944]
mov byte [ebp - 4], 3
call fcn.0041ad40
cmp dword [ebp - 0x930], 8
lea ecx, [ebp - 0x914]
push 0x401
lea eax, [ebp - 0x944]
cmovae eax, dword [ebp - 0x944]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNameW]
test eax, eax
je 0x4b3129
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x914]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x4b3129
push 3
lea eax, [ebp - 0x110]
push 0x51d500
push eax
call fcn.004f845a
add esp, 0xc
test eax, eax
jne 0x4b3129
cmp dword [ebp - 0x930], 8
lea ecx, [ebp - 0x914]
push 0x401
lea eax, [ebp - 0x944]
cmovae eax, dword [ebp - 0x944]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
test eax, eax
jne 0x4b30b4
mov dword [ebp - method.CnCrypt::SystemException.virtual_0], vtable.CnCrypt::SystemException.0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x960], eax
lea eax, [ebp - 0x964]
push 0x5511e0
jmp 0x4b2f1f
lea eax, [ebp - 0x914]
push eax
lea ecx, [ebp - 0x92c]
call fcn.0043f1f0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x518b40
lea ecx, [ebp - 0x92c]
call fcn.004b4ce0
dec eax
lea ecx, [ebp - 0x92c]
push eax
push 0x518b40
call fcn.004b4ce0
dec eax
lea ecx, [ebp - 0x92c]
push eax
push 0x518b40
call fcn.004b4ce0
inc eax
lea ecx, [ebp - 0x92c]
push eax
lea eax, [ebp - 0x95c]
push eax
call fcn.0042b8f0
push eax
lea ecx, [ebp - 0x92c]
call fcn.004256c0
lea ecx, [ebp - 0x95c]
call fcn.00495b40
lea ecx, [ebp - 0x944]
mov byte [ebp - 4], 2
call fcn.00495b40
cmp dword [ebp - 0x91c], 0
je 0x4b3157
cmp dword [ebp - 0x918], 8
lea ecx, [ebp - 0x92c]
cmovae ecx, dword [ebp - 0x92c]
jmp 0x4b3159
xor ecx, ecx
push 0
push 0
push 0
push 0
xor edx, edx
mov eax, str.Filter
push 0
test ebx, ebx
cmove eax, edx
push eax
xor eax, eax
test ebx, ebx
push ecx
setne al
inc eax
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x4b308e
push dword [ebp + 8]
push str.Start
push str.SYSTEMCurrentControlSetServicesCnCrypt
call fcn.004c0f90
add esp, 0xc
test eax, eax
jne 0x4b31cc
mov dword [ebp - method.CnCrypt::SystemException.virtual_0], vtable.CnCrypt::SystemException.0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x978], eax
lea eax, [ebp - 0x97c]
push 0x5511e0
jmp 0x4b2f1f
lea ecx, [ebp - 0x92c]
call fcn.00495b40
lea ecx, [ebp - 0x970]
call fcn.004ab940
lea ecx, [ebp - 0x968]
call fcn.004ab940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 4