Function at 0x1043880
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x105a463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.01039360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.01039360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.01039360
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.010392e0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.01041990
mov ecx, eax
call fcn.0103ecc0
push 0x1009fa4
lea ecx, [ebp - 0x88]
call fcn.0101236d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x30]
call fcn.01041990
mov ecx, eax
call fcn.0103ed70
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x138]
call fcn.01041990
push eax
lea ecx, [ebp - 0x38]
call fcn.01033bc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.010395d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.01010c92
lea ecx, [ebp - 0x38]
call fcn.010395f0
movzx ecx, al
test ecx, ecx
je 0x1043a03
lea ecx, [ebp - 0x3c]
call fcn.01010c62
mov byte [ebp - 4], 6
mov edx, dword [ebp + 8]
push edx
push 0x100b800
lea eax, [ebp - 0x3c]
push eax
call fcn.01011557
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x3c]
push edx
call fcn.01010eb5
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
call fcn.01043140
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x148]
push edx
lea ecx, [ebp - 0x94]
call fcn.01042690
push 0x1060378
lea eax, [ebp - 0x94]
push eax
call fcn.0101dc4c
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.01041990
mov ecx, eax
call fcn.0103f7f0
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x150]
call fcn.01041990
push eax
lea ecx, [ebp - 0x34]
call fcn.01033bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.010395d0
lea ecx, [ebp - 0x34]
call fcn.010395f0
movzx eax, al
test eax, eax
je 0x1043af6
lea ecx, [ebp - 0x40]
call fcn.01010c62
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 8]
push ecx
push 0x100b778
lea edx, [ebp - 0x40]
push edx
call fcn.01011557
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
lea eax, [ebp - 0x40]
push eax
call fcn.01010eb5
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb4]
call fcn.01043140
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0xac]
call fcn.01042690
push 0x1060378
lea ecx, [ebp - 0xac]
push ecx
call fcn.0101dc4c
push 0
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x34]
call fcn.01041990
mov ecx, eax
call fcn.01040210
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x168]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x30]
call fcn.01041990
mov ecx, eax
call fcn.0103ed70
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x170]
call fcn.01041990
push eax
lea ecx, [ebp - 0x38]
call fcn.01033bc0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc0]
call fcn.010395d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
call fcn.01010c92
lea ecx, [ebp - 0x38]
call fcn.010395f0
movzx ecx, al
test ecx, ecx
je 0x1043c73
lea ecx, [ebp - 0x44]
call fcn.01010c62
mov byte [ebp - 4], 0xf
push 1
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x34]
call fcn.01041990
mov ecx, eax
call fcn.01040060
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x178]
mov eax, dword [edx]
push eax
push 0x100b718
lea ecx, [ebp - 0x44]
push ecx
call fcn.01011557
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc4]
call fcn.01010c92
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea edx, [ebp - 0x44]
push edx
call fcn.01010eb5
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd4]
call fcn.01043140
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x188]
push edx
lea ecx, [ebp - 0xcc]
call fcn.01042690
push 0x1060378
lea eax, [ebp - 0xcc]
push eax
call fcn.0101dc4c
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x38]
call fcn.01041990
mov ecx, eax
call fcn.0103f7f0
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], edx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x190]
call fcn.01041990
push eax
lea ecx, [ebp - 0x34]
call fcn.01033bc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xdc]
call fcn.010395d0
lea ecx, [ebp - 0x34]
call fcn.010395f0
movzx eax, al
test eax, eax
je 0x1043d66
lea ecx, [ebp - 0x48]
call fcn.01010c62
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp + 8]
push ecx
push 0x100b6a8
lea edx, [ebp - 0x48]
push edx
call fcn.01011557
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xf0], esp
lea eax, [ebp - 0x48]
push eax
call fcn.01010eb5
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xec]
call fcn.01043140
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.01042690
push 0x1060378
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0101dc4c
lea ecx, [ebp - 0x2c]
call fcn.01010c62
mov byte [ebp - 4], 0x17
push 1
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x34]
call fcn.01041990
mov ecx, eax
call fcn.01040060
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.010115e7
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xf4]
call fcn.01010c92
lea ecx, [ebp - 0x2c]
call fcn.01010a73
movzx edx, al
test edx, edx
je 0x1043e62
lea ecx, [ebp - 0x4c]
call fcn.01010c62
mov byte [ebp - 4], 0x19
mov eax, dword [ebp + 8]
push eax
push 0x100bf40
lea ecx, [ebp - 0x4c]
push ecx
call fcn.01011557
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x108], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.01010eb5
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x104]
call fcn.01043140
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0xfc]
call fcn.01042690
push 0x1060378
lea eax, [ebp - 0xfc]
push eax
call fcn.0101dc4c
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x30]
call fcn.01041990
mov ecx, eax
call fcn.0103eea0
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x1c0]
call fcn.01041990
push eax
lea ecx, [ebp - 0x38]
call fcn.01033bc0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x10c]
call fcn.010395d0
lea ecx, [ebp - 0x38]
call fcn.010395f0
movzx ecx, al
test ecx, ecx
je 0x1043f59
lea ecx, [ebp - 0x50]
call fcn.01010c62
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp + 8]
push edx
push 0x100bed0
lea eax, [ebp - 0x50]
push eax
call fcn.01011557
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x120], esp
lea edx, [ebp - 0x50]
push edx
call fcn.01010eb5
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x11c]
call fcn.01043140
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], ecx
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x114]
call fcn.01042690
push 0x1060378
lea eax, [ebp - 0x114]
push eax
call fcn.0101dc4c
lea ecx, [ebp - 0x38]
call fcn.01041990
mov ecx, eax
call fcn.0103a880
push eax
lea ecx, [ebp - 0x2c]
call fcn.010115e7
push 0x100bea8
lea ecx, [ebp - 0x2c]
call fcn.0101159b
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x30]
call fcn.01041990
mov ecx, eax
call fcn.0103ed70
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x1d8]
call fcn.01041990
push eax
lea ecx, [ebp - 0x38]
call fcn.01033bc0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x124]
call fcn.010395d0
lea ecx, [ebp - 0x38]
call fcn.010395f0
movzx ecx, al
test ecx, ecx
je 0x1044024
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.010395d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.010395d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.010395d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01010c92
jmp 0x1044303
push 0x100be90
lea ecx, [ebp - 0x128]
call fcn.0101236d
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x38]
call fcn.01041990
mov ecx, eax
call fcn.0103f950
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], ecx
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x1e0]
call fcn.01041990
push eax
lea ecx, [ebp - 0x34]
call fcn.01033bc0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x12c]
call fcn.010395d0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x128]
call fcn.01010c92
lea ecx, [ebp - 0x34]
call fcn.010395f0
movzx edx, al
test edx, edx
je 0x10440f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.010395d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.010395d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.010395d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01010c92
jmp 0x1044303
lea ecx, [ebp - 0x28]
call fcn.01010bb7
mov byte [ebp - 4], 0x23
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x34]
call fcn.01041990
mov ecx, eax
call fcn.01040060
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x54]
call fcn.01010a73
movzx ecx, al
test ecx, ecx
jne 0x1044135
lea ecx, [ebp - 0x54]
call fcn.010107dc
push eax
lea ecx, [ebp - 0x28]
call fcn.010133e2
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x34]
call fcn.01041990
mov ecx, eax
call fcn.0103ff50
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x1e8]
call fcn.01041990
push eax
lea ecx, [ebp - 0x34]
call fcn.01033bc0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x130]
call fcn.010395d0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x54]
call fcn.01010c92
lea ecx, [ebp - 0x34]
call fcn.0102de90
movzx ecx, al
test ecx, ecx
jne 0x10440fc
mov dword [ebp - 0x10], 0
push 0xe0000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10442b8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0x28]
call fcn.010107dc
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1044295
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.010106e3
push eax
lea ecx, [ebp - 0x68]
call fcn.01010eb5
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x5c], 0
push SysReAllocString
lea ecx, [ebp - 0x68]
call fcn.010107dc
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x1044284
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x60], 0xc
jne 0x104426b
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
jmp 0x1044276
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x68]
call fcn.01010c92
jmp 0x1044295
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x68]
call fcn.01010c92
jmp 0x10441e6
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x58], 0
jne 0x10442ae
cmp dword [ebp - 0x60], 0xd
jb 0x10441db
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
call fcn.01010c00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.010395d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.010395d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.010395d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01010c92
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8