Function at 0x100a4920
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d5f2
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
xor eax, eax
push 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.ucpd
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100056d0
mov dword [ebp - 4], 0
push 1
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x100a4a8d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x100a4a74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005660
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.100aea60
test al, al
je 0x100a4eb8
test edi, edi
je 0x100a4a2a
push edi
lea ecx, [ebp - 0x1c]
call fcn.100a53b0
test al, al
jne 0x100a4eb8
push 0xa
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.PicDefault
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.100056d0
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x46], 0
test edi, edi
jne 0x100a4de6
mov byte [ebp - 0x45], 0
jmp 0x100a4dfb
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x50]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005660
call fcn.100abd20
test al, al
jne 0x100a49e9
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
xor eax, eax
push 3
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
push 0x101b6de4
mov dword [ebp - 0x44], 0x64
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.100056d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ecx
je 0x100a4b4f
movups xmm0, xmmword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmmword [ecx + 4], xmm0
mov dword [ebp - 0x5c], ecx
movq xmm0, qword [ebp - 0x30]
movq qword [ecx + 0x14], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
add dword [ebp - 0x18], 0x1c
jmp 0x100a4b5c
lea eax, [ebp - 0x44]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100a5dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005660
test edi, edi
je 0x100a4b79
push edi
lea ecx, [ebp - 0x1c]
call fcn.100a53b0
test al, al
jne 0x100a4be0
push str.PdfDefault
lea ecx, [ebp - 0x40]
call fcn.10005530
mov byte [ebp - 4], 5
mov byte [ebp - 0x45], 0
test edi, edi
jne 0x100a4b98
mov byte [ebp - 0x46], 0
jmp 0x100a4bad
lea eax, [ebp - 0x45]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x54]
call fcn.100a4fd0
mov byte [ebp - 0x46], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005660
cmp byte [ebp - 0x45], 0
je 0x100a4bd6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x54]
call fcn.100a57a0
cmp byte [ebp - 0x46], 0
jne 0x100a4d38
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], esi
cmp esi, eax
je 0x100a4c0c
mov edi, eax
nop
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
call fcn.10005660
add esi, 0x1c
mov dword [ebp - 0x5c], esi
cmp esi, edi
jne 0x100a4bf0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x4c]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
push 0x101e4618
push 0x101e4180
call fcn.100aed30
test edi, edi
je 0x100a4c35
push edi
lea ecx, [ebp - 0x1c]
call fcn.100a53b0
test al, al
jne 0x100a4ca6
push str.ImageDefault
lea ecx, [ebp - 0x40]
call fcn.10005530
mov byte [ebp - 4], 8
mov byte [ebp - 0x46], 0
test edi, edi
jne 0x100a4c54
mov byte [ebp - 0x45], 0
jmp 0x100a4c69
lea eax, [ebp - 0x46]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x54]
call fcn.100a4fd0
mov byte [ebp - 0x45], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10005660
cmp byte [ebp - 0x46], 0
je 0x100a4c9c
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x100a4c9c
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [ebp - 0x45], 0
jne 0x100a4d38
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100a4f5f
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x4c], esi
cmp esi, edi
je 0x100a4cec
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.10005660
add esi, 0x1c
mov dword [ebp - 0x4c], esi
cmp esi, edi
jne 0x100a4cd0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100a4f40
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a4f40
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100a4ddf
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x4c], esi
cmp esi, edi
je 0x100a4d7c
nop dword [eax]
nop dword [eax + eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.10005660
add esi, 0x1c
mov dword [ebp - 0x4c], esi
cmp esi, edi
jne 0x100a4d60
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100a4dc0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a4dc0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10177d58
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, 1
jmp 0x100a4f61
lea eax, [ebp - 0x46]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x54]
call fcn.100a4fd0
mov byte [ebp - 0x45], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.10005660
cmp byte [ebp - 0x46], 0
je 0x100a4e2e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x100a4e2e
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [ebp - 0x45], 0
je 0x100a4eb8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100a4ddf
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x4c], esi
cmp esi, edi
je 0x100a4e6c
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.10005660
add esi, 0x1c
mov dword [ebp - 0x4c], esi
cmp esi, edi
jne 0x100a4e50
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100a4dc0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a4dc0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100a4f5f
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x4c], esi
cmp esi, edi
je 0x100a4efc
nop dword [eax]
nop dword [eax + eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.10005660
add esi, 0x1c
mov dword [ebp - 0x4c], esi
cmp esi, edi
jne 0x100a4ee0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100a4f40
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a4f40
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10177d58
mov dword [ebp - 0x14], 0
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret 0xc