Function at 0x426350
Capabilities:
Delete service
Enumerate gui resources
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557d6e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0xa
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.0045900d
push fcn.00417700
push fcn.00404770
push 5
push 4
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.0053f788
mov byte [ebp - 4], 2
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4263ce
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 3
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4263fb
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
push 0x2c
lea ecx, [ebp - 0x98]
push ecx
xor ebx, ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov edi, esp
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], ebx
call fcn.00404610
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00419180
mov eax, dword [ebp - 0x8c]
lea edx, [eax - 4]
add esp, 0xc
cmp edx, 1
ja 0x426bf3
mov edi, dword [ebp - 0x94]
xor esi, esi
test eax, eax
jle 0x4264a3
lea ebx, [ebp - 0x24]
mov edi, edi
mov eax, edi
test edi, edi
je 0x4264d6
mov edi, dword [edi]
add eax, 8
push eax
mov ecx, ebx
call fcn.00405460
mov eax, dword [ebx]
push eax
push esi
push str.Parameter__d____s_n
call fcn.00415550
inc esi
add esp, 0xc
add ebx, 4
cmp esi, dword [ebp - 0x8c]
jl 0x426470
mov ebx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00405460
mov esi, dword [ebp - 0x58]
cmp dword [esi - 0xc], 0
jne 0x4264db
push str.CUninstallActions::Test_strName_length_is_zero._n
push 0x56dce8
call fcn.00415550
add esp, 8
mov dword [ebp - 0x44], 1
jmp 0x426668
call fcn.00449c8f
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x42651e
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x5c], esp
mov edi, esp
push eax
call fcn.00404610
mov ecx, dword [ebp - 0x6c]
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00425f70
test eax, eax
jne 0x42651e
push str.CUninstallActions::Test_IsMetConditions_failed._n
push 0x56dce8
call fcn.00415550
add esp, 8
jmp 0x426668
mov edx, dword [ebp - 0x24]
push str.CHK_APPCLASS
push edx
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x426556
xor edi, edi
push edi
push esi
mov dword [ebp - 0x5c], edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
jne 0x42671a
mov dword [ebp - 0x44], 1
jmp 0x426668
mov eax, dword [ebp - 0x24]
push str.CHK_APPTITLE
push eax
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x42658d
push esi
mov edi, 1
push eax
mov dword [ebp - 0x5c], edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
jne 0x42671a
mov dword [ebp - 0x44], edi
jmp 0x426668
mov ecx, dword [ebp - 0x24]
push str.CHK_APPTITLE_INCLUDE
push ecx
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x4265f3
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
mov edi, 2
or ecx, eax
mov dword [ebp - 0x5c], edi
jge 0x4265c6
push 0
lea ecx, [ebp - 0x58]
call fcn.004045b0
mov esi, dword [ebp - 0x58]
lea edx, [ebp - 0x64]
push edx
push 0x41baa0
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x42671a
mov dword [ebp - 0x44], 1
jmp 0x426668
mov eax, dword [ebp - 0x24]
push str.CHK_SERVICE
push eax
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x426be6
push 0x400f003f
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x42663b
push str.CUninstallActions::Test_OpenSCManager_failed._n
push 0x56dce8
call fcn.00415550
add esp, 8
mov dword [ebp - 0x44], 1
jmp 0x426668
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x426717
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x426668
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42668b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4266ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00417700
push 5
push 4
lea ecx, [ebp - 0x24]
push ecx
mov byte [ebp - 4], 1
call fcn.0053ee28
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.0045913b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4266f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
push ecx
push str.0x_x
push edx
call fcn.0053ef82
add esp, 0xc
test eax, eax
jg 0x426748
mov ecx, dword [ebp - 0x1c]
push 0xa
lea eax, [ebp - 0x78]
push eax
push ecx
call fcn.0053f49b
add esp, 0xc
mov dword [ebp - 0x68], eax
test ebx, ebx
je 0x426ad2
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42676a
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x426797
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 6
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4267c4
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push ebx
mov byte [ebp - 4], 7
call fcn.004521d0
lea ecx, [ebp - 0x50]
test eax, eax
jne 0x4267fe
call fcn.00417700
lea ecx, [ebp - 0x48]
call fcn.00417700
lea ecx, [ebp - 0x4c]
call fcn.00417700
jmp 0x42665a
push ecx
mov ecx, eax
call fcn.00453e1b
mov eax, dword [ebp - 0x68]
sub eax, 0
je 0x426a07
dec eax
je 0x42689b
sub eax, 0xf
jne 0x426ab6
push eax
push eax
push 2
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ecx]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
sub eax, 0
je 0x426887
dec eax
je 0x426882
dec eax
jne 0x426892
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x426864
push 0
lea ecx, [ebp - 0x58]
call fcn.004045b0
mov esi, dword [ebp - 0x58]
lea edx, [ebp - 0x64]
push edx
push 0x41baa0
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 0x60]
jmp 0x426892
push esi
push 0
jmp 0x42688a
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
jne 0x426830
jmp 0x426aaf
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push 0xfac
push ecx
call fcn.00405bb0
mov ecx, dword [section..data]
add esp, 0xc
push 0xfac
call fcn.00405510
push eax
lea ecx, [ebp - 0x48]
call fcn.004053f0
call fcn.0044bf0f
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0x48]
call fcn.00404f20
mov dword [ebp - 0x44], 0xfac
lea esp, [esp]
mov edi, dword [section..data]
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 4]
call fcn.004052c0
mov eax, dword [eax]
cmp eax, dword [edi + 8]
je 0x426912
mov edi, dword [eax + 0x14]
jmp 0x426914
xor edi, edi
mov ecx, dword [ebp - 0x48]
mov eax, 1
sub eax, dword [ecx - 4]
mov ecx, dword [ecx - 8]
or ecx, eax
jge 0x426930
push 0
lea ecx, [ebp - 0x48]
call fcn.004045b0
mov ecx, dword [ebp - 0x4c]
mov eax, 1
sub eax, dword [ecx - 4]
mov ecx, dword [ecx - 8]
or ecx, eax
jge 0x42694c
push 0
lea ecx, [ebp - 0x4c]
call fcn.004045b0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x6c]
push edi
push ecx
mov ecx, dword [eax + 0x44]
push edx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
cmp edi, 4
jne 0x4269f7
mov eax, dword [ebp - 0x5c]
sub eax, 0
je 0x4269e4
dec eax
je 0x4269df
dec eax
jne 0x4269ef
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x426997
push 0
lea ecx, [ebp - 0x58]
call fcn.004045b0
mov esi, dword [ebp - 0x58]
lea edx, [ebp - 0x64]
push edx
push 0x41baa0
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 0x60]
push ebx
call fcn.004521d0
test eax, eax
je 0x4269ef
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.00453e1b
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x4c]
push 0xfac
push eax
call fcn.00405bb0
add esp, 0xc
jmp 0x4269ef
push esi
push 0
jmp 0x4269e7
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
jne 0x4268f0
xor ecx, ecx
cmp edi, 2
setne cl
mov dword [ebp - 0x44], ecx
jmp 0x426ab6
mov edx, dword [ebp - 0x50]
push edx
lea eax, [ebp - 0x4c]
push 0xfab
push eax
call fcn.00405bb0
mov ecx, dword [section..data]
add esp, 0xc
push 0xfab
call fcn.00405510
push eax
lea ecx, [ebp - 0x48]
call fcn.004053f0
call fcn.0044bf0f
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0x48]
call fcn.00404f20
mov edi, dword [ebp - 0x48]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x426a70
push 0
lea ecx, [ebp - 0x48]
call fcn.004045b0
mov edi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x426a8f
push 0
lea ecx, [ebp - 0x4c]
call fcn.004045b0
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [section..data]
push 0xfab
call fcn.00405540
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x44]
push eax
push edi
push ebx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x50]
call fcn.00417700
lea ecx, [ebp - 0x48]
call fcn.00417700
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00417700
cmp dword [ebp - 0x54], 0
je 0x42665a
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
sub eax, 0
je 0x426b6e
dec eax
je 0x426b23
sub eax, 0xf
jne 0x426bd7
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov edx, dword [ebp - 0x54]
push edx
mov dword [ebp - 0x44], eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x42665a
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x40]
push ecx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x426bd0
cmp dword [ebp - 0x3c], 1
je 0x426bd0
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
push eax
push ecx
call edi
test eax, eax
je 0x426bbe
cmp dword [ebp - 0x3c], 1
jne 0x426b51
jmp 0x426bd0
mov edx, dword [ebp - 0x54]
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x426bd0
mov ebx, dword [ebp - 0x54]
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x40]
push eax
push ebx
call edi
cmp dword [ebp - 0x3c], 4
je 0x426bd0
jmp 0x426ba0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x40]
push ecx
push ebx
call edi
test eax, eax
je 0x426bbe
cmp dword [ebp - 0x3c], 4
jne 0x426ba0
jmp 0x426bd0
push str.CUninstallActions::Test_QueryServiceStatus_failed._n
push 0x56dce8
call fcn.00415550
add esp, 8
mov dword [ebp - 0x44], 1
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x42665a
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x426668
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
push str.CUninstallActions::Test_invalid_parameters.___s_
push ecx
call fcn.0040ba60
mov edx, dword [ebp - 0x70]
add esp, 0xc
push 0x10
push str.Internal_Error
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x426668