Function at 0x4595a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6c08
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], vtable.URect.0
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [esp + 0x98], 0
sub dword [esp + 0x2c], 2
sub dword [esp + 0x30], 2
add dword [esp + 0x34], 2
add dword [esp + 0x38], 2
push ecx
mov ecx, esi
call fcn.0045a1d0
mov edi, dword [esi + 0x80]
mov dword [esp + 0x18], eax
mov byte [esi + 0x84], 1
test edi, edi
je 0x459658
mov ecx, edi
call fcn.00477c90
push edi
call fcn.00494c0b
add esp, 4
push 0x28
call fcn.004952af
add esp, 4
test eax, eax
je 0x45968a
push ecx
xorps xmm0, xmm0
lea ecx, [esp + 0x2c]
push ecx
push dword [esp + 0x1c]
movdqu xmmword [eax], xmm0
mov ecx, eax
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00477be0
jmp 0x45968c
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esi + 0x80], eax
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
push ecx
movq qword [esp + 0x24], xmm0
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
push 4
push eax
mov byte [esp + 0xa0], 1
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
mov ecx, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, esi
push eax
call fcn.00458f90
mov byte [esp + 0x98], 2
mov eax, dword [esp + 0x40]
test eax, eax
je 0x459755
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
sub eax, edi
mov ecx, dword [esp + 0x30]
cdq
mov esi, eax
mov eax, dword [esp + 0x38]
xor esi, edx
sub eax, ecx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
push eax
push esi
mov esi, dword [esp + 0x24]
push ecx
push edi
push esi
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [esp + 0x24]
test eax, eax
push esi
cmovne ecx, eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
movdqu xmm0, xmmword [esp + 0x2c]
push edx
movdqu xmmword [ecx + 0x140], xmm0
mov eax, dword [ecx]
call dword [eax + 0xa4]
push dword [esp + 0x20]
mov dword [esp + 0x40], vtable.UColor.0
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esi + 0x80]
push 0xcc0020
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x20]
mov edi, dword [ecx + 0x14]
sub eax, esi
push esi
cdq
push edi
push dword [ecx]
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ecx + 0x1c]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
push eax
push esi
push edi
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x54]
mov byte [esi + 0x84], 0
call dword [sym.imp.USER32.dll_EndPaint]
mov byte [esi + 0x85], 1
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret