Function at 0x1001471a
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d84b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
and dword [ebp - 0x74], 0
lea ecx, [ebp - 0x10c]
call fcn.10019ccc
and dword [ebp - 4], 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.10019d9d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
jmp 0x10014770
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10014786
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xc8], 0xfffffff6
jmp 0x10014769
mov dword [ebp - 0x10], 0
jmp 0x10014796
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x100147ac
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x124], 0xfffffff9
jmp 0x1001478f
mov byte [ebp - 0x1b], 0
lea eax, [ebp - 0x1b]
push eax
push 0
call fcn.100146dd
pop ecx
pop ecx
mov dword [ebp - 0x18], 0
jmp 0x100147cd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1001492c
mov dword [ebp - 0x70], 0xcadfb1a
mov byte [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.10018721
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0xc8], 0
je 0x10014918
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x88], 0x52027495
mov dword [ebp - 0x90], 0x22a5bc42
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0xc8], 0xfffc
je 0x10014837
mov dword [ebp - 0xb0], 1
jmp 0x1001483e
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0x986e
jl 0x10014854
xor eax, eax
jne 0x10014854
and dword [ebp - 0x58], 0
jmp 0x1001485b
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
imul eax, dword [ebp + ecx*4 - 0xc8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
cmp dword [ebp - 0x60], 0
je 0x100148a0
mov eax, 0x1a6b
test eax, eax
je 0x100148a0
mov dword [ebp - 0x98], 1
jmp 0x100148a7
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x98]
jne 0x100148bb
mov dword [ebp - 0x68], 1
jmp 0x100148bf
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xffff
jb 0x100148d1
mov dword [ebp - 0x38], 1
jmp 0x100148d5
and dword [ebp - 0x38], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0xc8], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jge 0x100148f9
mov dword [ebp - 0xa0], 1
jmp 0x10014900
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x70]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x124], eax
jmp 0x10014927
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0x70], eax
jmp 0x100147c6
and dword [ebp - 0x28], 0
jmp 0x10014939
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0xc]
jae 0x10014b96
mov dword [ebp - 0x24], 0xc85f70ad
mov dword [ebp - 0xb4], 0x5e314a5e
mov dword [ebp - 0xe8], 0x90c6d21c
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xcc], 0xfffffff8
mov dword [ebp - 0x44], 0xfd03b15a
mov dword [ebp - 0x14], 0
jmp 0x10014995
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100149ab
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xe4], 0xe780ca9f
jmp 0x1001498e
mov dword [ebp - 0x14], 0
jmp 0x100149bb
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100149d1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x114], 0
jmp 0x100149b4
mov dword [ebp - 0x24], 0
jmp 0x100149e1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jne 0x10014b55
mov dword [ebp - 0x2c], 0x58d32ffa
mov dword [ebp - 0xdc], 0xb28787d
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x40], 0x1462ccd2
mov dword [ebp - 0x2c], 0xfffffff6
jmp 0x10014a1a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
je 0x10014a71
mov dword [ebp - 0x30], 0xfffffffa
mov dword [ebp - 0x30], 0x1d
jmp 0x10014a37
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x10014a59
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10014a57
push 0x597c
push 1
call fcn.100146dd
pop ecx
pop ecx
jmp 0x10014a30
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10014a6f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x10014a13
cmp dword [ebp - 0x24], 7
jne 0x10014a83
mov dword [ebp - 0xa4], 1
jmp 0x10014a8a
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jl 0x10014aa7
mov dword [ebp - 0xa8], 1
jmp 0x10014aae
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0xb4], 0xffffffff
jge 0x10014ac9
mov dword [ebp - 0x78], 1
jmp 0x10014acd
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
imul eax, dword [ebp - 0x78], 0xfffd
cmp dword [ebp - 0x44], eax
jle 0x10014ae9
mov dword [ebp - 0x4c], 1
jmp 0x10014aed
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 1
jne 0x10014b05
cmp dword [ebp - 0x3c], 0
je 0x10014b05
mov dword [ebp - 0x84], 1
jmp 0x10014b0c
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa4]
add ecx, dword [ebp - 0x84]
cmp dword [ebp + eax - 0xe4], ecx
jg 0x10014b2e
cmp dword [ebp - 0xcc], 0
cmp dword [ebp - 0x3c], 0xfffffff9
jb 0x10014b40
mov dword [ebp - 0x9c], 1
jmp 0x10014b47
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x40], eax
jmp 0x100149da
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
xor edx, edx
div dword [0x10082620]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.10008d33
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10c]
call fcn.10019d5e
jmp 0x10014932
mov dword [ebp - 0x20], 0xce9d05ba
mov dword [ebp - 0x48], 0x60cbeb96
cmp dword [ebp - 0x20], 0x84217059
jb 0x10014bb9
mov dword [ebp - 0x8c], 1
jmp 0x10014bc0
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x8c], eax
jle 0x10014bd7
mov dword [ebp - 0xac], 1
jmp 0x10014bde
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 7
jae 0x10014bf9
mov dword [ebp - 0x94], 1
jmp 0x10014c00
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x94], eax
jle 0x10014c14
mov dword [ebp - 0x7c], 1
jmp 0x10014c18
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
sub eax, 0x15f2fe73
cmp eax, 1
jae 0x10014c2e
mov dword [ebp - 0x80], 1
jmp 0x10014c32
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x80]
jne 0x10014c43
mov dword [ebp - 0x50], 1
jmp 0x10014c47
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 1
jl 0x10014c56
mov dword [ebp - 0x54], 1
jmp 0x10014c5a
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x54]
jl 0x10014cff
mov dword [ebp - 0x34], 0
jmp 0x10014c7a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10014c90
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xd8], 1
jmp 0x10014c73
push 0
call fcn.10014d77
pop ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd8], 0
jne 0x10014cb1
mov dword [ebp - 0x5c], 1
jmp 0x10014cb5
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd8]
cmp eax, dword [ebp - 0x5c]
jg 0x10014cd0
mov dword [ebp - 0x64], 1
jmp 0x10014cd4
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x45cb
jle 0x10014ce6
mov dword [ebp - 0x6c], 1
jmp 0x10014cea
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x6c]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xd8], eax
jmp 0x10014d3f
mov dword [ebp - 0xbc], 0xfff8
mov dword [ebp - 0xb8], 0xccedb775
lea eax, [ebp - 0xbc]
push eax
push 0x5017
lea eax, [ebp - 0xb8]
push eax
push 0x791f
push 0x3028
push 0x3f86
push 0
call fcn.10019a31
add esp, 0x1c
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10019cdd
mov eax, dword [ebp - 0x74]
or eax, 1
mov dword [ebp - 0x74], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.10019d36
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret