Function at 0x469c20
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b9a1e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa4]
push dword [esp + 0x28]
mov dword [esp + 0x30], ebx
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
call fcn.0043a800
mov eax, dword [ebx]
lea ecx, [esp + 0x38]
add esp, 8
mov dword [ebx + 4], eax
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x44], 7
push 0xc
push str.Advapi32.dll
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.004024f0
mov dword [esp + 0x9c], 0
mov eax, dword [0x4e2790]
test al, 1
jne 0x469cf9
or eax, 1
mov dword [0x4e2790], eax
mov byte [esp + 0x9c], 1
mov dword [0x4e278c], 0
call fcn.00407a50
push 0x4bd890
call fcn.0048e01f
add esp, 4
mov byte [esp + 0x9c], 0
lea eax, [esp + 0x30]
mov ecx, 0x4e278c
push eax
call fcn.00407c10
mov edi, eax
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x469d28
push dword [esp + 0x30]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
test edi, edi
je 0x469fe2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c8990
push edi
call esi
push str.EnumServicesStatusW
push edi
mov ebp, eax
call esi
push 0x4c8980
push edi
mov ebx, eax
call esi
push str.QueryServiceConfigW
push edi
mov dword [esp + 0x2c], eax
call esi
push 0x4c89a0
push edi
mov dword [esp + 0x1c], eax
call esi
mov esi, eax
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x469fe2
test ebx, ebx
je 0x469fe2
cmp dword [esp + 0x24], 0
je 0x469fe2
cmp dword [esp + 0x14], 0
je 0x469fe2
test esi, esi
je 0x469fe2
push 4
push 0
push 0
call ebp
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x469fe2
push 0
lea eax, [esp + 0x54]
mov dword [esp + 0x4c], 0
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x58], 0
push eax
push 0
push 0
push 3
push 0x30
push ebp
call ebx
test eax, eax
jne 0x469fdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x469fdf
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, 0x24
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489b8f
add esp, 4
mov edi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x28], edi
push 0
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x54]
push edi
push 3
push 0x30
push ebp
call ebx
cmp eax, 1
jne 0x469fd6
mov ebp, 0x2800
push ebp
call fcn.00489b8f
add esp, 4
mov dword [esp + 0x18], 0
cmp dword [esp + 0x50], 0
mov esi, eax
jbe 0x469fc5
push ebp
push 0
push esi
call fcn.00492dc0
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0xc
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov dword [esp + 0x9c], 2
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
mov dword [esp + 0x9c], 4
cmp dword [edi + 0xc], 4
push 5
push dword [edi]
sete al
push dword [esp + 0x24]
mov dword [esp + 0x90], eax
call dword [esp + 0x30]
mov ebx, eax
test ebx, ebx
je 0x469f92
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0
push eax
push 0
push 0
push ebx
call dword [esp + 0x24]
cmp dword [esp + 0x4c], 0
jbe 0x469f92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x469f92
mov eax, dword [esp + 0x4c]
cmp eax, ebp
jbe 0x469f4e
push esi
mov ebp, eax
call fcn.0048e70c
push ebp
call fcn.00489b8f
push ebp
mov esi, eax
push 0
push esi
call fcn.00492dc0
mov eax, dword [esp + 0x60]
add esp, 0x14
lea ecx, [esp + 0x4c]
push ecx
push eax
push esi
push ebx
call dword [esp + 0x24]
test eax, eax
je 0x469f92
push dword [edi]
lea ecx, [esp + 0x58]
call fcn.00403790
mov eax, dword [esi + 0xc]
test eax, eax
je 0x469f7a
push eax
lea ecx, [esp + 0x70]
call fcn.00403790
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x54]
push eax
call fcn.00470d00
push ebx
call dword [esp + 0x24]
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.004197a0
mov eax, dword [esp + 0x18]
add edi, 0x24
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x50]
jb 0x469e72
mov edi, dword [esp + 0x28]
push esi
call fcn.0048e70c
mov ebp, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x20]
push edi
call fcn.0048e70c
add esp, 4
push ebp
call esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0048d894
add esp, 0x8c
ret 4