Function at 0x10025f5c
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b526
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
push edi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100262c8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x100262bb
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xb8], 0x19aa
cmp dword [ebp - 0xb8], 0xec6
jge 0x10026259
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x1065de18
call fcn.100322c2
mov ecx, eax
call fcn.100322c2
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc4]
call fcn.10032c16
and dword [ebp - 4], 0
and dword [ebp - 0x28], 0
jmp 0x10026054
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
jge 0x10026077
push dword [ebp - 0x28]
lea ecx, [ebp - 0xc4]
call fcn.10032cf1
push eax
mov ecx, 0x1065de18
call fcn.10032517
jmp 0x1002604d
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xb4]
call fcn.10032c16
mov byte [ebp - 4], 1
and dword [ebp - 0x24], 0
jmp 0x10026096
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
jge 0x100260b9
push dword [ebp - 0x24]
lea ecx, [ebp - 0xb4]
call fcn.10032cf1
push eax
mov ecx, 0x1065de18
call fcn.10032517
jmp 0x1002608f
push dword [ebp - 0x20]
lea ecx, [ebp - 0x4c]
call fcn.10032c16
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0xc4]
call fcn.10032cf1
mov esi, eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.10032cf1
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [ebp - 0x14], 1
jmp 0x100260fb
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jge 0x1002613c
mov eax, dword [ebp - 0x14]
dec eax
push eax
lea ecx, [ebp - 0x4c]
call fcn.10032cf1
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc4]
call fcn.10032cf1
mov edi, dword [esi]
add edi, dword [eax]
mov esi, dword [esi + 4]
adc esi, dword [eax + 4]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x4c]
call fcn.10032cf1
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x100260f4
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
jmp 0x1002614d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jge 0x1002622f
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb4]
call fcn.10032cf1
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.10032cf1
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
jl 0x1002619f
jg 0x10026196
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ecx]
jbe 0x1002619f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x10026159
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov ecx, 0x1065dcf8
call fcn.100326e7
mov edx, 0x10008ec8
mov ecx, eax
call fcn.10013070
cmp dword [ebp - 0x1c], 0
jne 0x100261eb
push fcn.10035be1
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb4]
call fcn.10032cf1
push dword [eax + 4]
push dword [eax]
mov ecx, 0x1065dcf8
call fcn.10011a4e
mov ecx, eax
call fcn.100326db
jmp 0x1002622a
push fcn.10035be1
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb4]
call fcn.10032cf1
mov esi, eax
mov eax, dword [ebp - 0x1c]
dec eax
push eax
lea ecx, [ebp - 0x4c]
call fcn.10032cf1
mov ecx, dword [esi]
sub ecx, dword [eax]
mov edx, dword [esi + 4]
sbb edx, dword [eax + 4]
push edx
push ecx
mov ecx, 0x1065dcf8
call fcn.10011a4e
mov ecx, eax
call fcn.100326db
jmp 0x10026146
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.1000e00a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.1000e00a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.1000e00a
push 0
mov ecx, dword [ebp - 0x78]
call fcn.1000e00f
cmp dword [eax], 0xfffffff7
jge 0x10026271
mov dword [ebp - 0x38], 1
jmp 0x10026275
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 1
jne 0x10026284
mov dword [ebp - 0x34], 1
jmp 0x10026288
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x34]
lea ecx, [edx + ecx + 0xfffd]
cmp dword [eax], ecx
je 0x100262aa
mov dword [ebp - 0x40], 1
jmp 0x100262ae
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x100262c3
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x10026352
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1002633c
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x10026352
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10026352
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret