Function at 0x412100
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468250
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4a3a10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x4a71fc], 0
jne 0x412225
call fcn.004114d0
mov ecx, dword [0x4a71fc]
mov dword [ebp - 4], 0
mov dword [0x4a71fc], eax
test ecx, ecx
je 0x412165
push ecx
call dword [0x4a71f8]
mov eax, dword [0x4a71fc]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x412225
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x40
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
call fcn.00410e00
movups xmm0, xmmword [str.ServiceStatus:_cannot_open_manager_for_quering_status]
mov ecx, eax
mov dword [ebp - 0x18], 0x35
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x46ee34]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x46ee44]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x46ee54]
mov dword [ecx + 0x30], eax
mov al, byte [0x46ee58]
mov byte [ecx + 0x34], al
mov byte [ecx + 0x35], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
call fcn.00411f60
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x41221d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412213
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412457
push ecx
push edx
call fcn.0044781c
add esp, 8
or eax, 0xffffffff
jmp 0x41243d
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040f6f0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0041fb60
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x412283
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41245c
push ecx
push edx
call fcn.0044781c
add esp, 8
cmp dword [ebp - 0x78], 8
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x48], 0
cmovae esi, dword [ebp - 0x8c]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00413bc0
push 0xf003f
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
xorps xmm0, xmm0
test esi, esi
jne 0x41235e
push 0x30
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
call fcn.00410e00
movups xmm0, xmmword [str.ServiceStatus:_cannot_open_service]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x22
mov dword [ebp - 0x14], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x46ee6c]
movups xmmword [eax + 0x10], xmm0
mov cx, word [0x46ee7c]
mov word [eax + 0x20], cx
mov byte [eax + 0x22], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00411f60
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x412356
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41234c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412461
push ecx
push edx
call fcn.0044781c
add esp, 8
or esi, 0xffffffff
jmp 0x412430
lea eax, [ebp - 0x74]
movq qword [ebp - 0x64], xmm0
push eax
push esi
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x412426
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
push 0x30
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x40], xmm0
call fcn.00410e00
movups xmm0, xmmword [str.ServiceStatus:_cannot_query_service_status]
mov ecx, eax
mov dword [ebp - 0x30], 0x2a
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x2c], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x46ee90]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x46eea0]
movq qword [ecx + 0x20], xmm0
mov ax, word [0x46eea8]
mov word [ecx + 0x28], ax
mov byte [ecx + 0x2a], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.00411f60
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 0x10
jb 0x41241f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412415
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412466
push ecx
push edx
call fcn.0044781c
add esp, 8
mov dword [ebp - 0x70], 0xffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 0x70]
lea ecx, [ebp - 0x8c]
call fcn.0040fe00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447a97
mov esp, ebp
pop ebp
ret
call fcn.0044c8cf
call fcn.0044c8cf
call fcn.0044c8cf
call fcn.0044c8cf
int3