Function at 0x401460
Capabilities:
Check for peb beingdebugged flag
Get process heap flags
Query environment variable
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [section..data], 8
jne 0x40219d
cmp esi, 1
jle 0x40153a
lea eax, [esi - 2]
add ebx, 4
sub esi, 1
and eax, 0xfffffffe
mov dword [ebp - 0x44], ebx
or esi, 1
add eax, 3
mov dword [ebp - 0x54], esi
mov esi, 1
mov dword [ebp - 0x58], eax
nop
mov dword [esp + 4], 0x404030
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x4015b0
mov ebx, dword [ebp - 0x54]
movzx eax, byte [section..data]
cmp esi, ebx
je 0x402208
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x24], 0
mov ebx, dword [ebx + 4]
test al, 8
jne 0x401618
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
mov dword [esp], 0x80000002
call sym._RegOpenKeyExW_20
sub esp, 0x14
test eax, eax
je 0x401550
mov ebx, dword [ebp - 0x44]
test byte [section..data], 2
jne 0x401dd4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x24]
mov edx, ebx
call dbg.GetRegValue
mov dword [ebp - 0x50], eax
mov edi, eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._RegCloseKey_4
mov eax, edi
sub esp, 4
test edi, edi
je 0x401ec2
cmp word [edi], 0
mov ecx, 1
je 0x402143
lea esi, [esi]
lea esi, [esi]
mov edx, eax
add eax, 2
cmp word [eax], 0
jne 0x401590
add edx, 4
cmp word [eax + 2], 0
je 0x401650
add ecx, 1
mov eax, edx
jmp 0x401590
mov dword [esp + 4], 0x404036
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x4014d1
mov ebx, dword [ebp - 0x44]
test byte [section..data], 1
je 0x40153a
mov eax, dword [ebx]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Unrecognized_option:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], global___FUNCTION__
mov dword [esp + 4], 0x403000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40153a
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Loading_service_group_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.LoadGroup
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4014f8
lea ebx, [ecx*8 + 8]
test byte [section..data], 8
jne 0x401fd3
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x40], eax
call eax
mov edi, dword [ebp - 0x50]
sub esp, 0xc
mov dword [ebp - 0x4c], eax
cmp word [edi], 0
je 0x402239
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x48], 0
mov ecx, edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
test byte [section..data], 8
jne 0x401c00
mov eax, str.SystemCurrentControlSetServices
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4016d0
sub eax, str.SystemCurrentControlSetServices
sar eax, 1
add eax, 1
cmp word [ecx], 0
je 0x4016ff
mov edx, ecx
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x4016f0
sub edx, ecx
sar edx, 1
add eax, edx
add eax, 1
mov ebx, str.Parameters
lea esi, [esi]
nop
add ebx, 2
cmp word [ebx], 0
jne 0x401710
sub ebx, str.Parameters
mov dword [ebp - 0x2c], ecx
sar ebx, 1
mov dword [esp + 4], 0
add ebx, eax
lea edx, [ebx + ebx + 2]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
mov ecx, dword [ebp - 0x2c]
mov esi, eax
sub esp, 0xc
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.SystemCurrentControlSetServices]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x401758
cmp word [esi], 0
mov edx, esi
je 0x401781
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x401778
xor eax, eax
lea esi, [esi]
nop
movzx edi, word [eax + 0x404100]
mov word [edx + eax], di
add eax, 2
test di, di
jne 0x401788
cmp word [esi], 0
mov edx, esi
je 0x4017b1
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x4017a8
xor eax, eax
lea esi, [esi]
nop
movzx edi, word [ecx + eax]
mov word [edx + eax], di
add eax, 2
test di, di
jne 0x4017b8
cmp word [esi], 0
mov edx, esi
je 0x4017d9
add edx, 2
cmp word [edx], 0
jne 0x4017d0
xor eax, eax
lea esi, [esi]
nop
movzx edi, word [eax + 0x404100]
mov word [edx + eax], di
add eax, 2
test di, di
jne 0x4017e0
cmp word [esi], 0
mov edx, esi
je 0x401809
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x401800
xor eax, eax
lea esi, [esi]
nop
movzx edi, word [eax + str.Parameters]
mov word [edx + eax], di
add eax, 2
test di, di
jne 0x401810
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x80000002
call sym._RegOpenKeyExW_20
mov ecx, dword [ebp - 0x2c]
sub esp, 0x14
test eax, eax
mov ebx, eax
je 0x4019d8
test byte [section..data], 2
jne 0x401ca0
mov dword [ebp - 0x38], 0
xor ebx, ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], ecx
mov edi, dword fs:[0x18]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov esi, dword [ebp - 0x3c]
call esi
mov eax, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x34]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x38]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
test ebx, ebx
je 0x401e58
add dword [ebp - 0x48], 1
cmp word [ecx], 0
mov eax, ecx
je 0x401929
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401920
cmp word [eax + 2], 0
lea ecx, [eax + 2]
jne 0x4016b0
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x64]
lea eax, [eax + ebx*8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._StartServiceCtrlDispatcherW_4
sub esp, 4
test eax, eax
jne 0x401c3a
mov ebx, dword [ebp - 0x44]
test byte [section..data], 2
jne 0x4021c6
mov esi, dword [ebp - 0x4c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 0xc
test byte [section..data], 8
jne 0x40209e
mov esi, dword [ebp - 0x50]
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 0xc
jmp 0x401e10
mov eax, dword [ebp - 0x20]
mov edx, 0x404104
mov dword [ebp - 0x30], ecx
call dbg.GetRegValue
mov ecx, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x401ce0
test byte [section..data], 8
jne 0x401d68
mov dword [ebp - 0x30], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x401da0
mov dword [ebp - 0x30], ecx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x38], eax
mov ecx, eax
lea eax, [edi + edi + 2]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
test eax, eax
je 0x401f52
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x401f8b
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ServiceMain
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._RegQueryValueExA_24
mov ecx, dword [ebp - 0x30]
sub esp, 0x18
test eax, eax
jne 0x401d10
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], ecx
lea eax, [edx + 1]
mov dword [ebp - 0x30], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
call eax
sub esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ServiceMain
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._RegQueryValueExA_24
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x30]
sub esp, 0x18
test eax, eax
mov dword [ebp - 0x30], ecx
jne 0x402086
mov eax, dword [ebp - 0x38]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x40224a
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x401e96
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp], edi
mov dword [ebp - 0x30], eax
call eax
mov ecx, dword [ebp - 0x5c]
sub esp, 8
mov edx, eax
test edx, edx
je 0x401e72
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
mov dword [esp + 4], str.SvchostPushServiceGlobals
mov dword [esp], edi
mov eax, dword [ebp - 0x30]
call eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub esp, 8
test eax, eax
je 0x401be2
test byte [section..data], 1
jne 0x402045
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov dword [eax + ebx*8], ecx
mov dword [eax + ebx*8 + 4], edx
mov ebx, 1
jmp 0x401887
mov eax, ecx
mov dword [ebp - 0x2c], ecx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Adding_element_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x2c]
jmp 0x4016c4
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], 0
add esi, 2
mov ebx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edi, dword [ebp - 0x3c]
call edi
mov eax, dword [ebp - 0x50]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x44], 8
sub esp, 0xc
cmp esi, eax
jne 0x4014b0
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_open_key__s__err_ld_n
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x2c]
jmp 0x401870
test byte [section..data], 2
jne 0x401f18
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [esp], eax
call sym._RegCloseKey_4
mov ecx, dword [ebp - 0x2c]
sub esp, 4
jmp 0x401870
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
test eax, eax
mov edi, eax
jne 0x401e96
test byte [section..data], 2
jne 0x40214f
mov dword [ebp - 0x38], edi
jmp 0x401887
mov dword [ebp - 0x30], ecx
mov dword [esp + 0xc], 0x404000
mov dword [esp + 8], 0x404310
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x30]
jmp 0x401a03
test byte [section..data], 2
jne 0x402000
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [esp], eax
call sym._RegCloseKey_4
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
sub esp, 4
jmp 0x401887
mov dword [ebp - 0x2c], eax
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0xc], str.cannot_open_key__s__err_ld_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.LoadGroup
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
test byte [section..data], 2
je 0x40153a
mov eax, dword [ebx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Failed_to_load_requested_group:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], global___FUNCTION__
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40153a
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x44]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
jmp 0x40198e
test byte [section..data], 2
jne 0x4020c7
mov dword [ebp - 0x30], ecx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x30]
sub esp, 4
jmp 0x401887
mov eax, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], str.ServiceMain
mov dword [esp], edi
mov dword [ebp - 0x30], eax
call eax
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x5c]
sub esp, 8
mov edx, eax
jmp 0x401baa
mov esi, ebx
mov ebx, dword [ebp - 0x44]
test byte [section..data], 2
je 0x40153a
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
call sym._wine_dbgstr_wn.constprop.0
mov edi, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_find_registry_value__s_in__s_n
mov dword [esp + 8], str.LoadGroup
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401e10
mov eax, ecx
mov dword [ebp - 0x2c], ecx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.cannot_find_registry_value_ServiceDll_for_service__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x2c]
jmp 0x401ced
test byte [section..data], 2
jne 0x402101
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
test byte [section..data], 2
je 0x401dad
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.failed_to_expand_string__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x30]
jmp 0x401dad
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Service_group_contains__ld_services_n
mov dword [esp + 8], str.StartGroupServices
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401664
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_expand_env_vars_in__s:__lu_n
mov dword [esp + 8], 0x404310
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x30]
jmp 0x401f8b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x30], edx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.library__s_expects_undocumented_SvchostPushServiceGlobals_function_to_be_called_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x30]
jmp 0x401be2
mov eax, dword [ebp - 0x20]
xor ebx, ebx
mov dword [esp], eax
call sym._RegCloseKey_4
mov ecx, dword [ebp - 0x30]
sub esp, 4
jmp 0x401887
mov dword [esp + 0xc], str.Failed_to_start_service_group_n
mov dword [esp + 8], str.LoadGroup
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4019a9
mov eax, ecx
mov dword [ebp - 0x30], ecx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.cannot_locate_ServiceMain_procedure_in_DLL_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x30]
jmp 0x401e7f
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_expand_env_vars_in__s:__lu_n
mov dword [esp + 8], 0x404310
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x30]
jmp 0x401f5f
mov ebx, 8
xor ecx, ecx
jmp 0x401657
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], edx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp - 0x30]
mov dword [esp + 0xc], str.failed_to_load_library__s__err_lu_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x38]
jmp 0x401d5a
mov dword [esp + 0xc], section..rdata
mov dword [esp + 8], global___FUNCTION__
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401486
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x50]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.StartServiceCtrlDispatcherW_failed_to_start__s:__lu_n
mov dword [esp + 8], str.StartGroupServices
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401976
test al, 2
je 0x40153a
mov dword [esp + 0xc], str.Must_specify_group_to_initialize_n
mov dword [esp + 8], global___FUNCTION__
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x40153a
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
jmp 0x401943
mov edi, dword [ebp - 0x38]
jmp 0x401d4d