Function at 0x100173c0
Capabilities:
Start service

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x60
mov esi, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov dword [ebp - 0x34], 0
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c], esi
test byte [0x100210c8], 8
jne 0x10017610
mov eax, dword [ebx]
lea esi, [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.Name
call dword [eax + 0x10]
sub esp, 0x18
mov ebx, eax
test eax, eax
je 0x10017440
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.StartService
mov dword [esp + 4], str.Win32_Service
mov dword [esp], 0
call sym._create_signature
mov ebx, eax
test eax, eax
jne 0x10017670
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100174a3
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x3c]
sub esp, 0xc
mov edi, eax
test eax, eax
jne 0x10017688
mov dword [esp + 8], 4
mov edi, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.advapi32.dll_OpenSCManagerW]
mov dword [ebp - 0x40], eax
sub esp, 0xc
test eax, eax
je 0x100176b0
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x10
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_OpenServiceW]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x100176f0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_StartServiceW]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
sub esp, 0xc
test eax, eax
je 0x10017650
mov dword [esp], edi
mov edi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
call edi
sub esp, 4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x4c]
sub esp, 4
mov eax, dword [ebp - 0x34]
mov edi, 1
test eax, eax
je 0x100175ac
mov ecx, dword [eax]
mov dword [esp + 0x10], 0x13
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x100274e8
mov dword [esp], eax
call dword [ecx + 0x14]
sub esp, 0x14
test eax, eax
mov ebx, eax
sete al
mov edi, eax
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x38]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov esi, dword [ebp - 0x3c]
sub esp, 4
test esi, esi
je 0x100175e3
mov eax, edi
test al, al
je 0x100175e3
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1001742e
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x10027498
mov dword [esp + 8], str.service_start_service
mov dword [esp + 4], 0x100210c8
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x100173f6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
call sym._map_error
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
jmp 0x10017528
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x1001742e
mov dword [esp], esi
mov ebx, edi
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x38]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x1001742e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
call sym._map_error
lea edx, [ebp - 0x20]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp], 0x13
mov dword [ebp - 0x40], edx
call sym._set_variant
mov edx, dword [ebp - 0x40]
jmp 0x10017570
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
call sym._map_error
mov dword [ebp - 0x44], 0
mov edi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov dword [ebp - 0x48], eax
jmp 0x10017536