Function at 0x10092a60
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x1011962e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
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.1009ccc0
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.10004390
mov dword [esp + 0x9c], 0
mov eax, dword [0x10162528]
test al, 1
jne 0x10092b39
or eax, 1
mov dword [0x10162528], eax
mov byte [esp + 0x9c], 1
mov dword [0x10162524], 0
call fcn.10059fc0
push 0x10128230
call fcn.1010378f
add esp, 4
mov byte [esp + 0x9c], 0
lea eax, [esp + 0x30]
mov ecx, 0x10162524
push eax
call fcn.1005a270
mov edi, eax
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x10092b69
push dword [esp + 0x30]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
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 0x10092deb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenSCManagerW
push edi
call esi
push str.EnumServicesStatusW
push edi
mov ebp, eax
call esi
push str.OpenServiceW
push edi
mov ebx, eax
call esi
push str.QueryServiceConfigW
push edi
mov dword [esp + 0x2c], eax
call esi
push str.CloseServiceHandle
push edi
mov dword [esp + 0x1c], eax
call esi
mov esi, eax
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x10092deb
test ebx, ebx
je 0x10092deb
cmp dword [esp + 0x24], 0
je 0x10092deb
cmp dword [esp + 0x14], 0
je 0x10092deb
test esi, esi
je 0x10092deb
push 4
push 0
push 0
call ebp
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x10092deb
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 0x10092de8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x10092de8
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, 0x24
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10103452
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
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
cmp eax, 1
jne 0x10092de2
mov ebp, 0x2800
push ebp
call fcn.10103452
add esp, 4
mov dword [esp + 0x18], 0
cmp dword [esp + 0x50], 0
mov esi, eax
jbe 0x10092dd4
lea esp, [esp]
push ebp
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [esp + 0x54]
call fcn.10092e20
mov dword [esp + 0x9c], 2
xor eax, eax
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 0x10092d9b
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 0x10092d9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10092d9b
mov eax, dword [esp + 0x4c]
cmp eax, ebp
jbe 0x10092d57
push esi
mov ebp, eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
push ebp
call fcn.10103452
push ebp
mov esi, eax
push 0
push esi
call sub.MSVCR120.dll_memset
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 0x10092d9b
push dword [edi]
lea ecx, [esp + 0x58]
call fcn.1000da90
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10092d83
push eax
lea ecx, [esp + 0x70]
call fcn.1000da90
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x54]
push eax
call fcn.1009a2f0
push ebx
call dword [esp + 0x24]
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.10092e90
mov eax, dword [esp + 0x18]
add edi, 0x24
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x50]
jb 0x10092cc0
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
mov edi, dword [esp + 0x28]
push esi
call ebx
mov ebp, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x20]
push edi
call ebx
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.10103694
add esp, 0x8c
ret 4