Function at 0x710565a0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov dword [ebp - 0x3c], 0
mov ebx, dword [ebp + 8]
test byte [0x710600c8], 8
jne 0x710567d0
mov eax, dword [ebx]
lea esi, [ebp - 0x38]
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 0x71056608
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x40]
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 0x71056838
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x7105666b
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
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 0x71056850
mov dword [esp + 8], 4
mov edi, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.advapi32.dll_OpenSCManagerW]
mov dword [ebp - 0x4c], eax
sub esp, 0xc
test eax, eax
je 0x71056878
mov eax, dword [ebp - 0x4c]
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 0x710568c0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_StartServiceW]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
sub esp, 0xc
test eax, eax
je 0x71056818
mov dword [esp], edi
mov edi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
call edi
sub esp, 4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x58]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edx
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x50]
sub esp, 4
mov eax, dword [ebp - 0x3c]
mov edi, 1
test eax, eax
je 0x71056774
mov ecx, dword [eax]
mov dword [esp + 0x10], 0x13
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x710663c8
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 - 0x40]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp + 0x14]
sub esp, 4
test eax, eax
je 0x710567ae
mov eax, edi
test al, al
je 0x710567ae
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x710565f8
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x71066378
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], str.service_start_service
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x710600c8
mov dword [esp + 0x14], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x710565c0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
call sym._map_error
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], eax
jmp 0x710566f0
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x710565f8
mov dword [esp], esi
mov ebx, edi
call dword [sym.imp.oleaut32.dll_VariantClear]
mov eax, dword [ebp - 0x40]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x710565f8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
call sym._map_error
lea edx, [ebp - 0x28]
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 - 0x4c], edx
call sym._set_variant
mov edx, dword [ebp - 0x4c]
jmp 0x71056738
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
call sym._map_error
mov dword [ebp - 0x54], 0
mov edi, dword [sym.imp.advapi32.dll_CloseServiceHandle]
mov dword [ebp - 0x58], eax
jmp 0x710566fe