Function at 0x409610
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x44fd51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044e04e
mov dword [esi], 0x4579d0
xor edi, edi
lea ecx, [esi + 0x58]
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::CString_2
mov ebx, 4
mov eax, 0x18
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
lea ecx, [esi + 0x80]
mov byte [esp + 0x20], 1
mov dword [esi + 0x6c], 0x8b
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], 0x9c
mov dword [esi + 0x78], 0x15
call fcn.004356d0
lea ecx, [esi + 0xe0]
mov byte [esp + 0x20], 2
call fcn.004356d0
lea ecx, [esi + 0x140]
mov byte [esp + 0x20], 3
call fcn.004356d0
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x20], bl
call fcn.004356d0
lea ecx, [esi + 0x200]
mov byte [esp + 0x20], 5
call fcn.004356d0
lea ecx, [esi + 0x260]
mov byte [esp + 0x20], 6
call fcn.004356d0
lea ecx, [esi + 0x2c0]
mov byte [esp + 0x20], 7
call fcn.004356d0
lea ecx, [esi + 0x348]
mov byte [esp + 0x20], 8
call fcn.00424400
push 0xffffff
push edi
push ecx
mov byte [esp + 0x2c], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x47c7c0
call fcn.0044df10
lea ecx, [esi + 0xdb8]
call fcn.00414f20
push 0xffffff
push edi
push ecx
mov byte [esp + 0x2c], 0xa
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x47c7c0
call fcn.0044df10
lea ecx, [esi + 0xe3c]
call fcn.00414f20
mov byte [esp + 0x20], 0xb
mov dword [esi + 0xec0], ebx
mov ecx, 0x1e
mov eax, 0x37
mov dword [esi + 0xec4], ecx
mov dword [esi + 0xec8], 0x4a
mov dword [esi + 0xecc], eax
push edi
mov dword [esi + 0xed4], ecx
push edi
push 0xfffffe3e
lea ecx, [esi + 0xee0]
mov dword [esi + 0xed0], 0x4e
mov dword [esi + 0xed8], 0x94
mov dword [esi + 0xedc], eax
call fcn.0042daf0
push edi
push 0x190
push 0xfffffe70
lea ecx, [esi + 0xfe0]
mov byte [esp + 0x2c], 0xc
call fcn.0042daf0
lea ebp, [esi + 0x10e0]
mov byte [esp + 0x20], 0xd
mov ecx, ebp
call fcn.0044e04e
mov dword [ebp], 0x457908
lea ebp, [esi + 0x1120]
mov byte [esp + 0x20], 0xe
mov ecx, ebp
call fcn.0044e04e
mov dword [ebp], 0x457840
lea ebp, [esi + 0x1160]
mov byte [esp + 0x20], 0xf
mov ecx, ebp
call fcn.0044e04e
mov dword [ebp], 0x457908
lea ebp, [esi + 0x11a0]
mov byte [esp + 0x20], 0x10
mov ecx, ebp
call fcn.0044e04e
mov dword [ebp], 0x457908
push 0x1388
push ebx
push 0x190
push 0x7d0
lea ecx, [esi + 0x11e0]
mov byte [esp + 0x30], 0x11
call fcn.0042cdb0
push 0x1388
push ebx
push 0x190
push 0x7d0
lea ecx, [esi + 0x1240]
mov byte [esp + 0x30], 0x12
call fcn.0042cdb0
lea ecx, [esi + 0x12a0]
mov byte [esp + 0x20], 0x13
call fcn.00405750
lea ecx, [esi + 0x14d8]
mov byte [esp + 0x20], 0x14
call fcn.0042ea60
mov ebp, dword [esp + 0x2c]
push 0xffffff
push edi
push 0x405f4000
push edi
push 0xc057c000
push edi
push edi
push edi
push ebp
mov byte [esp + 0x44], 0x15
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x47c7c0
call fcn.0044df10
lea ecx, [esi + 0x15f8]
call fcn.004341f0
mov dword [esi + 0x1748], ebx
mov dword [esi + 0x174c], 0x92
mov dword [esi + 0x1750], 0x31
mov dword [esi + 0x1754], 0xa4
mov edx, 0x64
mov dword [esi + 0x1758], 0x66
mov dword [esi + 0x175c], 0x3d
mov dword [esi + 0x1760], 0x98
mov dword [esi + 0x1764], 0x4a
mov ecx, 0xe2
mov eax, 0xf3
mov dword [esi + 0x1778], edx
mov dword [esi + 0x177c], 0xbc
mov dword [esi + 0x1780], 0x96
mov dword [esi + 0x1784], 0xce
mov dword [esi + 0x1788], 0xc
mov dword [esi + 0x178c], ecx
mov dword [esi + 0x1790], 0x39
mov dword [esi + 0x1794], eax
mov dword [esi + 0x1798], 0x38
mov dword [esi + 0x179c], ecx
mov dword [esi + 0x17a0], 0x65
mov dword [esi + 0x17a4], eax
mov dword [esi + 0x17ac], ecx
mov ebx, 0x9e
mov dword [esi + 0x17a8], edx
mov dword [esi + 0x17b0], 0x91
mov dword [esi + 0x17b4], eax
lea ecx, [esi + 0x17c8]
mov byte [esp + 0x20], 0x16
mov dword [esi + 0x17b8], 0x7e
mov dword [esi + 0x17bc], 0x115
mov dword [esi + 0x17c0], ebx
mov dword [esi + 0x17c4], 0x127
call fcn.0042ea60
lea ecx, [esi + 0x18e8]
mov byte [esp + 0x20], 0x17
call fcn.0042ea60
lea ecx, [esi + 0x1a08]
mov byte [esp + 0x20], 0x18
call fcn.0042ea60
lea ecx, [esi + 0x1b2c]
mov byte [esp + 0x20], 0x19
call fcn.004145d0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, 0x14
mov dword [esi + 0x1b90], edi
mov dword [esi + 0x1b94], edi
mov dword [esi + 0x1b98], 0x70
mov dword [esi + 0x1b9c], eax
mov dword [esi + 0x1bac], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1ba0], 0x89
mov dword [esi + 0x1ba4], edi
mov dword [esi + 0x1ba8], ebx
mov dword [esi + 0x1bb8], edi
mov dword [esi + 0x1bbc], edi
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x50], ecx
push edx
mov byte [esp + 0x24], 0x1a
mov dword [esi], 0x457770
mov dword [esi + 0x48], ebp
mov dword [esi + 0x1b78], ebx
mov dword [esi + 0x1b7c], 0x141
push eax
mov ecx, esi
call fcn.00409c80
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x1bd0], eax
mov dword [esi + 0x1bb0], edi
mov dword [esi + 0x1bc0], edi
mov dword [esi + 0x1bc4], edi
mov dword [esi + 0x1bc8], edi
mov dword [esi + 0x1bcc], edi
mov dword [esi + 0x1bb4], 0xc0690000
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x14