Function at 0x43a7a0
Capabilities:
Check for time delay via queryperformancecounter
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482306
push eax
mov dword fs:[0], esp
sub esp, 0xb4
xor eax, eax
push ebx
mov dword [edi + 0x10c], eax
mov dword [edi + 0x110], eax
push esi
lea eax, [edi + 0x118]
push eax
mov byte [edi + 0x114], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [edi + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [edi + 0x1f24], 0
jne 0x43a81a
mov eax, dword [edi + 0x1ff4]
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [edi + 0x1c40], 0
fild dword [esp + 0x28]
fstp dword [esp + 0x24]
fild dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fstp dword [edi + 0x1ee0]
fld dword [esp + 0x20]
fstp dword [edi + 0x1ee4]
je 0x43ae16
jmp 0x43a850
cmp byte [edi + 0x1ed0], 0
je 0x43ade1
lea ebx, [edi + 0x1684]
mov eax, ebx
call fcn.00450df0
mov ecx, dword [edi + 0x1ed8]
mov edx, ebx
call fcn.004545a0
push 0x4ab2f4
mov ecx, ebx
call fcn.004541b0
fild dword [edi + 0x1ed4]
fld1
lea esi, [edi + 0x120]
fdivrp st(1)
push esi
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fst dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x1c]
fst dword [esp + 0x20]
fstp dword [esp + 0x10]
fstp dword [esp + 0x7c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x80]
fld dword [esp + 0x20]
fstp dword [esp + 0x84]
fld dword [esp + 0x10]
fstp dword [esp + 0x88]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, eax
sub ecx, dword [edi + 0x128]
mov edx, esi
sbb edx, dword [edi + 0x12c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
fild qword [esp + 0x60]
mov dword [edi + 0x128], eax
fild qword [edi + 0x118]
lea eax, [esp + 0x28]
push eax
mov dword [edi + 0x12c], esi
fdivp st(1)
fstp qword [edi + 0x2040]
fild dword [edi + 0x1ed4]
fdivr qword [edi + 0x2040]
fstp qword [edi + 0x2040]
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [edi + 0x1f24], 0
jne 0x43a950
mov eax, dword [edi + 0x1ff4]
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0x1ed4], 0
fld dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fstp dword [esp + 0x18]
fild dword [esp + 0x28]
fstp dword [esp + 0x24]
fild dword [esp + 0x2c]
fstp dword [esp + 0x20]
jle 0x43abd6
fld dword [esp + 0x24]
mov dword [esp + 0xc], 1
fsub dword [esp + 0x1c]
fstp qword [esp + 0xb0]
fld dword [esp + 0x20]
fsub dword [esp + 0x18]
fstp qword [esp + 0xa8]
fld qword [edi + 0x2040]
mov ecx, dword [edi + 0x1b80]
fmul qword [edi + 0x2078]
mov edx, ebx
mov dword [edi + 0x1edc], 0
fsub qword [edi + 0x2050]
fst qword [edi + 0x2058]
fld st(0)
fadd qword [edi + 0x2048]
fst qword [edi + 0x2060]
fsub qword [edi + 0x2048]
fsubrp st(1)
fstp qword [edi + 0x2050]
fld qword [edi + 0x2060]
fstp qword [edi + 0x2048]
fild dword [esp + 0xc]
fstp dword [esp + 0x14]
fild dword [edi + 0x1ed4]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fld qword [esp + 0xb0]
fmul st(1)
fld dword [esp + 0x10]
fld st(0)
fdivp st(2)
fld dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fstp dword [edi + 0x1ee0]
fxch st(1)
fmul qword [esp + 0xa8]
fdivrp st(1)
fadd dword [esp + 0x18]
fstp dword [edi + 0x1ee4]
call fcn.004545a0
push 0
mov esi, edi
call fcn.0043af10
test al, al
jne 0x43ae3c
mov eax, 2
cmp dword [ebx + 0x204], eax
jne 0x43aa75
mov dword [ebx + 0x224], 0
and dword [ebx + 0x1fc], 0xfffffffd
jmp 0x43aa81
mov dword [ebx + 0x224], eax
or dword [ebx + 0x1fc], eax
cmp dword [ebx + 0x208], eax
jne 0x43aa9c
mov dword [ebx + 0x228], 0
and dword [ebx + 0x1fc], 0xfffffffb
jmp 0x43aaa9
mov dword [ebx + 0x228], eax
or dword [ebx + 0x1fc], 4
cmp dword [edi + 0x1ed8], 0xffffffff
jne 0x43aab8
push edi
call fcn.00426e40
mov ecx, dword [edi + 0x1ed8]
mov edx, ebx
call fcn.004545a0
mov ecx, dword [edi + 0x1b80]
mov edx, ebx
call fcn.00454480
fild dword [edi + 0x1c1c]
cmp dword [ebx + 0x460], 0
fstp dword [esp + 0x10]
fild dword [edi + 0x1c20]
fstp dword [esp + 0x14]
je 0x43ae45
mov eax, dword [ebx + 0x460]
fld dword [eax + 0x10]
mov ecx, dword [0x4ab32c]
fld dword [esp + 0x10]
xor edx, edx
fld st(0)
lea esi, [esp + 0x78]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [eax + 0x14]
mov eax, dword [0x4ab330]
fld dword [esp + 0x14]
push eax
fld st(0)
push ecx
faddp st(2)
push ecx
fxch st(1)
lea ecx, [esp + 0x94]
fstp dword [esp + 0x20]
fxch st(1)
fstp dword [esp + 0x94]
fstp dword [esp + 0x98]
fld dword [esp + 0x1c]
fstp dword [esp + 0x9c]
fld dword [esp + 0x20]
fstp dword [esp + 0xa0]
fldz
fstp dword [esp]
push ebx
call fcn.00455370
mov eax, 2
cmp dword [ebx + 0x204], eax
jne 0x43ab87
mov dword [ebx + 0x224], 0
and dword [ebx + 0x1fc], 0xfffffffd
jmp 0x43ab93
mov dword [ebx + 0x224], eax
or dword [ebx + 0x1fc], eax
mov eax, 6
cmp dword [ebx + 0x208], eax
jne 0x43abb3
mov dword [ebx + 0x228], 0
and dword [ebx + 0x1fc], 0xfffffffb
jmp 0x43abc0
mov dword [ebx + 0x228], eax
or dword [ebx + 0x1fc], 4
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
dec eax
cmp eax, dword [edi + 0x1ed4]
jl 0x43a9a3
cmp byte [edi + 0x1c40], 0
je 0x43ae16
mov eax, dword [edi + 0x1ac8]
test eax, eax
jne 0x43ac51
xor ecx, ecx
mov edx, ebx
call fcn.004545a0
mov ecx, dword [edi + 0x1ed8]
mov edx, ebx
call fcn.00454480
fild dword [edi + 0x1c1c]
mov edx, dword [0x4ab2f0]
mov eax, dword [0x4ab2ec]
fstp dword [esp + 0x10]
push edx
fild dword [edi + 0x1c20]
push eax
push 0
push ecx
fstp dword [esp + 0x24]
mov esi, 0x4a79e8
fld dword [esp + 0x20]
lea eax, [esp + 0x60]
fstp dword [esp + 0x60]
mov edx, ebx
fld dword [esp + 0x24]
fstp dword [esp + 0x64]
fldz
fstp dword [esp]
call fcn.004552f0
jmp 0x43ad1f
cmp eax, 1
jne 0x43ad1f
mov eax, dword [edi + 0x1fd0]
mov dword [esp + 0xc], eax
cmp eax, dword [edi + 0x1fd4]
je 0x43ad1f
jmp 0x43ac76
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, ebx
call fcn.00456100
xor ecx, ecx
mov edx, ebx
call fcn.004545a0
mov ecx, dword [edi + 0x1ed8]
mov edx, ebx
call fcn.00454480
cmp dword [ebx + 0x460], 0
je 0x43ae68
mov eax, dword [ebx + 0x460]
fld dword [eax + 0x10]
mov edx, dword [0x4ab330]
fldz
push edx
fadd st(1), st(0)
xor edx, edx
fxch st(1)
mov esi, 0x4a79e8
fstp dword [esp + 0x14]
fadd dword [eax + 0x14]
mov eax, dword [0x4ab32c]
push eax
push ecx
fstp dword [esp + 0x20]
lea ecx, [esp + 0xa4]
fldz
fst dword [esp + 0xa4]
fst dword [esp + 0xa8]
fld dword [esp + 0x1c]
fstp dword [esp + 0xac]
fld dword [esp + 0x20]
fstp dword [esp + 0xb0]
fstp dword [esp]
push ebx
call fcn.00455370
mov eax, dword [esp + 0xc]
add eax, 4
mov dword [esp + 0xc], eax
cmp eax, dword [edi + 0x1fd4]
jne 0x43ac72
mov eax, ebx
call fcn.00453e80
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push eax
call edx
dec dword [ebx + 0x468]
mov esi, eax
mov dword [ebx + 0x4b4], esi
test esi, esi
jl 0x43aeba
mov eax, dword [edi + 0x1868]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x70]
push ecx
mov dword [edi + 0x1c58], eax
call esi
mov eax, ebx
call fcn.00453e80
mov eax, dword [ebx + 8]
mov edx, dword [eax]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [edx + 0x44]
call eax
lea ecx, [esp + 0x58]
push ecx
mov dword [ebx + 0x4b4], eax
mov byte [ebx + 0x465], 0
call esi
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x70]
mov eax, dword [esp + 0x5c]
sbb eax, dword [esp + 0x74]
cmp byte [edi + 0x1ed1], 0
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
fild qword [esp + 0x68]
mov byte [edi + 0x1ed2], 0
fild qword [edi + 0x118]
fdivp st(1)
fadd qword [edi + 0x130]
fstp qword [edi + 0x130]
je 0x43ae09
mov byte [edi + 0x1ed1], 0
mov byte [edi + 0x1ed0], 0
jmp 0x43ae09
push 1
mov esi, edi
call fcn.0043af10
test al, al
jne 0x43ae16
mov byte [edi + 0x1ed1], al
cmp byte [edi + 0x1ed2], al
je 0x43ae09
mov byte [edi + 0x1ed2], al
mov byte [edi + 0x1ed0], 1
cmp byte [edi + 0x1c40], 0
jne 0x43a850
mov edx, dword [edi]
mov eax, dword [edx + 0x98]
push 0
push 4
push 0xffffffffffffffff
mov ecx, edi
call eax
mov ecx, dword [esp + 0xbc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x1c40], 0
jmp 0x43ae16
push 0x80004005
lea ecx, [esp + 0x34]
push ecx
mov edx, str.Cant_draw_a_quad_using_this_overload_with_no_texture_set
call fcn.0044e1c0
push 0x49ab24
lea edx, [esp + 0x34]
push edx
call fcn.00466bcb
push 0x39
push str.Cant_draw_a_quad_using_this_overload_with_no_texture_set
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00415040
mov dword [esp + 0xc4], 0
mov dword [esp + 0x4c], 0x80004005
mov dword [esp + 0xc4], 0xffffffff
push 0x49ab24
lea eax, [esp + 0x34]
push eax
call fcn.00466bcb
push 0x13
push str.Could_not_end_scene
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00415040
mov dword [esp + 0xc4], 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0xc4], 0xffffffff
push 0x49ab24
lea ecx, [esp + 0x34]
push ecx
call fcn.00466bcb
int3