Function at 0x419d60
Capabilities:
Enumerate services
Query service configuration

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4323a3
push eax
mov eax, 0x8048
mov dword fs:[0], esp
call fcn.0041c1e0
mov eax, dword [0x43db14]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
push str._0___s_s__r_n_1__Name_s__r_n_1__Login_s__r_n_1__Description_s__r_n
lea ecx, [esp + 0x44]
mov dword [esp + 0x8064], 1
call fcn.00428960
push str.Stopped_nSTART_PENDING_nSTOP_PENDING_nRunning_nCONTINUE_PENDING_nPAUSE_PENDING_nPaused_n
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8064], 2
call fcn.00428960
mov eax, dword [0x43db14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ecx, dword [0x43db14]
mov ebp, eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], 0x2000
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
push ebx
lea eax, [esp + 0x18]
push edx
push eax
push ecx
push ebx
push 3
push 0x30
push ebp
mov byte [esp + 0x8080], 9
call edi
mov edx, dword [esp + 0x14]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [esp + 0x14]
mov esi, eax
lea eax, [esp + 0x18]
push ebx
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
push esi
push 3
push 0x30
push ebp
mov dword [esp + 0x64], esi
call edi
cmp dword [esp + 0x18], ebx
jbe 0x41a014
jmp 0x419e68
mov ebp, dword [esp + 0x3c]
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x58]
mov dword [esp + 0x10], 0x2000
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push eax
push 0x43d940
push ecx
call fcn.00427b91
mov edx, dword [esi]
add esp, 0xc
lea eax, [esp + 0x2c]
push edx
push 0x43d940
push eax
call fcn.00427b91
mov ecx, dword [esi + 0xc]
add esp, 0xc
lea edx, [esp + 0x20]
push ecx
push 0x43d34c
push edx
call fcn.00427b91
mov eax, dword [esi]
add esp, 0xc
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2A]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x28]
push ecx
push 0x43d940
push edx
call fcn.00427b91
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, ecx
lea edi, [esp + 0x64]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 0xc
and ecx, 3
mov dword [esp + 0x10], 0x2000
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x58]
push eax
push 0x2000
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x30]
push edx
push 0x43d940
push eax
call fcn.00427b91
add esp, 0xc
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [0x43db14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x8060], 0xa
push edx
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00416550
push eax
call fcn.0041c36a
add esp, 4
dec eax
lea edx, [esp + 0x44]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call fcn.00428667
lea eax, [esp + 0x60]
push eax
call fcn.00419cc0
add esp, 0xc
mov ecx, dword [eax]
mov edx, dword [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x8074], 0xb
call fcn.00416550
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00427b91
add esp, 0x1c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8060], 0xa
call fcn.004288f2
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
call fcn.00428cbe
lea ecx, [esp + 0x34]
mov byte [esp + 0x8060], 9
call fcn.004288f2
mov eax, dword [esp + 0x18]
inc ebx
add esi, 0x24
cmp ebx, eax
jb 0x419e64
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x8068]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00428667
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x8060], 8
call fcn.004288f2
lea ecx, [esp + 0x30]
mov byte [esp + 0x8060], 7
call fcn.004288f2
lea ecx, [esp + 0x28]
mov byte [esp + 0x8060], 6
call fcn.004288f2
lea ecx, [esp + 0x20]
mov byte [esp + 0x8060], 5
call fcn.004288f2
lea ecx, [esp + 0x24]
mov byte [esp + 0x8060], 4
call fcn.004288f2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8060], 3
call fcn.004288f2
lea ecx, [esp + 0x38]
mov byte [esp + 0x8060], 2
call fcn.004288f2
lea ecx, [esp + 0x40]
mov byte [esp + 0x8060], 1
call fcn.004288f2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8060], 0
call fcn.004288f2
mov ecx, dword [esp + 0x8058]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8054
ret