Function at 0x484ef0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df0f7
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x520404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x528084]
test eax, eax
jne 0x484f58
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x484f4a
mov ecx, eax
call fcn.00484580
jmp 0x484f4c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x528084], eax
push str.waitUntilServiceRunning
push str.App___LockHomePage
push eax
call fcn.00484be0
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
add esp, 0xc
mov dword [ebp - 0x54], 0x13
jmp 0x484f80
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x58], eax
call fcn.004782d0
test eax, eax
je 0x48517b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
push str.360bprot
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
call fcn.00477ee0
test al, al
jne 0x484fc5
push str.360bprot
lea ecx, [ebp - 0x4c]
call fcn.0047b630
push 0xf003f
push 0
push 0
mov dword [ebp - 4], 0xffffffff
call ebx
mov esi, eax
test esi, esi
jne 0x485001
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48512c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48512c
push 4
push dword [ebp - 0x4c]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x484fdd
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x484fdd
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
cmp dword [ebp - 0x28], 4
mov edx, dword [ebp - 0x4c]
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485050
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x485126
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], eax
call fcn.004782d0
test eax, eax
je 0x48517b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
push str.360bpsvc
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 2
call fcn.00477ee0
test al, al
jne 0x48509d
push str.360bpsvc
lea ecx, [ebp - 0x50]
call fcn.0047b630
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf003f
push 0
push 0
mov dword [ebp - 4], 0xffffffff
call ebx
mov esi, eax
test esi, esi
jne 0x4850c3
mov edx, dword [ebp - 0x50]
jmp 0x484fe0
push 4
push dword [ebp - 0x50]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4850dd
mov edx, dword [ebp - 0x50]
jmp 0x484fe0
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4850f4
mov edx, dword [ebp - 0x50]
jmp 0x484fe0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
cmp dword [ebp - 0x44], 4
mov edx, dword [ebp - 0x50]
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485122
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x485177
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x54], 1
jne 0x484f80
push str.360bprot_or_360bpsvc_service_is_not_running
push str.App___LockHomePage
call fcn.00484b60
push eax
call fcn.00484be0
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x48515b
push 0x80004005
call fcn.00477ec0
int3