Function at 0x10021f86
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060aca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100221e2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x24], 0x3206
mov dword [ebp - 0x64], str.wjllmcv_xugy_gcys_tfmy_mhoxrgyl_rrjzfmerp_stodkdv_zbzjdu
cmp dword [ebp - 0x24], 0x339c
jle 0x100220a7
and dword [ebp - 0x18], 0
jmp 0x10022009
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4136
jge 0x1002209d
and dword [ebp - 0x20], 0
jmp 0x10022023
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x598a
jge 0x10022098
and dword [ebp - 0x14], 0
jmp 0x10022039
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x773a
jge 0x10022096
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
lea ecx, [ebp - 0xb0]
call fcn.10001ade
pop ecx
pop ecx
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
call fcn.10013690
push eax
call fcn.1004752f
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.10013686
jmp 0x10022032
jmp 0x1002201c
jmp 0x10022002
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x319f
jge 0x100220c3
push dword [ebp - 0x64]
call fcn.1004752f
pop ecx
jmp 0x100220df
or dword [ebp - 4], 0xffffffff
jmp 0x100220e9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x100221d3
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x1002217f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 2
jg 0x100221d1
mov dword [ebp - 0x88], 0x642fc308
push 0x596a
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push 0x2a21
push 1
push 0x4796
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push 1
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push dword [ebp - 0x80]
push 0x479f
lea eax, [ebp - 0x88]
push eax
call fcn.1001fd93
add esp, 0x3c
jmp 0x10022174
jmp 0x100221e0
push 0
push 0x2688
call dword [sym.imp.USER32.dll_ClientToScreen]
jmp 0x100221f0
push 0x5377
push 1
call fcn.1001c83e
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret