Function at 0x4022b0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cb75
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4541e0]
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, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [eax + 8]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x3c], ecx
mov byte [ecx], 0
lea edi, [eax + 0x20]
mov byte [ebp - 4], 3
mov dword [ebp - 0xe8], edi
lea esi, [ebp - 0xe0]
push 0x18
mov dword [ebp - 0xe0], 1
mov byte [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 2
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 8
mov byte [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0x10
mov byte [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0x100
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 4
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0x20
mov byte [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0x40
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0x80
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0x400
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x90], 0x200
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0x800
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], esi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0041ac3f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
cmp esi, ecx
je 0x4024d9
nop dword [eax]
push esi
push eax
lea eax, [ebp - 0xf4]
mov ecx, edi
push eax
call fcn.00401690
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], eax
test al, al
jne 0x4024c4
cmp dword [edi + 4], 0xaaaaaaa
je 0x4026b1
mov esi, dword [edi]
mov dword [ebp - 0x80], edi
push 0x18
mov byte [ebp - 4], 5
mov dword [ebp - 0x7c], 0
call fcn.0041ac3f
mov ecx, dword [ebp - 0x40]
mov edx, eax
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x7c], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov ecx, edi
push edx
push dword [ebp - 0x50]
mov dword [edx], esi
push dword [ebp - 0x54]
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov word [edx + 0xc], 0
call fcn.00407730
mov esi, dword [ebp - 0x40]
add esi, 8
lea eax, [ebp - 0x80]
mov dword [ebp - 0x40], esi
cmp esi, eax
je 0x4024d9
mov eax, dword [ebp - 0x44]
jmp 0x402440
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x4024f8
cmp dword [ebp + 0x1c], 0x10
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.00407d60
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov ecx, dword [esi]
cmp ecx, eax
je 0x402522
test ecx, ecx
je 0x40251e
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x3c]
mov dword [esi], eax
mov ecx, eax
test ecx, ecx
je 0x402662
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp - 0x14]
cmovae eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x40255f
test eax, eax
je 0x40255a
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], ecx
mov eax, ecx
test eax, eax
jne 0x402585
push dword [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
mov eax, dword [esi]
test eax, eax
je 0x402662
push eax
call edi
mov dword [esi], 0
jmp 0x402662
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0x24
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 0
push ecx
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x402662
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x78]
push 1
movups xmmword [ebp - 0x78], xmm0
push edi
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebp - 0x58], eax
movups xmmword [ebp - 0x68], xmm0
call fcn.004043b0
push 2
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 8
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x10
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x100
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 4
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x20
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x40
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x80
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x400
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x200
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
push 0x800
push edi
lea ecx, [ebp - 0x78]
call fcn.004043b0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x402692
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402688
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4026b6
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov eax, esi
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.0041b2d9
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00407a70
call fcn.004203af
int3