Function at 0x41dd80
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5572e3
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 1
push 0
push 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x41dfd0
cmp dword [esi + 0x28], 8
lea ecx, [esi + 0x14]
jb 0x41dde7
mov ecx, dword [ecx]
push 0x10024
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x41de60
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41de46
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41de46
call edi
sub eax, dword [ebp - 0x78]
cmp eax, 0x1388
jae 0x41de46
cmp dword [ebp - 0x40], 3
jne 0x41de46
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x41de25
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x7c]
call esi
jmp 0x41e132
push 8
push str.ERRORNUM
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00403f90
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x13]
call fcn.00404aa0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp eax, ecx
je 0x41debd
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00403f90
push 1
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.00410d00
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x41df0a
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41df00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e151
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x41df45
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41df3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e156
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x12
push str.error_UndeployPath
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00403f90
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.004b4180
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00411730
lea ecx, [ebp - 0x74]
call fcn.00403d90
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x41dfc0
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dfb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e15b
push edx
push ecx
call fcn.0051ec14
add esp, 8
push dword [ebp - 0x7c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x41e132
push 8
push str.ERRORNUM
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00403f90
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x13]
call fcn.00404aa0
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp eax, ecx
je 0x41e02d
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403f90
push 1
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00410d00
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x41e07a
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e070
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e160
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x41e0b5
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e0ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e165
push edx
push ecx
call fcn.0051ec14
add esp, 8
push 0x12
push str.error_UndeployPath
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00403f90
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x94]
call fcn.004b4180
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00411730
lea ecx, [ebp - 0x94]
call fcn.00403d90
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41e132
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e128
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e16a
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
call fcn.00528129
int3