Function at 0x464460
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x609ed9
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 8]
push 0
push 0x737744
push 0x737798
push 0
push eax
mov dword [esp + 0x30], 0
call sub.MSVCR90.dll___RTDynamicCast
mov ebx, eax
add esp, 0x14
add esi, 0x64
mov edi, ebx
call fcn.0044d640
mov edi, dword [esp + 0x28]
cmp byte [edi + 0xa4], 0
je 0x464561
cmp byte [0x743e64], 0
je 0x464561
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov dword [esp + 0x70], 0
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x70], 1
call fcn.004221b0
push eax
lea eax, [esp + 0x2c]
push 0xef14
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format_1]
add esp, 0xc
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
call sub.mfc90u.dll_AfxMessageBox_1
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebx + 0x91a1], 0
jne 0x464577
mov edx, dword [ebx]
mov eax, dword [edx + 0x74]
mov ecx, ebx
call eax
test al, al
jne 0x4645cf
cmp byte [0x743e64], 0
je 0x4645cf
push 0
or edi, 0xffffffff
mov eax, 0x6bffd8
lea esi, [esp + 0x28]
call fcn.004728e0
mov dword [esp + 0x70], 2
mov ecx, esi
push ecx
call fcn.004faf40
mov esi, eax
mov dword [esp + 0x70], edi
lea ecx, [esp + 0x24]
call fcn.004740c0
push 0
push 0x737744
push 0x737798
push 0
push esi
call sub.MSVCR90.dll___RTDynamicCast
mov edi, dword [esp + 0x3c]
add esp, 0x14
mov ebx, eax
push ebx
push edi
call fcn.004663a0
mov edx, dword [ebx]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x70], 3
call fcn.004221b0
push eax
lea ecx, [esp + 0x1c]
call dword [0x612678]
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x2c]
call fcn.004740c0
cmp byte [ebx + 0x91a1], 0
je 0x464645
mov eax, dword [ebx]
mov edx, dword [eax + 0x54]
mov ecx, ebx
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x70], 6
mov dword [esp + 0x1c], 1
call fcn.00473170
mov byte [esp + 0x17], 1
test al, al
je 0x46464a
mov byte [esp + 0x17], 0
mov esi, 5
mov dword [esp + 0x70], esi
test byte [esp + 0x1c], 1
je 0x464668
and dword [esp + 0x1c], 0xfffffffe
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov eax, dword [ebx]
mov edx, dword [eax + 0x74]
mov ecx, ebx
call edx
test al, al
je 0x464693
cmp byte [esp + 0x17], 0
jne 0x464693
cmp byte [ebx + 0x91a0], 0
jne 0x464693
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x464824
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x54]
call eax
test eax, eax
jne 0x464781
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], eax
jne 0x464781
call fcn.004078f0
mov edx, dword [0x741af8]
push edx
push 0xe1000056
lea eax, [esp + 0x3c]
push eax
call fcn.00475440
mov byte [esp + 0x70], 7
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x70], 8
call fcn.004221b0
push eax
lea ecx, [esp + 0x38]
call fcn.004758c0
mov byte [esp + 0x70], 7
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov ecx, ebx
call edx
call fcn.004221b0
push eax
lea ecx, [esp + 0x38]
call fcn.004758c0
call sub.CommonUI62U.dll_wchar_t_const____cdecl_VGetAppName_void_
push eax
lea ecx, [esp + 0x38]
call fcn.004758c0
push 0
push 0x40
lea eax, [esp + 0x3c]
push eax
mov esi, edi
call fcn.00460690
push eax
call sub.CommonUI62U.dll_int___cdecl_VMessageBox_class_CWnd___class_IReportMessageParams_const___unsigned_int__wchar_t_const__
add esp, 0x10
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x34]
call fcn.00475600
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x70], 9
or dword [esp + 0x1c], 2
call fcn.00473170
test al, al
je 0x4647ba
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x17], 1
jg 0x4647bf
mov byte [esp + 0x17], 0
mov dword [esp + 0x70], esi
test byte [esp + 0x1c], 2
je 0x4647d8
and dword [esp + 0x1c], 0xfffffffd
lea ecx, [esp + 0x2c]
call fcn.004740c0
cmp byte [esp + 0x17], 0
je 0x46484d
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call sub.CommonUI62U.dll_public:_void___thiscall_VUnicodeString::constructor_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___enum_Str::SensitiveState_
mov byte [esp + 0x70], 0xa
mov eax, dword [edi + 0x58]
mov ebx, dword [edi + 0x54]
lea esi, [edi + 0x54]
add edi, 0x58
push 0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
push eax
mov eax, dword [ebx + 0x30]
mov ecx, esi
call eax
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x28]
call fcn.004740c0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
mov ecx, dword [edi + 0xb0]
mov dword [eax + 0x18], ecx
lea esi, [ebx + 0x8a90]
mov eax, esi
call fcn.0044c580
test eax, eax
jbe 0x464885
mov eax, esi
call fcn.0044c580
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
mov dword [eax + 0x18], esi
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
mov esi, dword [edi]
mov ecx, ebx
call eax
call fcn.004221b0
mov edx, dword [esi + 0xe0]
push eax
mov ecx, edi
call edx
cmp dword [ebp + 0xc], 0
je 0x4648ca
lea esi, [edi + 0x70]
xor eax, eax
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.00466ae0
mov ecx, dword [ebp + 0x10]
mov edi, dword [eax]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004490c0
mov edi, dword [esp + 0x28]
jmp 0x464919
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov esi, eax
mov byte [esp + 0x70], 0xb
lea ecx, [edi + 0x70]
xor eax, eax
mov dword [esp + 0x24], ecx
call fcn.00466ae0
mov ecx, eax
mov eax, esi
call fcn.004221b0
push eax
mov eax, dword [ecx]
push eax
call fcn.00448f20
mov byte [esp + 0x17], al
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov al, byte [esp + 0x17]
mov esi, dword [esp + 0x24]
test al, al
lea eax, [esp + 0x2c]
push eax
jne 0x464956
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
mov ecx, ebx
call edx
mov byte [esp + 0x70], 0xc
call fcn.004221b0
push eax
mov ecx, 0xe1000001
call fcn.0047d440
add esp, 4
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x2c]
call fcn.004740c0
jmp 0x464758
mov ecx, 0x744034
call fcn.0042e780
mov byte [esp + 0x70], 0xd
call fcn.004221b0
push eax
lea ecx, [esp + 0x24]
call dword [0x612678]
mov byte [esp + 0x70], 0xf
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
setne al
mov byte [esp + 0x17], al
test al, al
jne 0x4649f4
push 0x6b70dc
lea ecx, [esp + 0x30]
call dword [0x612678]
mov byte [esp + 0x70], 0x10
mov eax, dword [edi + 0x58]
lea ecx, [edi + 0x58]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [eax + 0x18]
call edx
push eax
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00461270
mov byte [esp + 0x70], 0x11
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x70], 0x10
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x70], 0xf
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, esi
call fcn.00466ae0
mov edx, dword [esp + 0x20]
mov ecx, eax
mov al, byte [esp + 0x17]
mov esi, dword [ecx]
push 1
push edx
call fcn.00449ca0
mov ecx, dword [esp + 0x24]
xor eax, eax
call fcn.00466ae0
mov esi, edi
mov dword [esp + 0x30], eax
call fcn.00460690
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
mov edi, eax
mov eax, dword [esp + 0x20]
call fcn.0045a670
mov edi, dword [esp + 0x24]
xor eax, eax
mov ecx, edi
call fcn.00466ae0
mov ecx, dword [eax]
call fcn.00445d40
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x6bdf70
call dword [0x612610]
mov byte [esp + 0x74], 0x12
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x6cadf8
call dword [0x612678]
mov byte [esp + 0x78], 0x13
push ebx
mov byte [esp + 0x7c], 0xf
mov ebx, dword [esp + 0x34]
mov esi, ebx
call fcn.00461180
xor eax, eax
mov ecx, edi
call fcn.00466ae0
mov ecx, ebx
mov edx, eax
call fcn.00461090
mov edx, dword [edx]
push 0
push 0x738450
push 0x738078
push 0
push edx
mov edi, eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
call fcn.00468150
mov eax, ebx
call fcn.00460110
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x464b07
mov ecx, dword [esp + 0x24]
xor eax, eax
call fcn.00466ae0
mov ebx, dword [eax]
mov eax, dword [edi]
mov esi, dword [ebx]
mov edx, dword [eax + 0x88]
mov ecx, edi
add esi, 0x20
call edx
mov edx, dword [esi]
movzx eax, al
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x464824
mov ecx, ebx
call fcn.00460120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
test eax, eax
setne al
mov byte [esp + 0x17], al
test al, al
jne 0x464b94
mov ecx, dword [0x741af8]
push ecx
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.00475440
mov byte [esp + 0x70], 0x14
push 0
or edi, 0xffffffff
mov eax, 0x6b70dc
lea esi, [esp + 0x30]
call fcn.004728e0
mov byte [esp + 0x70], 0x15
mov edi, dword [ebx + 0x54]
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x58]
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x18]
lea esi, [ebx + 0x54]
push 1
call edx
push eax
mov eax, dword [edi]
mov ecx, esi
call eax
mov byte [esp + 0x70], 0x14
lea ecx, [esp + 0x2c]
call fcn.004740c0
mov byte [esp + 0x70], 0xf
lea ecx, [esp + 0x34]
call fcn.00475600
mov byte [esp + 0x70], 5
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc