Function at 0x44c7f0
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 0x44c4a2
push edi
cmp esi, 0xffffffff
je 0x44c47d
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 0x44c476
mov eax, dword [esp + 0x10]
cmp al, 1
jne 0x44c476
test ah, ah
jne 0x44c476
cmp byte [esp + 0x12], al
jne 0x44c476
cmp byte [esp + 0x13], ah
jne 0x44c476
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 0x44c476
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 0x496e
push 0x473458
push 0x2ab0
push 0x4709a8
push str.mpapi
call fcn.0044c500
add esp, 0x14
pop edi
pop esi
pop ecx
ret
cmp esi, 0xffffffff
je 0x44c4e6
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 0x44c4df
cmp dword [esp + 0xc], 0
je 0x44c4df
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], str.mpapi
jmp 0x44c7f0
sub esp, 0x130
mov eax, dword [0x46f650]
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 0x44c845
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00428d44
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 0x44c8c7
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x44c8a8
cmp dword [esp + 0x20], 1
je 0x44c89d
lea ecx, [esp + 0x1c]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x44c8a8
cmp dword [esp + 0x20], 1
je 0x44c89d
push esi
mov dword [esp + 0x14], 0x425
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44c996
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x44c8be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44c996
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x44c8e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp eax, 0x424
jne 0x44c996
mov dword [esp + 0x10], edi
push 0x458504
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
xor edi, edi
xor ebx, ebx
test esi, esi
je 0x44c90f
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process
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 0x44c938
test ebx, ebx
je 0x44c938
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 0x14], 0
je 0x44c938
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 0x44c950
sub eax, edx
push ebp
lea ecx, [esp + eax + 0x3c]
push str.drivers_s.sys
push ecx
call fcn.0044ce50
add esp, 0xc
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
test edi, edi
jne 0x44c987
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 0
je 0x44c992
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.00428d44
add esp, 0x130
ret