Function at 0x431360
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e548
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x78]
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x78], vtable.cafx::dxui::DxGraphics.0
movdqu xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x54], 0
call fcn.004cb410
test eax, eax
jne 0x4313fd
push eax
push eax
call fcn.00502beb
mov dword [ebp - 4], 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
call fcn.005391bf
mulsd xmm0, qword [0x5870e8]
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push eax
movsd qword [ebp - 0x50], xmm0
call esi
lea eax, [ebp - 0x38]
push eax
call esi
movsd xmm0, qword [0x587148]
divsd xmm0, qword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x34]
sbb edx, dword [ebp - 0x44]
movsd qword [ebp - 0x50], xmm0
call fcn.005391bf
mulsd xmm0, qword [ebp - 0x50]
mov ecx, 0xff
mulsd xmm0, qword [0x587140]
addsd xmm0, qword [0x587120]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, dword [sym.imp.gdiplus.dll_GdipGraphicsClear]
mov dword [ebp - 0x30], ecx
test ecx, ecx
jle 0x43159a
mov esi, dword [ebp - 0x74]
push 0
push dword [esi]
call eax
test eax, eax
je 0x4314a4
mov dword [esi + 4], eax
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push 0
push 0
push dword [eax + 8]
call fcn.004cb6c0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
push 0
mov word [ebp - 0x24], 0
mov byte [ebp - 0x21], 1
mov edi, dword [eax + 0xd8]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov al, byte [edi + 0x3c]
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x34]
sbb edx, dword [ebp - 0x44]
call fcn.005391bf
mulsd xmm0, qword [ebp - 0x50]
mov ecx, 0xff
mov edi, dword [ebp - 0x40]
mulsd xmm0, qword [0x587140]
addsd xmm0, qword [0x587120]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, dword [sym.imp.gdiplus.dll_GdipGraphicsClear]
mov dword [ebp - 0x30], ecx
test ecx, ecx
jg 0x431494
mov esi, dword [ebp - 0x74]
push 0
push dword [esi]
call eax
test eax, eax
je 0x4315aa
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push 0
push 0
push 0
push dword [eax + 8]
call fcn.004cb6c0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
push dword [ebp - 0x6c]
push dword [ebp - 0x3c]
mov ecx, dword [eax + 0xd8]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004d55a0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.cafx::dxui::DxGraphics.0
call fcn.004cb190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 8