Function at 0x441930
Capabilities:
Delete file
Delete service
Get common file path
Query service status
Stop service

Disassembly:
push ecx
push esi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..mpapi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0xc], 0
mov esi, eax
je 0x4419f3
push edi
cmp esi, 0xffffffff
je 0x4419ce
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push esi
call edi
test eax, eax
je 0x4419c7
mov eax, dword [esp + 0x10]
cmp al, 1
jne 0x4419c7
test ah, ah
jne 0x4419c7
cmp byte [esp + 0x12], al
jne 0x4419c7
cmp byte [esp + 0x13], 2
jne 0x4419c7
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_VariantClear
push esi
call edi
test eax, eax
je 0x4419c7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x58e7
push 0x46c450
push 0x2af8
push 0x469958
push 0x458ffc
call fcn.00441a50
add esp, 0x14
pop edi
pop esi
pop ecx
ret
cmp esi, 0xffffffff
je 0x441a37
push 0
lea eax, [esp + 8]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push reloc.OLEAUT32.dll_VariantTimeToDosDateTime
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x441a30
cmp dword [esp + 0xc], 0
je 0x441a30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 4
mov dword [esp + 4], 0x458ffc
jmp 0x441d40
sub esp, 0x130
mov eax, dword [0x468600]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push edi
xor edi, edi
push 0xf003f
push edi
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, edi
jne 0x441d95
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00427f57
add esp, 0x130
ret
push esi
push 0xf01ff
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, edi
je 0x441e17
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x441df8
cmp dword [esp + 0x20], 1
je 0x441ded
lea ecx, [esp + 0x1c]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x441df8
cmp dword [esp + 0x20], 1
je 0x441ded
push esi
mov dword [esp + 0x14], 0x425
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x441ee6
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x441e0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x441ee6
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x441e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp eax, 0x424
jne 0x441ee6
mov dword [esp + 0x10], edi
push 0x454b4c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
xor edi, edi
xor ebx, ebx
test esi, esi
je 0x441e5f
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x459060
push esi
call ebx
push str.Wow64EnableWow64FsRedirection
push esi
mov edi, eax
call ebx
mov ebx, eax
mov dword [esp + 0x14], 0
test edi, edi
je 0x441e88
test ebx, ebx
je 0x441e88
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 0x14], 0
je 0x441e88
push 0
call ebx
push 0x104
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x38]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441ea0
sub eax, edx
push ebp
lea ecx, [esp + eax + 0x3c]
push str.drivers_s.sys
push ecx
call fcn.00448df0
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
test edi, edi
jne 0x441ed7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
je 0x441ee2
push 1
call ebx
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x13c]
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00427f57
add esp, 0x130
ret