Function at 0x401470
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, 0x88
test byte [section..data], 8
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
jne 0x4021b0
cmp ebx, 1
jle 0x401566
mov dword [ebp - 0x3c], 1
lea eax, [esi + 4]
mov dword [ebp - 0x40], eax
lea eax, [ebx - 2]
dec ebx
and eax, 0xfffffffe
or ebx, 1
mov dword [ebp - 0x64], ebx
add eax, 3
mov dword [ebp - 0x68], eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0x40]
mov edi, 0x404030
mov dword [esp + 4], edi
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x401c20
mov edi, dword [ebp - 0x3c]
cmp dword [ebp - 0x64], edi
movzx eax, byte [section..data]
je 0x402228
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x40]
and al, 8
lea esi, [ecx + 4]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x6c], esi
jne 0x401cc0
mov dword [esp], 0x80000002
lea eax, [ebp - 0x24]
mov edi, 0x20019
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
mov dword [esp + 4], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 0xc], edi
mov dword [ebp - 0x50], eax
call eax
sub esp, 0x14
test eax, eax
mov esi, eax
je 0x401578
test byte [section..data], 2
jne 0x401d98
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 sym._GetRegValue
mov dword [ebp - 0x5c], eax
mov esi, eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x54], eax
call eax
sub esp, 4
test esi, esi
je 0x401f98
xor ecx, ecx
mov edx, esi
cmp word [esi], 0
mov ebx, 8
je 0x4015ec
lea esi, [esi]
lea esi, [esi]
nop
mov ebx, ecx
mov eax, edx
inc ecx
lea esi, [esi]
lea esi, [esi]
mov edx, eax
add eax, 2
cmp word [eax], 0
jne 0x4015d0
add edx, 4
cmp word [eax + 2], 0
jne 0x4015c0
lea ebx, [ebx*8 + 0x10]
test byte [section..data], 8
jne 0x402070
mov dword [esp + 8], ebx
xor edi, edi
mov dword [esp + 4], edi
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x48], eax
call eax
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
sub esp, 0xc
cmp word [edi], 0
je 0x402260
mov dword [ebp - 0x58], 0
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea esi, [esi]
test byte [section..data], 8
mov dword [ebp - 0x20], 0
jne 0x401ac0
mov eax, str.SystemCurrentControlSetServices
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401670
sub eax, str.SystemCurrentControlSetServices
sar eax, 1
inc eax
cmp word [edi], 0
je 0x40169f
mov edx, edi
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x401690
sub edx, edi
sar edx, 1
add eax, edx
inc eax
mov edx, str.Parameters
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4016b0
sub edx, str.Parameters
sar edx, 1
lea esi, [edx + eax]
lea eax, [eax + edx + 1]
add eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
mov ebx, eax
sub esp, 0xc
xor eax, eax
lea esi, [esi]
movzx edx, word [eax + str.SystemCurrentControlSetServices]
mov word [ebx + eax], dx
add eax, 2
test edx, edx
jne 0x4016f0
cmp word [ebx], 0
mov eax, ebx
je 0x401719
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401710
xor edx, edx
lea esi, [esi]
nop
movzx ecx, word [edx + 0x404100]
mov word [eax + edx], cx
add edx, 2
test ecx, ecx
jne 0x401720
cmp word [ebx], 0
mov eax, ebx
je 0x401749
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401740
xor edx, edx
lea esi, [esi]
nop
movzx ecx, word [edi + edx]
mov word [eax + edx], cx
add edx, 2
test ecx, ecx
jne 0x401750
cmp word [ebx], 0
mov eax, ebx
je 0x401779
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401770
xor edx, edx
lea esi, [esi]
nop
movzx ecx, word [edx + 0x404100]
mov word [eax + edx], cx
add edx, 2
test ecx, ecx
jne 0x401780
cmp word [ebx], 0
mov eax, ebx
je 0x4017a9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4017a0
xor edx, edx
lea esi, [esi]
nop
movzx ecx, word [edx + str.Parameters]
mov word [eax + edx], cx
add edx, 2
test ecx, ecx
jne 0x4017b0
mov word [ebx + esi*2], 0
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], eax
mov eax, 0x20019
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call eax
mov dword [ebp - 0x38], eax
sub esp, 0x14
test eax, eax
je 0x4018d0
test byte [section..data], 2
jne 0x401b00
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [esp + 8], ebx
xor eax, eax
mov ebx, dword [ebp - 0x44]
mov dword [esp + 4], eax
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x2c]
xor edx, edx
sub esp, 0xc
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x30]
xor ecx, ecx
sub esp, 0xc
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x34]
sub esp, 0xc
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x38]
sub esp, 0xc
test eax, eax
je 0x401e20
inc dword [ebp - 0x58]
cmp word [edi], 0
je 0x4018b9
lea esi, [esi]
add edi, 2
cmp word [edi], 0
jne 0x4018b0
cmp word [edi + 2], 0
lea eax, [edi + 2]
je 0x401ea0
mov edi, eax
jmp 0x401650
mov eax, dword [ebp - 0x20]
mov edx, 0x404104
call sym._GetRegValue
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x401b60
test byte [section..data], 8
jne 0x401c90
xor eax, eax
xor esi, esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x401d00
lea eax, [eax + eax + 2]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov dword [ebp - 0x34], edx
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
mov dword [ebp - 0x30], eax
sub esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov edx, dword [ebp - 0x34]
sub esp, 0xc
test eax, eax
je 0x402030
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x401d4d
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov dword [esp + 0x14], eax
xor eax, eax
xor esi, esi
mov dword [esp + 8], eax
mov eax, str.ServiceMain
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x34], edx
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x401b90
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x70], ecx
lea eax, [ecx + 1]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
lea ecx, [ebp - 0x1c]
mov edx, str.ServiceMain
mov dword [ebp - 0x34], eax
sub esp, 0xc
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0x70]
sub esp, 0x18
test eax, eax
jne 0x4020e0
mov eax, dword [ebp - 0x34]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov eax, 8
sub esp, 4
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
sub esp, 0xc
test eax, eax
mov edx, eax
je 0x401bc7
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x401f5a
mov dword [esp], edx
mov ecx, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], ecx
call ecx
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
sub esp, 8
mov esi, eax
test esi, esi
je 0x401e80
mov dword [esp], edx
mov eax, str.SvchostPushServiceGlobals
mov dword [esp + 4], eax
call ecx
sub esp, 8
test eax, eax
je 0x401aa3
test byte [section..data], 1
jne 0x4020a0
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
mov dword [eax + ecx*8], edi
mov dword [eax + ecx*8 + 4], esi
jmp 0x401825
mov eax, edi
mov ebx, section..data
call sym._wine_dbgstr_wn.constprop.0
mov edx, str.Adding_element_for__s_n
mov ecx, str.AddServiceElem
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401664
mov eax, ebx
mov esi, str.cannot_open_key__s__err_ld_n
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0xc], esi
mov dword [esp], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, str.AddServiceElem
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x401825
test byte [section..data], 2
jne 0x401ff0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
sub esp, 4
jmp 0x401825
mov eax, dword [ebp - 0x20]
mov esi, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
xor eax, eax
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
jne 0x401f60
test byte [section..data], 2
je 0x401825
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x30]
call sym._wine_dbgstr_wn.constprop.0
mov edx, str.failed_to_load_library__s__err_lu_n
mov ecx, str.AddServiceElem
mov dword [esp + 0x14], esi
mov esi, section..data
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], 1
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401825
mov eax, dword [ebp - 0x40]
mov esi, 0x404036
mov dword [esp + 4], esi
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x4014f2
test byte [section..data], 1
je 0x401566
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, str.Unrecognized_option:__s_n
mov dword [esp + 0xc], eax
mov eax, str.wmain
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401566
mov dword [esp], 3
mov eax, section..rdata
mov dword [esp + 0xc], eax
mov eax, 0x404310
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x4018f5
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.Loading_service_group_for__s_n
mov dword [esp + 0xc], eax
mov eax, str.LoadGroup
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401520
test byte [section..data], 2
je 0x401b6d
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
call sym._wine_dbgstr_wn.constprop.0
mov edx, 0x404310
mov ecx, section..data
mov dword [esp + 0x14], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.cannot_expand_env_vars_in__s:__lu_n
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0
test byte [section..data], 2
je 0x401b6d
mov eax, dword [ebp - 0x2c]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.failed_to_expand_string__s_n
mov dword [esp + 0xc], eax
mov eax, str.AddServiceElem
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401b6d
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
mov ebx, str.LoadGroup
call sym._wine_dbgstr_wn.constprop.0
mov ecx, str.cannot_open_key__s__err_ld_n
mov dword [esp + 0x14], esi
mov esi, section..data
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], 1
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
test byte [section..data], 2
je 0x401566
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
call sym._wine_dbgstr_wn.constprop.0
mov edx, str.wmain
mov ecx, section..data
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.Failed_to_load_requested_group:__s_n
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401566
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0xc
test byte [section..data], 8
jne 0x402100
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x5c]
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0xc
jmp 0x401dd1
test byte [section..data], 2
jne 0x402130
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x401825
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
lea eax, [eax + ecx*8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_StartServiceCtrlDispatcherW]
sub esp, 4
test eax, eax
jne 0x401ef8
test byte [section..data], 2
jne 0x4021e0
mov ecx, dword [ebp - 0x4c]
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
xor ecx, ecx
mov dword [esp + 4], ecx
mov eax, dword [eax + 0x30]
jmp 0x401e30
mov eax, dword [ebp - 0x4c]
mov ebx, dword fs:[0x18]
mov esi, dword [ebp - 0x44]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x5c]
xor edx, edx
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
add dword [ebp - 0x3c], 2
add dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x3c]
sub esp, 0xc
cmp eax, dword [ebp - 0x68]
jne 0x4014d0
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x34], edx
lea esi, [esi]
mov eax, str.ServiceMain
mov ecx, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], ecx
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x70]
sub esp, 8
mov esi, eax
jmp 0x401a79
test byte [section..data], 2
je 0x401566
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov edx, section..data
mov dword [esp + 0x14], esi
mov dword [esp + 4], edx
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.cannot_find_registry_value__s_in__s_n
mov dword [esp + 0xc], eax
mov eax, str.LoadGroup
mov dword [esp + 8], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401dd1
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov edx, str.AddServiceElem
mov ecx, section..data
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.cannot_find_registry_value_ServiceDll_for_service__s_n
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401b6d
test byte [section..data], 2
jne 0x402170
mov ecx, dword [ebp - 0x30]
xor esi, esi
mov dword [esp + 4], esi
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 0xc
jmp 0x401d4d
mov dword [esp + 0x10], ecx
mov eax, str.Service_group_contains__ld_services_n
mov dword [esp + 0xc], eax
mov eax, str.StartGroupServices
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4015f9
mov eax, dword [ebp - 0x30]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, str.library__s_expects_undocumented_SvchostPushServiceGlobals_function_to_be_called_n
mov dword [esp + 0xc], eax
mov eax, str.AddServiceElem
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401aa3
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov dword [ebp - 0x38], 0
sub esp, 4
jmp 0x401825
mov ebx, str.Failed_to_start_service_group_n
mov esi, str.LoadGroup
mov dword [esp + 0xc], ebx
mov edi, section..data
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401e4b
mov dword [ebp - 0x70], edx
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.cannot_locate_ServiceMain_procedure_in_DLL_for__s_n
mov dword [esp + 0xc], eax
mov eax, str.AddServiceElem
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x70]
jmp 0x401e8d
mov eax, dword [ebp - 0x2c]
mov esi, dword [edx + 0x34]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.cannot_expand_env_vars_in__s:__lu_n
mov dword [esp + 0xc], eax
mov eax, 0x404310
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x40203d
mov dword [esp], 3
mov eax, section..rdata
mov dword [esp + 0xc], eax
mov eax, str.wmain
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401499
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x5c]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], ebx
mov dword [esp], 1
mov dword [esp + 0x10], eax
mov eax, str.StartServiceCtrlDispatcherW_failed_to_start__s:__lu_n
mov dword [esp + 0xc], eax
mov eax, str.StartGroupServices
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x401ed6
and al, 2
je 0x401566
mov edx, str.Must_specify_group_to_initialize_n
mov ecx, str.wmain
mov dword [esp + 0xc], edx
mov ebx, section..data
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401566
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
jmp 0x401ea9