Function at 0x401430
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
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [section..data], 8
jne 0x402130
cmp ebx, 1
jle 0x401519
lea eax, [esi + 4]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], eax
lea eax, [ebx - 2]
sub ebx, 1
and eax, 0xfffffffe
or ebx, 1
add eax, 3
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0x404030
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x401593
movzx eax, byte [section..data]
mov edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x60], edx
je 0x4021a2
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
lea edx, [ecx + 4]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x6c], edx
test al, 8
jne 0x401600
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
mov dword [esp], 0x80000002
mov dword [ebp - 0x50], eax
call eax
sub esp, 0x14
test eax, eax
je 0x401530
mov esi, eax
test byte [section..data], 2
jne 0x401d40
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 fcn.004012f0
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 0x401f30
xor ecx, ecx
cmp word [esi], 0
mov eax, esi
je 0x402123
lea esi, [esi]
nop
lea ebx, [ecx + 1]
jmp 0x401577
mov eax, edx
cmp word [eax + 2], 0
lea edx, [eax + 2]
jne 0x401575
add eax, 4
cmp word [edx + 2], 0
je 0x401634
mov ecx, ebx
jmp 0x401570
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0x404036
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x4014a5
test byte [section..data], 1
je 0x401519
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
call fcn.004010c0
mov dword [esp + 0xc], str.Unrecognized_option:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x403000
mov dword [esp], 0
call fcn.004012a0
jmp 0x401519
mov eax, ebx
call fcn.004010c0
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 fcn.004012a0
jmp 0x4014d3
lea esi, [ecx*8 + 0x10]
test byte [section..data], 8
jne 0x401ff0
mov dword [esp + 8], esi
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 - 0x48], eax
call eax
mov edi, dword [ebp - 0x5c]
sub esp, 0xc
mov dword [ebp - 0x4c], eax
cmp word [edi], 0
je 0x4021d3
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x44], eax
nop
mov dword [ebp - 0x20], 0
test byte [section..data], 8
jne 0x401b30
mov eax, 0x79
mov ebx, str.SystemCurrentControlSetServices
jmp 0x4016b4
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x4016b0
sub ebx, str.SystemCurrentControlSetServices
sar ebx, 1
add ebx, 1
cmp word [edi], 0
je 0x4016df
mov eax, edi
nop
add eax, 2
cmp word [eax], 0
jne 0x4016d0
sub eax, edi
sar eax, 1
add ebx, eax
lea eax, [ebx + 1]
mov edx, 0x61
mov ebx, str.Parameters
jmp 0x4016f4
movzx edx, word [ebx + 2]
add ebx, 2
test dx, dx
jne 0x4016f0
sub ebx, str.Parameters
mov dword [esp + 4], 0
sar ebx, 1
lea esi, [ebx + eax]
lea edx, [esi + esi + 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 - 0x48]
call eax
mov edx, 0x53
mov ebx, eax
sub esp, 0xc
xor eax, eax
jmp 0x401747
movzx edx, word [eax + str.SystemCurrentControlSetServices]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x401740
cmp word [ebx], 0
mov eax, ebx
je 0x401769
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401760
xor edx, edx
mov ecx, 0x5c
jmp 0x401779
movzx ecx, word [edx + 0x404100]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x401772
cmp word [ebx], 0
mov eax, ebx
je 0x401799
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401790
xor edx, edx
lea esi, [esi]
nop
movzx ecx, word [edi + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x4017a0
cmp word [ebx], 0
mov eax, ebx
je 0x4017c9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4017c0
xor edx, edx
mov ecx, 0x5c
jmp 0x4017d9
movzx ecx, word [edx + 0x404100]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x4017d2
cmp word [ebx], 0
mov eax, ebx
je 0x4017f9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4017f0
xor edx, edx
mov ecx, 0x50
jmp 0x401809
movzx ecx, word [edx + str.Parameters]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x401802
xor ecx, ecx
lea eax, [ebp - 0x20]
mov word [ebx + esi*2], cx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000002
call eax
sub esp, 0x14
mov dword [ebp - 0x38], eax
test eax, eax
je 0x401930
test byte [section..data], 2
jne 0x401b64
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x44]
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x30]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
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
mov dword [esp + 4], 0
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 0x401dc0
add dword [ebp - 0x58], 1
cmp word [edi], 0
je 0x401919
lea esi, [esi]
add edi, 2
cmp word [edi], 0
jne 0x401910
cmp word [edi + 2], 0
lea eax, [edi + 2]
je 0x401e40
mov edi, eax
jmp 0x401690
mov eax, dword [ebp - 0x20]
mov edx, 0x404104
call fcn.004012f0
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x401bc0
test byte [section..data], 8
jne 0x401c80
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov esi, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov dword [esp], eax
call esi
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x401cb0
lea eax, [eax + eax + 2]
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x64], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x34], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
mov edx, dword [ebp - 0x34]
sub esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], edx
mov dword [esp], eax
call esi
sub esp, 0xc
test eax, eax
je 0x401fb5
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x401cfa
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ServiceMain
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x401bf0
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], 0
lea eax, [edx + 1]
mov dword [ebp - 0x70], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
call eax
lea ecx, [ebp - 0x1c]
sub esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ServiceMain
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x70]
sub esp, 0x18
test eax, eax
jne 0x402060
mov eax, dword [ebp - 0x34]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x401c28
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x401ef9
mov edx, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [ebp - 0x64], edx
call edx
mov edx, dword [ebp - 0x64]
sub esp, 8
mov ecx, eax
test ecx, ecx
je 0x401e20
mov dword [ebp - 0x38], ecx
mov dword [esp + 4], str.SvchostPushServiceGlobals
mov dword [esp], esi
call edx
mov ecx, dword [ebp - 0x38]
sub esp, 8
test eax, eax
je 0x401b11
test byte [section..data], 1
jne 0x402020
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x38], 1
mov dword [eax + edx*8], edi
mov dword [eax + edx*8 + 4], ecx
jmp 0x401879
mov eax, edi
call fcn.004010c0
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 fcn.004012a0
jmp 0x4016a4
mov eax, ebx
call fcn.004010c0
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0xc], str.cannot_open_key__s__err_ld_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.004012a0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x401879
test byte [section..data], 2
jne 0x401f81
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov dword [ebp - 0x34], 0
sub esp, 4
mov dword [ebp - 0x30], 0
jmp 0x401879
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
sub esp, 0xc
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x401f00
test byte [section..data], 2
je 0x401879
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x30]
call fcn.004010c0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_load_library__s__err_lu_n
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.004012a0
jmp 0x401879
mov dword [esp + 0xc], 0x404017
mov dword [esp + 8], 0x404310
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call fcn.004012a0
jmp 0x401955
test byte [section..data], 2
je 0x401bcd
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
call fcn.004010c0
mov dword [esp + 0x14], esi
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 fcn.004012a0
test byte [section..data], 2
je 0x401bcd
mov eax, dword [ebp - 0x2c]
call fcn.004010c0
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 fcn.004012a0
jmp 0x401bcd
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
call fcn.004010c0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_open_key__s__err_ld_n
mov dword [esp + 8], str.LoadGroup
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.004012a0
test byte [section..data], 2
je 0x401519
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
call fcn.004010c0
mov dword [esp + 0xc], str.Failed_to_load_requested_group:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.004012a0
jmp 0x401519
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 8], 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 0x402080
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 4], 0
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 0x401d76
test byte [section..data], 2
jne 0x4020b0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x401879
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 0x401e93
test byte [section..data], 2
jne 0x402160
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
jmp 0x401dd2
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x44]
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x5c]
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 esi
add dword [ebp - 0x3c], 2
mov eax, dword [ebp - 0x3c]
sub esp, 0xc
add dword [ebp - 0x40], 8
cmp eax, dword [ebp - 0x68]
jne 0x401484
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], esi
lea esi, [esi]
mov edx, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, dword [ebp - 0x34]
mov dword [esp + 4], str.ServiceMain
mov dword [ebp - 0x64], edx
mov dword [esp], esi
call edx
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x64]
sub esp, 8
mov ecx, eax
jmp 0x401ae2
test byte [section..data], 2
je 0x401519
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
call fcn.004010c0
mov esi, eax
mov eax, ebx
call fcn.004010c0
mov dword [esp + 0x14], esi
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 fcn.004012a0
jmp 0x401d76
mov eax, edi
call fcn.004010c0
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 fcn.004012a0
jmp 0x401bcd
test byte [section..data], 2
jne 0x4020e4
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], 0
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 0x401cfa
mov dword [esp + 0x10], ebx
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 fcn.004012a0
jmp 0x401648
mov eax, dword [ebp - 0x30]
call fcn.004010c0
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 fcn.004012a0
mov ecx, dword [ebp - 0x38]
jmp 0x401b11
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 0x401879
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 fcn.004012a0
jmp 0x401ded
mov eax, edi
call fcn.004010c0
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 fcn.004012a0
jmp 0x401e2d
mov eax, dword [ebp - 0x64]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
call fcn.004010c0
mov dword [esp + 0x14], esi
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 fcn.004012a0
jmp 0x401fc2
mov esi, 8
xor ebx, ebx
jmp 0x40163b
mov dword [esp + 0xc], 0x404017
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call fcn.004012a0
jmp 0x401459
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x5c]
call fcn.004010c0
mov dword [esp + 0x14], ebx
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 fcn.004012a0
jmp 0x401e76
test al, 2
je 0x401519
mov dword [esp + 0xc], str.Must_specify_group_to_initialize_n
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.004012a0
jmp 0x401519
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
jmp 0x401e49