Function at 0x10016efd
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057894
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10017473
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x44], 0x65a8
mov dword [ebp - 0x78], str.zbf_zem_kmfeb_bloi_icfrby_jeflzwn_hywdi_lhizcw_ujs_zonlwnxp_feyhhv
cmp dword [ebp - 0x44], 0x68ae
jle 0x1001701b
and dword [ebp - 0x2c], 0
jmp 0x10016f68
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x415a
jge 0x1001701b
and dword [ebp - 0x34], 0
jmp 0x10016f82
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4026
jge 0x10017016
and dword [ebp - 0x24], 0
jmp 0x10016f9c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x266f
jge 0x10017011
and dword [ebp - 0x30], 0
jmp 0x10016fb2
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3cfb
jge 0x1001700f
mov eax, dword [ebp - 0x2c]
cdq
idiv dword [ebp - 0x34]
sub edx, dword [ebp - 0x24]
xor edx, dword [ebp - 0x30]
mov eax, edx
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x100]
call fcn.10001a99
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.10005da8
push eax
call fcn.1004027d
pop ecx
lea ecx, [ebp - 0x100]
call fcn.10005d9e
jmp 0x10016fab
jmp 0x10016f95
jmp 0x10016f7b
jmp 0x10016f61
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0x63b5
jge 0x1001703a
push dword [ebp - 0x78]
call fcn.1004027d
pop ecx
jmp 0x10017056
or dword [ebp - 4], 0xffffffff
jmp 0x10017060
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x60], 0x5d86
mov dword [ebp - 0xdc], str.aeidgi_mcjpnopf_jllkilre
cmp dword [ebp - 0x60], 0x5dd8
jle 0x1001715b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 0x20], 0
jmp 0x100170c6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2ca4
jge 0x1001714e
and dword [ebp - 0x28], 0
jmp 0x100170dc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x75ec
jge 0x10017149
and dword [ebp - 0x18], 0
jmp 0x100170f2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5aae
jge 0x10017147
and dword [ebp - 0x1c], 0
jmp 0x10017108
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6a0d
jge 0x10017145
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x28]
xor eax, edx
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
mov ecx, 0x10071338
call fcn.100060aa
jmp 0x10017101
jmp 0x100170eb
jmp 0x100170d5
jmp 0x100170bf
push 0
push 0xaa
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x60], 0x5c04
jge 0x10017184
mov edx, dword [ebp - 0xdc]
mov ecx, 0x10071338
call fcn.1000aac1
jmp 0x100171a0
or dword [ebp - 4], 0xffffffff
jmp 0x100171aa
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x100171eb
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x100171e6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x10017471
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006458
cmp dword [eax], 0
je 0x100172b5
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
je 0x100172b5
mov dword [ebp - 0x6c], 1
jmp 0x100172b9
and dword [ebp - 0x6c], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006458
cmp dword [eax], 0
jne 0x10017413
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov eax, dword [eax]
add eax, 0xfffe
mov dword [ebp - 0x70], 1
jmp 0x100172ea
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax]
jge 0x10017304
mov dword [ebp - 0x58], 1
jmp 0x10017308
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xdb2b
jge 0x1001731a
mov dword [ebp - 0x68], 1
jmp 0x1001731e
and dword [ebp - 0x68], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov ecx, dword [ebp - 0x68]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10006458
add esi, dword [eax]
cmp esi, 0xab56
jge 0x10017354
mov dword [ebp - 0x48], 1
jmp 0x10017358
and dword [ebp - 0x48], 0
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov ecx, dword [ebp - 0x48]
sub ecx, dword [eax]
je 0x1001737b
mov eax, 0xcaa5d732
test eax, eax
je 0x1001737b
mov dword [ebp - 0x38], 1
jmp 0x1001737f
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov esi, dword [eax]
add esi, dword [ebp - 0x38]
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10006458
cmp esi, dword [eax]
jge 0x100173b0
mov dword [ebp - 0x4c], 1
jmp 0x100173b4
and dword [ebp - 0x4c], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jge 0x100173ce
mov dword [ebp - 0x54], 1
jmp 0x100173d2
and dword [ebp - 0x54], 0
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10006458
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
je 0x100173ec
mov dword [ebp - 0x5c], 1
jmp 0x100173f0
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10006458
cmp dword [eax], 0xc309ab83
jbe 0x10017413
and dword [ebp - 0x64], 0
jmp 0x1001741a
mov dword [ebp - 0x64], 1
cmp dword [ebp - 0x64], 0xfffe
jb 0x10017433
push 0xfffffffffffffff7
pop eax
test eax, eax
je 0x10017433
mov dword [ebp - 0x3c], 1
jmp 0x10017437
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x3c]
jle 0x10017458
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jne 0x10017458
and dword [ebp - 0x74], 0
jmp 0x1001745f
mov dword [ebp - 0x74], 1
push 0
mov ecx, dword [ebp - 0xcc]
call fcn.10006458
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
jmp 0x1001747b
push 0
call fcn.100150ca
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret