Function at 0x1032f750
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x10363a7e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
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.10306cc0
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.100cdd90
mov dword [esp + 0x9c], 0
mov eax, dword [0x105e87a0]
test al, 1
jne 0x1032f829
or eax, 1
mov dword [0x105e87a0], eax
mov byte [esp + 0x9c], 1
mov dword [0x105e879c], 0
call fcn.1016c620
push 0x10366040
call fcn.1033d620
add esp, 4
mov byte [esp + 0x9c], 0
lea eax, [esp + 0x30]
mov ecx, 0x105e879c
push eax
call fcn.1016c7f0
mov edi, eax
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x1032f859
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 0x1032fb21
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 0x1032fb21
test ebx, ebx
je 0x1032fb21
cmp dword [esp + 0x24], 0
je 0x1032fb21
cmp dword [esp + 0x14], 0
je 0x1032fb21
test esi, esi
je 0x1032fb21
push 4
push 0
push 0
call ebp
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x1032fb21
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 0x1032fb1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1032fb1e
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, 0x24
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1033d1c5
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 0x1032fb18
mov ebp, 0x2800
push ebp
call fcn.1033d1c5
add esp, 4
mov dword [esp + 0x18], 0
cmp dword [esp + 0x50], 0
mov esi, eax
jbe 0x1032fb0a
lea esp, [esp]
push ebp
push 0
push esi
call sub.MSVCR120.dll_memset
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 0x1032fad1
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 0x1032fad1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1032fad1
mov eax, dword [esp + 0x4c]
cmp eax, ebp
jbe 0x1032fa8d
push esi
mov ebp, eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
push ebp
call fcn.1033d1c5
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 0x1032fad1
push dword [edi]
lea ecx, [esp + 0x58]
call fcn.100cd6c0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1032fab9
push eax
lea ecx, [esp + 0x70]
call fcn.100cd6c0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x54]
push eax
call fcn.10336dc0
push ebx
call dword [esp + 0x24]
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.100f27f0
mov eax, dword [esp + 0x18]
add edi, 0x24
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x50]
jb 0x1032f9b0
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.1033d458
add esp, 0x8c
ret 4