Function at 0x498981
Capabilities:
Check for peb ntglobalflag flag
Contain obfuscated stackstrings
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4cf9f4
call sub.MSVCRT.dll__EH_prolog
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_3
and dword [ebp - 4], 0
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_3
push 4
lea eax, [esi + 0x10]
push 4
push eax
call fcn.004be214
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x84]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x1b
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xf8]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1f
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x13c]
mov byte [ebp - 4], 0x20
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0x21
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x154]
mov byte [ebp - 4], 0x22
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 0x23
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x15c]
mov byte [ebp - 4], 0x24
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x160]
mov byte [ebp - 4], 0x25
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x164]
mov byte [ebp - 4], 0x26
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 0x27
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x28
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x194]
mov byte [ebp - 4], 0x29
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x19c]
mov byte [ebp - 4], 0x2a
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x2b
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1a8]
mov byte [ebp - 4], 0x2c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1ac]
mov byte [ebp - 4], 0x2d
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1e8]
mov byte [ebp - 4], 0x2e
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1ec]
mov byte [ebp - 4], 0x2f
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x1f0]
mov byte [ebp - 4], 0x30
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 0x31
mov ecx, esi
mov dword [esi], 0x4e1fe0
call fcn.00498f87
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret