Function at 0x460df0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af680
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4e3050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x250], eax
mov eax, dword [ecx + 0x94]
shr eax, 7
and al, 1
mov dword [ebp - 0x24c], eax
je 0x461656
call fcn.00428db0
or edi, 0xffffffff
cmp byte [eax + 0x1c], 0
je 0x460f34
call fcn.00428db0
test byte [eax + 0x20], 8
je 0x460f34
call fcn.00428db0
mov esi, eax
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x258]
push 0x20
push str.Installing_using_helper_service.
call fcn.00402420
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x254]
push 0
push 0x4c3098
call fcn.00402420
push ecx
lea eax, [ebp - 0x258]
push eax
push ecx
lea eax, [ebp - 0x254]
mov ecx, esi
push eax
call fcn.004290f0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460f10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460f34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x270]
mov eax, dword [eax + 0x168]
mov ecx, dword [eax + 0x44]
sub ecx, 0x10
call fcn.004025a0
lea esi, [eax + 0x10]
mov dword [ebp - 0x28c], esi
mov dword [ebp - 4], 0xb
cmp dword [esi - 0xc], 0
je 0x461673
call fcn.00428db0
cmp byte [eax + 0x1c], 0
je 0x461055
call fcn.00428db0
test byte [eax + 0x20], 8
je 0x461055
call fcn.00428db0
mov dword [ebp - 0x260], eax
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x254]
push 0x11
push str.Service_detected.
call fcn.00402420
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x258]
push 0
push 0x4c3098
call fcn.00402420
push ecx
lea eax, [ebp - 0x254]
push eax
push ecx
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x258]
push eax
call fcn.004290f0
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461034
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461055
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x284], 0x4c3b34
mov dword [ebp - fcn.0041a030], 0x4c3b28
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x248], 0x4c4450
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x284]
mov dword [ebp - 0x220], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x280]
movq qword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x248]
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [0x4e533c], eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x26c]
call fcn.00474e40
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00461810
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x260]
push eax
push 4
push SysReAllocString
mov dword [ebp - 0x260], 0
call fcn.0041f7f0
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 0x4c4450
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 0x1a
test eax, eax
jne 0x461157
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x25c], 0x4c4450
jmp 0x461183
push 1
push eax
call fcn.0041fa60
mov byte [ebp - 4], 0x19
push dword [ebp - 0x260]
mov dword [ebp - 0x25c], 0x4c4450
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x258], 0
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0
push eax
push 0x14
push SysReAllocString
lea ecx, [ebp - 0x248]
call fcn.0041f7f0
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x264], 0x4c4450
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x461212
lea ecx, [ebp - 0x274]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x4611fe
mov byte [ebp - 4], 0x19
push dword [ebp - 0x254]
mov dword [ebp - 0x264], 0x4c4450
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x260], 0
jmp 0x46124e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x254]
jmp 0x46121e
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x258], ecx
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x264], 0x4c4450
test eax, eax
je 0x461241
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x260], 0
cmp dword [ebp - 0x258], 0
jne 0x461482
call fcn.00428db0
cmp byte [eax + 0x1c], 0
je 0x46133e
call fcn.00428db0
test byte [eax + 0x20], 8
je 0x46133e
call fcn.00428db0
mov dword [ebp - 0x260], eax
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x254]
push 0x10
push str.Service_started.
call fcn.00402420
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x258]
push 0
push 0x4c3098
call fcn.00402420
push ecx
lea eax, [ebp - 0x254]
push eax
push ecx
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x258]
push eax
call fcn.004290f0
mov byte [ebp - 4], 0x1e
mov eax, edi
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46131d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov eax, edi
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46133e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x250]
cmp dword [eax - 0xc], 0
cmove eax, dword [ebp - 0x26c]
push eax
call fcn.00453f70
test al, al
je 0x4615bb
mov ecx, dword [ebp - 0x250]
call fcn.004541a0
test al, al
je 0x4615bb
mov ecx, dword [ebp - 0x250]
call fcn.00453480
test al, al
je 0x4615bb
mov ecx, dword [ebp - 0x250]
call fcn.00453df0
test al, al
je 0x4615bb
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x24c]
neg eax
sbb al, al
and cl, al
mov dword [ebp - 0x24c], ecx
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.00403430
test al, al
jne 0x461426
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461404
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.004035a0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x250]
mov edx, dword [ebp - 0x270]
push 0
lea edx, [edx + 0x160]
call fcn.004748f0
add esp, 4
test eax, eax
setne byte [ebp - 0x265]
mov byte [ebp - 4], 0x19
mov eax, edi
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461470
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x265], 0
je 0x4615c3
jmp 0x4615bb
call fcn.00428db0
cmp byte [eax + 0x1c], 0
je 0x4615bb
call fcn.00428db0
test byte [eax + 0x20], 1
je 0x4615bb
call fcn.00428db0
mov dword [ebp - 0x270], eax
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x24c]
push 0x19
push str.Unable_to_start_service:
call fcn.00402420
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4614e5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24c]
call fcn.00402420
push 0xc
push str._LastError:
lea ecx, [ebp - 0x24c]
call fcn.00402420
push dword [ebp - 0x258]
lea ecx, [ebp - 0x24c]
call fcn.00428ab0
mov dword [ebp - 0x260], eax
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x258]
push 0
push 0x4c3098
call fcn.00402420
push ecx
push dword [ebp - 0x260]
lea eax, [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x270]
push eax
call fcn.004290f0
mov byte [ebp - 4], 0x2b
mov eax, edi
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46159a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov eax, edi
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4615bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor cl, cl
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 0x18
mov eax, edi
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4615e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov eax, edi
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461605
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], 0x4c4450
test eax, eax
je 0x46162e
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x461656
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24c]
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.0047d4df
mov esp, ebp
pop ebp
ret 4
call fcn.00428db0
cmp byte [eax + 0x1c], 0
je 0x46178a
call fcn.00428db0
test byte [eax + 0x20], 1
je 0x46178a
call fcn.00428db0
mov dword [ebp - 0x260], eax
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x250]
push 0x2e
push str.Support_service_not_configured_in_updates.ini.
call fcn.00402420
push 0xc
push str._LastError:
lea ecx, [ebp - 0x250]
call fcn.00402420
push 0xe000000b
lea ecx, [ebp - 0x250]
call fcn.00428930
mov dword [ebp - 0x274], eax
call fcn.004042d0
mov ecx, eax
test ecx, ecx
je 0x461797
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x26c]
push 0
push 0x4c3098
call fcn.00402420
push ecx
push dword [ebp - 0x274]
lea eax, [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x260]
push eax
call fcn.004290f0
mov byte [ebp - 4], 0x38
mov eax, edi
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461769
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46178a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov dword [ebp - 0x24c], eax
jmp 0x461634
push 0x80004005
call fcn.00402570
int3