Function at 0x403440
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40c897
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call fcn.0040bb0a
xor ebp, ebp
lea ecx, [esi + 0x60]
mov dword [esp + 0x1c], ebp
call fcn.00401620
lea edi, [esi + 0xc4]
mov byte [esp + 0x1c], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0xc8]
mov byte [esp + 0x1c], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xcc]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xd0]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xe0]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xe4]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xe8]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xec]
mov byte [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xf0]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xf4]
mov byte [esp + 0x1c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xf8]
mov byte [esp + 0x1c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xfc]
mov byte [esp + 0x1c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x100]
mov byte [esp + 0x1c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x104]
mov byte [esp + 0x1c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x108]
mov byte [esp + 0x1c], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10c]
mov byte [esp + 0x1c], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x110]
mov byte [esp + 0x1c], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x114]
mov byte [esp + 0x1c], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x118]
mov byte [esp + 0x1c], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x11c]
mov byte [esp + 0x1c], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x120]
mov byte [esp + 0x1c], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x124]
mov byte [esp + 0x1c], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x128]
mov byte [esp + 0x1c], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [esp + 0x1c], 0x18
call sub.MFC42.DLL_CString::CString
push fcn.0040bb3a
push sub.MFC42.DLL_CString::CString
push 0x64
lea ecx, [esi + 0x140]
push 4
push ecx
mov byte [esp + 0x30], 0x19
call fcn.0040bee8
lea ecx, [esi + 0x2d8]
mov byte [esp + 0x1c], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2dc]
mov byte [esp + 0x1c], 0x1b
call sub.MFC42.DLL_CString::CString
push 0x411d40
mov ecx, edi
mov byte [esp + 0x20], 0x1c
mov dword [esi], 0x40da60
call fcn.0040bb40
push 0x411d40
mov ecx, ebx
call fcn.0040bb40
push 0x411d40
lea ecx, [esi + 0xcc]
call fcn.0040bb40
push 0x411d40
lea ecx, [esi + 0xd0]
call fcn.0040bb40
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x411d40
lea ecx, [esi + 0x138]
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], ebp
mov dword [esi + 0xdc], ebp
call fcn.0040bb40
mov dword [esi + 0x134], ebp
mov dword [esi + 0x12c], ebp
mov dword [esi + 0x130], ebp
push 0x411d40
lea ecx, [esi + 0xe8]
call fcn.0040bb40
push eax
lea ecx, [esi + 0xe4]
call fcn.0040bcde
push eax
lea ecx, [esi + 0xe0]
call fcn.0040bcde
push 0x411d40
lea ecx, [esi + 0x108]
call fcn.0040bb40
push eax
lea ecx, [esi + 0x104]
call fcn.0040bcde
push eax
lea ecx, [esi + 0x100]
call fcn.0040bcde
push eax
lea ecx, [esi + 0xfc]
call fcn.0040bcde
push eax
lea ecx, [esi + 0xf8]
call fcn.0040bcde
push eax
lea ecx, [esi + 0xf4]
call fcn.0040bcde
push eax
lea ecx, [esi + 0xf0]
call fcn.0040bcde
push eax
lea ecx, [esi + 0xec]
call fcn.0040bcde
push 0x411d40
lea ecx, [esi + 0x128]
call fcn.0040bb40
push eax
lea ecx, [esi + 0x124]
call fcn.0040bcde
push eax
lea ecx, [esi + 0x120]
call fcn.0040bcde
push eax
lea ecx, [esi + 0x11c]
call fcn.0040bcde
push eax
lea ecx, [esi + 0x118]
call fcn.0040bcde
push eax
lea ecx, [esi + 0x114]
call fcn.0040bcde
push eax
lea ecx, [esi + 0x110]
call fcn.0040bcde
push eax
lea ecx, [esi + 0x10c]
call fcn.0040bcde
mov edx, 1
mov ecx, 0x41
xor eax, eax
lea edi, [esi + 0x2e0]
mov dword [esi + 0x13c], edx
mov dword [esi + 0x2d0], ebp
mov dword [esi + 0x2d4], 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x4e8], edx
mov dword [esi + 0x4f0], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4