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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x64
mov ebx, dword [ebp + 8]
test byte [section..data], 8
jne 0x402125
cmp ebx, 1
jle 0x401566
mov eax, dword [ebp + 0xc]
mov esi, 1
add eax, 4
mov dword [ebp - 0x3c], eax
lea eax, [ebx - 2]
sub ebx, 1
and eax, 0xfffffffe
or ebx, 1
add eax, 3
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], eax
lea esi, [esi]
mov dword [esp + 4], 0x405030
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
jne 0x4015d0
mov edi, dword [ebp - 0x4c]
movzx eax, byte [section..data]
cmp esi, edi
je 0x402190
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x18], 0
mov ebx, dword [edi + 4]
test al, 8
jne 0x401638
lea eax, [ebp - 0x18]
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 - 0x34], eax
call eax
sub esp, 0x14
test eax, eax
je 0x401570
mov edi, eax
test byte [section..data], 2
jne 0x401d96
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov edx, ebx
call fcn.00401350
mov dword [ebp - 0x48], eax
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0x44], eax
call eax
sub esp, 4
test edi, edi
je 0x401e77
cmp word [edi], 0
mov eax, edi
mov ecx, 1
je 0x4020d1
lea esi, cs:[esi]
mov edx, eax
add eax, 2
cmp word [eax], 0
jne 0x4015b0
add edx, 4
cmp word [eax + 2], 0
je 0x401670
add ecx, 1
mov eax, edx
jmp 0x4015b0
mov dword [esp + 4], 0x405036
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpiW]
sub esp, 8
test eax, eax
je 0x4014f9
test byte [section..data], 1
je 0x401566
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.00401060
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.004012f0
jmp 0x401566
mov eax, ebx
call fcn.00401060
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.004012f0
jmp 0x401520
lea ebx, [ecx*8 + 8]
test byte [section..data], 8
jne 0x401f71
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 - 0x30], eax
call eax
mov edi, dword [ebp - 0x48]
sub esp, 0xc
mov dword [ebp - 0x40], eax
cmp word [edi], 0
je 0x4021c1
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], eax
nop
mov dword [ebp - 0x14], 0
test byte [section..data], 8
jne 0x401bf0
mov eax, str.SystemCurrentControlSetServices
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4016f0
sub eax, str.SystemCurrentControlSetServices
sar eax, 1
add eax, 1
cmp word [edi], 0
je 0x40171f
mov edx, edi
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x401710
sub edx, edi
sar edx, 1
add eax, edx
add eax, 1
mov ebx, str.Parameters
lea esi, cs:[esi]
nop
add ebx, 2
cmp word [ebx], 0
jne 0x401730
sub ebx, str.Parameters
mov dword [esp + 4], 0
sar ebx, 1
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 - 0x30]
call eax
mov esi, eax
sub esp, 0xc
xor eax, eax
nop
movzx edx, word [eax + str.SystemCurrentControlSetServices]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x401770
cmp word [esi], 0
mov edx, esi
je 0x401799
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x401790
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [eax + 0x405100]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4017a0
cmp word [esi], 0
mov edx, esi
je 0x4017c9
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x4017c0
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [edi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4017d0
cmp word [esi], 0
mov edx, esi
je 0x4017f9
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x4017f0
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [eax + 0x405100]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401800
cmp word [esi], 0
mov edx, esi
je 0x401829
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x401820
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [eax + str.Parameters]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401830
xor eax, eax
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x80000002
mov eax, dword [ebp - 0x34]
call eax
sub esp, 0x14
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4019f0
test byte [section..data], 2
jne 0x401c88
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov esi, dword [ebp - 0x2c]
call esi
mov eax, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 4], 0
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 - 0x24]
sub esp, 0xc
mov dword [esp + 4], 0
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 - 0x28]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
test ecx, ecx
je 0x401e18
add dword [ebp - 0x38], 1
mov eax, edi
cmp word [edi], 0
je 0x401949
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401940
cmp word [eax + 2], 0
lea edi, [eax + 2]
jne 0x4016d0
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x58]
lea eax, [eax + edi*8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_StartServiceCtrlDispatcherW]
sub esp, 4
test eax, eax
jne 0x401c24
test byte [section..data], 2
jne 0x40214e
mov edi, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
sub esp, 0xc
test byte [section..data], 8
jne 0x40202f
mov edi, dword [ebp - 0x48]
xor edx, edx
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
sub esp, 0xc
jmp 0x401dcc
mov eax, dword [ebp - 0x14]
mov edx, 0x405104
call fcn.00401350
mov ebx, eax
mov dword [ebp - 0x20], eax
movzx eax, byte [section..data]
test ebx, ebx
je 0x401cc8
test al, 8
jne 0x401d38
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x401d68
mov eax, dword fs:[0x18]
mov dword [ebp - 0x28], eax
mov ecx, eax
lea eax, [ebx + ebx + 2]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
call eax
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
sub esp, 0xc
test eax, eax
je 0x401efc
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f2f
lea ebx, [ebp - 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ServiceMain
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x401ce8
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 1]
mov dword [ebp - 0x54], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
call eax
sub esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [esp + 0x14], ebx
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 - 0x14]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x54]
mov edx, eax
sub esp, 0x18
mov eax, dword [ebp - 0x14]
test edx, edx
jne 0x402018
mov ebx, dword [ebp - 0x28]
mov byte [ebx + ecx], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 4
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x4021d2
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x401e4d
mov dword [esp], ecx
mov ebx, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov dword [ebp - 0x54], ecx
call ebx
mov ecx, dword [ebp - 0x54]
sub esp, 8
mov edx, eax
test edx, edx
je 0x401e2f
mov dword [ebp - 0x1c], edx
mov dword [esp + 4], str.SvchostPushServiceGlobals
mov dword [esp], ecx
call ebx
mov edx, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
je 0x401bd3
test byte [section..data], 1
jne 0x401fe0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], 1
mov ebx, dword [ebp - 0x38]
mov dword [eax + ebx*8], edi
mov dword [eax + ebx*8 + 4], edx
jmp 0x4018a7
mov eax, edi
call fcn.00401060
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.004012f0
jmp 0x4016e4
mov eax, dword [ebp - 0x40]
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 - 0x2c]
call edi
mov eax, dword [ebp - 0x48]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x50]
sub esp, 0xc
add dword [ebp - 0x3c], 8
cmp esi, eax
jne 0x4014d8
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, esi
call fcn.00401060
mov ebx, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.cannot_open_key__s__err_ld_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.AddServiceElem
mov dword [esp + 4], 0x403000
mov dword [esp + 0x14], ebx
mov dword [esp], 1
call fcn.004012f0
jmp 0x40188b
test al, 2
jne 0x401ec8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 4
jmp 0x40188b
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 4
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
sub esp, 0xc
mov ecx, eax
test eax, eax
jne 0x401e4d
test byte [section..data], 2
jne 0x4020dd
mov dword [ebp - 0x28], ecx
jmp 0x4018a7
mov dword [esp + 0xc], 0x405017
mov dword [esp + 8], 0x405310
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call fcn.004012f0
jmp 0x401a19
test byte [section..data], 2
jne 0x401f9e
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
jmp 0x4018a7
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
call fcn.00401060
mov dword [esp + 0x14], edi
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.004012f0
test byte [section..data], 2
je 0x401566
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
call fcn.00401060
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.004012f0
jmp 0x401566
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
jmp 0x4019ac
test byte [section..data], 2
jne 0x402058
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x4018a7
mov dword [esp], ecx
mov ebx, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], str.ServiceMain
mov dword [ebp - 0x54], ecx
call ebx
mov ecx, dword [ebp - 0x54]
sub esp, 8
mov edx, eax
mov dword [ebp - 0x28], 0
jmp 0x401ba4
test byte [section..data], 2
je 0x401566
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionSvchost
call fcn.00401060
mov esi, eax
mov eax, ebx
call fcn.00401060
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.004012f0
jmp 0x401dcc
mov eax, edi
call fcn.00401060
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.004012f0
jmp 0x401cd0
test byte [section..data], 2
jne 0x402092
mov ebx, dword [ebp - 0x24]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
sub esp, 0xc
test byte [section..data], 2
je 0x401d75
mov eax, dword [ebp - 0x20]
call fcn.00401060
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.004012f0
jmp 0x401d75
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 fcn.004012f0
jmp 0x401684
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
call fcn.00401060
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_expand_env_vars_in__s:__lu_n
mov dword [esp + 8], 0x405310
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.004012f0
jmp 0x401f2f
mov eax, dword [ebp - 0x24]
call fcn.00401060
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.004012f0
mov edx, dword [ebp - 0x1c]
jmp 0x401bd3
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
sub esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x4018a7
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.004012f0
jmp 0x4019c7
mov eax, edi
mov dword [ebp - 0x54], ecx
call fcn.00401060
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.004012f0
mov ecx, dword [ebp - 0x54]
jmp 0x401e3c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x20]
call fcn.00401060
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_expand_env_vars_in__s:__lu_n
mov dword [esp + 8], 0x405310
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.004012f0
jmp 0x401f09
mov ebx, 8
xor ecx, ecx
jmp 0x401677
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x24]
call fcn.00401060
mov dword [esp + 0x14], ebx
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.004012f0
mov ecx, dword [ebp - 0x28]
jmp 0x401d2c
mov dword [esp + 0xc], 0x405017
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call fcn.004012f0
jmp 0x4014a9
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x48]
call fcn.00401060
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.004012f0
jmp 0x401994
test al, 2
je 0x401566
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.004012f0
jmp 0x401566
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edi
jmp 0x401963
mov ecx, dword [ebp - 0x28]
jmp 0x401d1f