Function at 0x42a270
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45af1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0xec]
mov dword [esp + 0xe8], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
call fcn.0042a650
mov dword [esp + 0x14], 0x45ff4c
lea eax, [esi + 0xb0]
push ebx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x154], ebx
call fcn.00401470
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x14c], 1
push ecx
call dword [sym.imp.GDI32.dll_GetBkMode]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
push 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
call sub.MFC42u.DLL_CDC::SetMapMode
push 1
lea ecx, [esp + 0x50]
call sub.MFC42u.DLL_CDC::SetBkMode
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x50]
call sub.MFC42u.DLL_CDC::SetBkColor
mov edx, dword [esi + 0xd0]
xor eax, eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], eax
push ecx
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x460014
push 0xf
mov byte [esp + 0x150], 2
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x50]
push eax
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi + 0x20]
push ebx
push ebx
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.MFC42u.DLL_CGdiObject::FromHandle
cmp dword [esp + 0x154], 0x3f9
jne 0x42a5da
mov edx, dword [eax + 4]
lea ecx, [esp + 0xe8]
push ebp
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0xec]
mov byte [esp + 0x103], 1
push eax
mov dword [esp + 0xf0], 0xd
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x100], 0x64
mov byte [esp + 0x105], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CGdiObject::Attach
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CDC::SelectObject_1
push 1
lea ecx, [esp + 0x54]
mov ebp, eax
call sub.MFC42u.DLL_CDC::SetBkMode
push 0xff0000
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CDC::SetTextColor
push 0x3fb
mov ecx, esi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0xdc]
push edx
push eax
call edi
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xcc]
push ecx
push edx
call edi
cmp dword [esi + 0x1dc], ebx
je 0x42a529
mov eax, dword [0x473064]
mov ecx, dword [0x4732c4]
push 0x98
push str.IDS_STRING_MORE_SETTINGS_2
push eax
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00452420
add esp, 0x14
mov eax, dword [eax]
mov byte [esp + 0x150], 3
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x58]
push ebx
push 2
lea ecx, [esp + 0x60]
call dword [eax + 0x64]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x150], 2
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esi + 0x63c]
mov eax, dword [esi + 0x634]
mov edx, dword [esi + 0x638]
sub ecx, eax
push 2
push ecx
mov ecx, dword [esi + 0x630]
sub edx, ecx
push edx
mov edx, dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndTopMost]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetWindowPos
cmp dword [esi + 0x628], ebx
je 0x42a5b3
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x40]
push eax
push ecx
call edi
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [esp + 0x4c]
jns 0x42a5b3
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 1
push ebx
lea eax, [edx + eax - 0xa]
push ebx
push eax
jmp 0x42a5a4
mov eax, dword [0x473064]
mov ecx, dword [0x4732c4]
push 0x97
push str.IDS_STRING_MORE_SETTINGS
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.00452420
add esp, 0x14
mov eax, dword [eax]
mov byte [esp + 0x150], 4
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x58]
push ebx
push 2
lea ecx, [esp + 0x60]
call dword [eax + 0x64]
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 2
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xe8]
mov edi, dword [esp + 0xd0]
mov edx, dword [esi + 0x638]
mov eax, dword [esi + 0x638]
sub ecx, edi
push 2
push ecx
mov ecx, dword [esi + 0x630]
sub edx, ecx
push edx
push eax
mov edx, dword [sym.imp.MFC42u.DLL_CWndconstCWnd::wndTopMost]
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetWindowPos
push ebp
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
call sub.MFC42u.DLL_CDC::SetBkMode
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CDC::SetTextColor
pop ebp
mov esi, 0x460000
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 5
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc], 0x45ffec
mov byte [esp + 0x14c], bl
call fcn.00401550
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14c], 6
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x144]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 8