Function at 0x43d520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4639a2
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::operator_struct_HWND____void_const]
push 0xfffffffffffffff0
mov esi, ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
push eax
push 0xfffffffffffffff0
mov ecx, esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
lea edi, [esi + 0x24]
push eax
mov ecx, edi
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMPaintManager::Init_struct_HWND____]
lea ecx, [esp + 0x6c]
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMDialogBuilder::constructor_void_]
push edi
lea ecx, [esp + 0x28]
push ecx
push 0x46a30c
push 3
push str.SnapShotDlg
mov dword [esp + 0xcc], 0
push 0x9a
lea ecx, [esp + 0x84]
mov dword [esp + 0x3c], vtable.GameMgr::GMDialogBuilderCallbackEx.0
call dword [sym.imp.K8UIRender.dll_public:_class_GameMgr::GMControl____thiscall_GameMgr::GMDialogBuilder::Create_wchar_t_const___char_const___unsigned_int__wchar_t_const___class_GameMgr::IDialogBuilderCallback___class_GameMgr::GMPaintManager__]
push eax
mov ecx, edi
call dword [sym.imp.K8UIRender.dll_public:_bool___thiscall_GameMgr::GMPaintManager::AttachDialog_class_GameMgr::GMControl__]
lea edx, [esi + 0x20]
push edx
mov ecx, edi
call dword [sym.imp.K8UIRender.dll_public:_bool___thiscall_GameMgr::GMPaintManager::AddNotifier_class_GameMgr::INotify__]
push esi
call fcn.0043d7c0
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call dword [sym.imp.K8UIRender.dll_public:_struct_tagSIZE___thiscall_GameMgr::GMPaintManager::GetMinWindow_void_]
push 6
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
mov dword [esp + 0x18], eax
call dword [sym.imp.K8UIRender.dll_public:_struct_tagSIZE___thiscall_GameMgr::GMPaintManager::GetMinWindow_void_]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push ecx
push 0
push 0
push 0
mov ecx, esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov ecx, esi
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMWindowWnd::CenterWindow_struct_HWND____]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x30]
push edx
push eax
call ebx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x210]
call dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::GetHWND_void_const]
push eax
call ebx
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push edx
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x210]
call dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::GetHWND_void_const]
push eax
call ebx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
add ecx, eax
add edx, ebx
mov dword [esp + 0x5c], ecx
push 0x64
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], edx
call dword [sym.imp.K8UIRender.dll_public:_class_GameMgr::GMControl____thiscall_GameMgr::GMPaintManager::FindControl_unsigned_int_const]
test eax, eax
mov dword [esp + 0x28], eax
je 0x43d70e
mov ecx, dword [esp + 0x10]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edx + 0xc], ecx
mov ecx, eax
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMControl::SetMemoryBkArea_struct_tagRECT_]
mov edx, dword [esi + 0x238]
mov esi, dword [esp + 0x28]
push edx
mov ecx, esi
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMControl::SetMemoryBkHandle_struct_HBITMAP____]
push 0
mov ecx, esi
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMControl::SetIsMemoryBitmapAlpha_bool_]
push 0x6c
mov ecx, edi
call dword [sym.imp.K8UIRender.dll_public:_class_GameMgr::GMControl____thiscall_GameMgr::GMPaintManager::FindControl_unsigned_int_const]
mov esi, eax
test esi, esi
je 0x43d77f
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0xb8], 1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push 0xd6
lea edx, [esp + 0x5c]
push str.res_d_restypePNG_source0_0_20_24_dest0_0__d__d
push edx
call dword [sym.imp.K8Common.dll_public:_static_void___cdecl_GameMgr::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__]
add esp, 0x14
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMControl::SetNormalBkImage_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xb8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb8], 0xffffffff
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMDialogBuilder::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0045d098
mov esp, ebp
pop ebp
ret 0x10