Function at 0x42c300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x60]
xor edx, edx
test eax, eax
sete dl
xor ebx, ebx
cmp eax, 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 1
mov ebp, edx
sete bl
call fcn.004d5be0
mov ecx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.0042bfe0
fld qword [esp + 0x30]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0xc]
fadd st(0), st(0)
sub esp, 8
mov dword [esp + 0x2c], edx
fstp qword [esp]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x24]
push ecx
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0x20
lea ecx, [esp + 0x10]
lea edx, [esp + 0x60]
push ecx
push 0x52aa7c
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.004f6400
lea ecx, [esp + 0x60]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
lea ecx, [esp + 0x60]
push eax
push 0x52aa78
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 3
call fcn.004f6400
lea ecx, [esp + 0x60]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx - 8]
imul ecx, eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov eax, dword [esi + 0x14]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
push 0
push eax
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push 2
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
imul eax, ebx
imul ecx, ebp
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov esi, dword [esi + 0x1c]
imul eax, ebx
mov ebx, dword [esp + 0x58]
imul ecx, ebp
mov edx, dword [esp + 0x54]
push 0
push esi
mov esi, dword [esp + 0x1c]
push esi
lea esi, [esp + 0x24]
add eax, ebx
push esi
add ecx, edx
mov edx, dword [edi]
push 2
push eax
push ecx
mov ecx, edi
call dword [edx + 0x68]
mov ecx, dword [esp + 0x50]
mov eax, dword [edi + 4]
push eax
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x14