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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497b28
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x4b900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
cmp dword [edi + 0x17c], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], ecx
jne 0x43ba82
cmp dword [edi + 0x11c], 0
jne case.default.0x43bbc1
cmp dword [edi + 0x130], 0
je case.default.0x43bbc1
cmp dword [edi + 0x124], 0
je 0x43baa2
mov ecx, edi
mov dword [edi + 0x124], 0
call fcn.0043b660
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x74]
mov edx, dword [edi + 0x30c]
test edx, edx
je 0x43babb
push ecx
push eax
mov ecx, edi
call fcn.0043c380
mov edx, dword [edi + 0x30c]
movups xmm0, xmmword [edi + 0x64]
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
sub esi, dword [edi + 0x64]
sub eax, dword [edi + 0x68]
test edx, edx
movups xmmword [ebp - 0x88], xmm0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x6c], esi
je 0x43bae1
add edx, eax
cmp dword [edi + 0x11c], 0
mov dword [ebp - 0x5c], edx
je 0x43baf1
xor eax, eax
jmp 0x43baf7
mov eax, dword [edi + 0x130]
dec eax
cmp eax, 3
ja case.default.0x43bbc1
jmp dword [eax*4 + 0x43bf74]
imul eax, dword [edi + 0xb8], 0xff
lea ecx, [edi + 0xb0]
mov dword [ebp - 0x68], ecx
cdq
idiv dword [ecx]
cmp dword [edi + 0x9c], 0
mov dl, al
mov byte [ebp - 0x78], dl
je 0x43bba5
mov ecx, dword [edi + 0x178]
mov byte [ebp - 0x5d], dl
cmp ecx, 3
jl 0x43bb48
cmp ecx, 4
jle 0x43bb44
cmp ecx, 6
jne 0x43bb48
mov byte [ebp - 0x5d], 0xff
mov eax, dword [ebp - 0x64]
mov ecx, dword [edi + 0xd4]
sub ecx, dword [edi + 0xb8]
mov edx, dword [eax + 0x18]
mov al, 0xa5
sub edx, dword [ebp - 0x5c]
cmp al, byte [ebp - 0x5d]
sbb eax, eax
neg eax
push eax
push dword [ebp - 0x78]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
inc eax
push eax
push ecx
mov ecx, dword [edi + 0xb8]
lea eax, [edi + 0xec]
push eax
mov eax, dword [edi + 0xa0]
cmp ecx, edx
cmovge ecx, edx
dec eax
add eax, ecx
push eax
push ecx
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
push dword [ebp - 0x88]
call fcn.00428b20
mov ecx, dword [ebp - 0x68]
mov eax, dword [edi + 0x178]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
movq qword [ebp - 0x28], xmm0
cmp eax, 7
ja case.default.0x43bbc1
jmp dword [eax*4 + 0x43bf84]
cmp eax, 5
jne 0x43bbd6
mov dword [ebp - 0x68], 0
jmp 0x43bbe1
mov eax, dword [ecx]
sub eax, dword [edi + 0xb8]
mov dword [ebp - 0x68], eax
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x20]
push eax
call edi
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x70]
sub edx, dword [ebp - 0x5c]
mov ecx, dword [eax + 0xb8]
cmp ecx, edx
mov esi, dword [eax + 0xd0]
mov al, byte [ebp - 0x78]
cmovge ecx, edx
movzx eax, al
push eax
mov eax, dword [ebp - 0x6c]
cmp eax, esi
push 0
push dword [ebp - 0x5c]
cmovge eax, esi
push dword [ebp - 0x88]
push ecx
push eax
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x64]
add eax, 0xbc
push 0
push eax
call fcn.00427e70
lea eax, [ebp - 0x28]
push eax
call edi
jmp case.default.0x43bbc1
push 0x30
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00480150
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00427510
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push eax
call edi
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x58]
push dword [eax + 0xb8]
push esi
call fcn.00427640
lea ecx, [ebp - 0x58]
call fcn.00427900
mov esi, eax
push 4
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
push 0xcc0020
push dword [eax]
lea ecx, [ecx + 0xbc]
push dword [ebp - 0x6c]
push 0
push 0
call fcn.00427900
push eax
mov eax, dword [ebp - 0x70]
push dword [eax + 0xb8]
push dword [ebp - 0x6c]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov dword [ebp - 0x38], 0
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0xb8]
mov esi, dword [eax + 0xd0]
mov al, byte [ebp - 0x78]
mov ecx, dword [ecx + 0x18]
sub ecx, dword [ebp - 0x5c]
movzx eax, al
cmp edx, ecx
push eax
mov eax, dword [ebp - 0x6c]
cmovge edx, ecx
mov ecx, dword [ebp - 0x64]
cmp eax, esi
push 0
push dword [ebp - 0x5c]
cmovge eax, esi
push dword [ebp - 0x88]
push edx
push eax
push 0
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00427e70
lea eax, [ebp - 0x28]
push eax
call edi
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x43bd47
push dword [eax]
call esi
push dword [ebp - 0x34]
call esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43bd57
push dword [eax]
call esi
push dword [ebp - 0x30]
call esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.00427870
jmp case.default.0x43bbc1
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x20]
push eax
call esi
push 4
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [ebp - 0x68]
lea ecx, [edi + 0xbc]
push 0xcc0020
push dword [eax]
push dword [ebp - 0x6c]
push 0
push 0
call fcn.00427900
push eax
push dword [edi + 0xb8]
push dword [ebp - 0x6c]
push dword [ebp - 0x5c]
push dword [ebp - 0x88]
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [ebp - 0x28]
push eax
call esi
jmp 0x43bf38
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x20]
push eax
call edi
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x70]
sub edx, dword [ebp - 0x5c]
mov ecx, dword [eax + 0xb8]
cmp ecx, edx
mov esi, dword [eax + 0xd0]
mov al, byte [ebp - 0x78]
cmovge ecx, edx
movzx eax, al
push eax
mov eax, dword [ebp - 0x6c]
cmp eax, esi
push 0
push dword [ebp - 0x5c]
cmovge eax, esi
push dword [ebp - 0x88]
push ecx
push eax
push 0
jmp 0x43bc29
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x20]
push eax
call esi
push 0xcc0020
push 0
push 0
lea ecx, [edi + 0xbc]
call fcn.00427900
push eax
mov eax, dword [ebp - 0x68]
push dword [eax]
push dword [ebp - 0x6c]
push dword [ebp - 0x5c]
push dword [ebp - 0x88]
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x28]
push eax
call esi
jmp 0x43bf38
cmp eax, 6
jne 0x43be6c
mov dword [ebp - 0x68], 0
jmp 0x43be77
mov eax, dword [ecx]
sub eax, dword [edi + 0xb8]
mov dword [ebp - 0x68], eax
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x20]
push eax
call esi
push 0xcc0020
push dword [ebp - 0x68]
lea ecx, [edi + 0xbc]
push 0
call fcn.00427900
push eax
push dword [edi + 0xb8]
jmp 0x43be3e
cmp dword [edi + 0x9c], 0
je 0x43bee0
mov ecx, dword [edi + 0xd4]
mov eax, 0
sub ecx, dword [edi + 0xb0]
push 1
push 0xff
cmovns eax, ecx
push eax
push ecx
lea eax, [edi + 0xec]
push eax
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp - 0x64]
push edx
push dword [ebp - 0x88]
call fcn.00428b20
push 0xcc0020
push 0
push 0
lea ecx, [edi + 0xbc]
call fcn.00427900
push eax
push dword [edi + 0xb0]
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x88]
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 0x188]
mov ecx, dword [ebp - 0x64]
push 0xff
push 1
push eax
push eax
mov eax, dword [edi + 0xb0]
add eax, dword [ebp - 0x5c]
push 0
push esi
push eax
push dword [ebp - 0x88]
call fcn.00428eb0
cmp dword [edi + 0xdc], 0
je 0x43bf4b
mov dword [edi + 0xdc], 0
call dword [sym.imp.GDI32.dll_GdiFlush]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e577
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8