Function at 0x10032492
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003268d
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100324e9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1003268b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1003250b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jg 0x1003252b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10032529
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x10032500
mov dword [ebp - 0x2c], 0x26de
cmp dword [ebp - 0x2c], 0xa1c
jge 0x1003268b
push 8
pop eax
imul eax, eax, 0
mov dword [eax + 0x1257e190], 1
and dword [eax + 0x1257e194], 0
push 8
pop eax
imul eax, eax, 0
mov dword [eax + 0x12d27240], 1
and dword [eax + 0x12d27244], 0
mov dword [ebp - 8], 1
jmp 0x1003257d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x13
jge 0x100325e1
mov eax, dword [ebp - 8]
push 0
push 0xa
push dword [eax*8 + 0x12d2723c]
push dword [eax*8 + 0x12d27238]
call fcn.1005b740
mov ecx, dword [ebp - 8]
mov dword [ecx*8 + 0x12d27240], eax
mov dword [ecx*8 + 0x12d27244], edx
mov eax, dword [ebp - 8]
push 0
push 2
push dword [eax*8 + 0x12d27244]
push dword [eax*8 + 0x12d27240]
call fcn.1005b740
sub eax, 1
sbb edx, 0
mov ecx, dword [ebp - 8]
mov dword [ecx*8 + 0x1257e190], eax
mov dword [ecx*8 + 0x1257e194], edx
jmp 0x10032576
push 0x1257de6c
push 0x10009d04
call fcn.10055d2e
pop ecx
pop ecx
and dword [ebp - 0xc], 0
jmp 0x100325ff
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x1257de6c]
jge 0x10032649
mov eax, dword [ebp - 0xc]
lea eax, [eax*8 + 0x12580178]
push eax
mov eax, dword [ebp - 0xc]
lea eax, [eax*8 + 0x124e8df0]
push eax
push 0x10009f40
call fcn.10055d2e
add esp, 0xc
push dword [ebp - 0xc]
call fcn.10031fbe
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx*8 + 0x1257e228], eax
mov dword [ecx*8 + 0x1257e22c], edx
jmp 0x100325f8
push 0x12d88da4
push 0x10009d04
call fcn.10055d2e
pop ecx
pop ecx
push 0x7a5088
push 0xffffffffffffffff
push 0x125820c8
call fcn.1002a209
add esp, 0xc
push 0
push 0
call fcn.100322b2
pop ecx
pop ecx
push ecx
push ecx
fstp qword [esp]
push 0x1000a094
call fcn.100558e6
add esp, 0xc
jmp 0x100326c3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
push 0x5426
push 0x7d1c
push 0x2950
push 0x6ccf
push 0x7067
push 0
push 0x4c54
push 0x2935
push dword [ebp - 0x30]
call fcn.10030b4a
add esp, 0x24
mov esp, ebp
pop ebp
ret