Function at 0x10027526
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007eca2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push esi
mov dword [ebp - 0x18], 0x399841b3
push 2
lea ecx, [ebp - 0xe0]
call fcn.10009161
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0xd3cd3624
mov dword [ebp - 0xc8], 0x52174d4a
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x60], 0
jmp 0x10027588
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x100275a4
push dword [ebp - 0x60]
lea ecx, [ebp - 0xe0]
call fcn.100091ce
mov dword [eax], 1
jmp 0x10027581
mov dword [ebp - 0x18], 0
jmp 0x100275b4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jg 0x100278a3
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 1
jmp 0x100275dc
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1002789e
mov dword [ebp - 0x14], 0x43046b6e
mov dword [ebp - 0xac], 0xbc8f9611
mov dword [ebp - 0x14], 0
jmp 0x10027607
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10027899
mov dword [ebp - 0x70], 0
jmp 0x10027621
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x10027637
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x13c], 0xb416c28c
jmp 0x1002761a
push dword [ebp - 0x24]
lea ecx, [ebp - 0xe0]
call fcn.100091ce
mov ecx, dword [ebp - 0x14]
cmp dword [eax], ecx
jne 0x1002767e
mov eax, dword [ebp - 0x24]
add eax, 7
cmp eax, dword [ebp - 0x18]
jg 0x10027663
mov dword [ebp - 0xd0], 1
jmp 0x1002766a
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xd0], eax
jg 0x1002767e
and dword [ebp - 0xd4], 0
jmp 0x10027688
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0xd4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], eax
jge 0x100276a9
mov dword [ebp - 0x8c], 1
jmp 0x100276b0
and dword [ebp - 0x8c], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
call fcn.100091ce
mov esi, dword [ebp - 0x8c]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0xe0]
call fcn.100091ce
imul esi, dword [eax]
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
call fcn.100091ce
cmp esi, dword [eax]
jg 0x100276f4
mov dword [ebp - 0xf8], 1
jmp 0x100276fb
and dword [ebp - 0xf8], 0
mov dword [ebp - 0x34], 0xffff
mov esi, dword [ebp - 0x34]
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
call fcn.100091ce
cmp dword [eax], esi
jle 0x10027723
mov dword [ebp - 0x118], 1
jmp 0x1002772a
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x12c], eax
xor eax, eax
imul eax, eax, 0xfffa
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 1
jl 0x10027753
mov dword [ebp - 0x7c], 1
jmp 0x10027757
and dword [ebp - 0x7c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0x13c], ecx
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jg 0x1002777e
mov dword [ebp - 0x94], 1
jmp 0x10027785
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x94], eax
je 0x1002783d
mov dword [ebp - 0x50], 0
jmp 0x100277a4
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x100277ba
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x194], 1
jmp 0x1002779d
mov dword [ebp - 0x2c], 1
jmp 0x100277ca
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x100277e4
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x100277e2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x100277c3
mov dword [ebp - 0x34], 1
jmp 0x100277f4
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1002783b
mov dword [ebp - 0x164], 0xb46
mov dword [ebp - 0xc8], 1
cmp dword [ebp - 0xc8], 0xb6c411e6
jbe 0x10027826
mov dword [ebp - 0x9c], 1
jmp 0x1002782d
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x114], eax
jmp 0x100277ed
jmp 0x10027894
mov dword [ebp - 0x68], 0
jmp 0x1002784d
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x10027863
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x148], 0xab66969e
jmp 0x10027846
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x148]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x148], eax
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10027894
push 0
push 0
call dword [sym.imp.USER32.dll_LoadMenuW]
jmp 0x10027600
jmp 0x100275d5
jmp 0x100275ad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.100091c9
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10027a76
push 2
lea ecx, [ebp - 0x160]
call fcn.10009161
mov dword [ebp - 4], 1
mov dword [ebp - 0x78], 0xbdba76aa
mov dword [ebp - 0x58], 0
jmp 0x100278e9
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x10027905
push dword [ebp - 0x58]
lea ecx, [ebp - 0x160]
call fcn.100091ce
mov dword [eax], 0xfffd
jmp 0x100278e2
mov dword [ebp - 0x78], 0
jmp 0x10027915
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jg 0x10027931
mov dword [ebp - 0x10c], 0x1d8987f2
mov dword [ebp - 0x10c], 0x888adae8
jmp 0x1002790e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.100091c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
jmp 0x10027968
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 1
jg 0x100279ee
mov dword [ebp - 0x108], 0x1d8987f2
mov dword [ebp - 0x4c], 0x81c2900
mov dword [ebp - 0x48], 0
jmp 0x10027991
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x100279a7
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x184], 0x3b91
jmp 0x1002798a
mov dword [ebp - 0x4c], 0
jmp 0x100279b7
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x100279df
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x100279dd
push 0x1028
push 0
push 0x13f0
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x100279b0
mov dword [ebp - 0x108], 0x888adae8
jmp 0x1002795d
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x54], 0
jmp 0x10027a0f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x10027a25
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x178], 0x624039b6
jmp 0x10027a08
mov dword [ebp - 0x5c], 2
jmp 0x10027a35
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x10027a71
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10027a51
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10027a6f
push 0x1b9f
push 0x541
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10027a2e
jmp 0x10027f09
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x10027aa5
push 0
push 0x1d8f
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov dword [ebp - 0x10], 0x2799ac78
mov dword [ebp - 0x38], 0xbbb66efe
push 1
lea ecx, [ebp - 0x124]
call fcn.10009161
mov dword [ebp - 4], 2
mov dword [ebp - 0x64], 0
jmp 0x10027ad7
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x10027af3
push dword [ebp - 0x64]
lea ecx, [ebp - 0x124]
call fcn.100091ce
mov dword [eax], 0xfffffffd
jmp 0x10027ad0
mov dword [ebp - 0x10], 0x16
jmp 0x10027b03
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe2
jge 0x10027bcf
mov dword [ebp - 0x100], 0x5f0b
mov dword [ebp - 0x134], 0xd3ecf04b
mov dword [ebp - 0xec], 0xfffffff9
mov dword [ebp - 0x130], 0xbde283bc
mov dword [ebp - 0x14c], 8
mov dword [ebp - 0xe8], 0xfffffff8
mov dword [ebp - 0x6c], 0
jmp 0x10027b59
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x10027b6f
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x16c], 0x5b641b44
jmp 0x10027b52
cmp dword [ebp - 0x100], 1
jge 0x10027b84
mov dword [ebp - 0xc0], 1
jmp 0x10027b8b
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc0], eax
jl 0x10027b9c
cmp dword [ebp - 0x38], 0
je 0x10027bae
cmp dword [ebp - 0x10], 0
je 0x10027bae
mov dword [ebp - 0xa4], 1
jmp 0x10027bb5
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xec], eax
jmp 0x10027afc
mov dword [ebp - 0x38], 0
jmp 0x10027bdf
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x10027efa
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x10], 0
jmp 0x10027c03
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x10027ef5
mov dword [ebp - 0x1c], 0
jmp 0x10027c1d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10027c33
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xb8], 0xfffffffa
jmp 0x10027c16
mov dword [ebp - 0x1c], 0
jmp 0x10027c43
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10027c59
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x154], 0x85869
jmp 0x10027c3c
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xb8], 0
jmp 0x10027c87
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb8]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xb8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0
jg 0x10027ef0
mov dword [ebp - 0x30], 0xd0127420
mov dword [ebp - 0x30], 0
jmp 0x10027cb2
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x10027eeb
mov dword [ebp - 0x74], 0x232c2a4e
mov dword [ebp - 0x104], 0xffffffff
mov dword [ebp - 0x74], 0
jmp 0x10027cdd
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jg 0x10027ee6
mov dword [ebp - 0x40], 0xffffffff
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0xb8]
lea ecx, [ebp - 0x124]
call fcn.100091ce
cmp dword [eax], 0
je 0x10027d10
jmp 0x10027ee6
mov dword [ebp - 0x40], 0
jmp 0x10027d20
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x10027ee1
mov dword [ebp - 0x3c], 0xa44bf8e1
mov dword [ebp - 0xfc], 0xf5771bf3
cmp dword [ebp - 0x30], 0
je 0x10027e37
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0x47fd326d
jge 0x10027d5c
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xa0], eax
jl 0x10027d73
mov dword [ebp - 0xf4], 1
jmp 0x10027d7a
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0x3c], 0
je 0x10027d86
cmp dword [ebp - 0x3c], 0
jne 0x10027d95
mov eax, 0xe7f6
test eax, eax
jne 0x10027d95
and dword [ebp - 0x80], 0
jmp 0x10027d9c
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0
jle 0x10027dae
mov dword [ebp - 0x84], 1
jmp 0x10027db5
and dword [ebp - 0x84], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xb8]
imul ecx, dword [ebp - 0x84], 0x9d76
sub eax, ecx
cmp eax, 0x32d4
je 0x10027de0
mov dword [ebp - 0x88], 1
jmp 0x10027de7
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x88], eax
je 0x10027dfe
mov dword [ebp - 0x90], 1
jmp 0x10027e05
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x90]
imul eax, eax, 0x41bd
test eax, eax
jne 0x10027e22
cmp dword [ebp - 0xfc], 0
je 0x10027e37
mov eax, 0xffff
test eax, eax
je 0x10027e37
mov dword [ebp - 0x98], 1
jmp 0x10027e3e
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x98], eax
jg 0x10027e55
mov dword [ebp - 0xa8], 1
jmp 0x10027e5c
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xa8], eax
jge 0x10027e76
mov dword [ebp - 0xbc], 1
jmp 0x10027e7d
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
add eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x3c]
jge 0x10027ea1
mov dword [ebp - 0xc4], 1
jmp 0x10027ea8
and dword [ebp - 0xc4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xb8]
cmp eax, dword [ebp - 0xc4]
jle 0x10027ec9
mov dword [ebp - 0xcc], 1
jmp 0x10027ed0
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x104], eax
jmp 0x10027d19
jmp 0x10027cd6
jmp 0x10027cab
jmp 0x10027c6c
jmp 0x10027bfc
jmp 0x10027bd8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.100091c9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret