Function at 0x49fba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4efee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x50]
call fcn.004e2538
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x70], 0
call dword [eax + 0xe4]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x3c]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], edx
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x38], eax
neg ecx
neg edx
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
fild dword [esp + 0x2c]
fild dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
test eax, eax
fstp qword [esp + 0xc]
fild dword [esp + 0x34]
fstp qword [esp + 0x14]
fild dword [esp + 0x38]
fstp qword [esp + 0x1c]
je 0x49fca8
fmul qword [0x4faab8]
fstp qword [esp + 0x24]
fld qword [esp + 0xc]
fmul qword [0x4faab8]
fstp qword [esp + 0xc]
fld qword [esp + 0x14]
fmul qword [0x4faab8]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [0x4faab8]
jmp 0x49fcd8
fmul qword [0x4faab0]
fstp qword [esp + 0x24]
fld qword [esp + 0xc]
fmul qword [0x4faab0]
fstp qword [esp + 0xc]
fld qword [esp + 0x14]
fmul qword [0x4faab0]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [0x4faab0]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
fstp qword [esp + 0x1c]
push ecx
push edx
call fcn.00434930
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.00434930
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.00434930
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x54], eax
call fcn.00434930
add esp, 0x20
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x38], eax
push edi
lea eax, [esp + 0x30]
push ebx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x49fdcd
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
call fcn.004e1520
test eax, eax
je 0x49fdcd
xor ecx, ecx
xor eax, eax
push ecx
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004e1cc0
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
mov edx, dword [eax]
push edx
push 1
call fcn.004a2a30
xor ecx, ecx
xor eax, eax
push ecx
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004e1cc0
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
mov edx, dword [eax]
push edx
push 2
call fcn.004a2a30
push edi
lea eax, [esp + 0x20]
push ebx
push eax
mov ecx, esi
call fcn.004e1cc0
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
mov edx, dword [eax]
push edx
push 3
call fcn.004a2a30
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc