Function at 0x43af10
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push edi
test bl, bl
je 0x43afcf
lea edi, [esi + 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, eax
sub ecx, dword [esi + 0x128]
mov edx, edi
sbb edx, dword [esi + 0x12c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fild qword [esi + 0x118]
mov dword [esi + 0x128], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x264]
fdivp st(1)
mov ecx, esi
mov dword [esi + 0x12c], edi
fstp qword [esi + 0x2040]
fld qword [esi + 0x2078]
fmul qword [esi + 0x2040]
fsub qword [esi + 0x2050]
fst qword [esi + 0x2058]
fld st(0)
fadd qword [esi + 0x2048]
fst qword [esi + 0x2060]
fsub qword [esi + 0x2048]
fsubrp st(1)
fstp qword [esi + 0x2050]
fld qword [esi + 0x2060]
fstp qword [esi + 0x2048]
call edx
fcomp qword [0x48a380]
fnstsw ax
test ah, 1
jne 0x43afcf
fldz
fstp qword [esi + 0x2040]
push 1
push 0
push 0
push 0
lea edi, [esi + 0x140]
push edi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43b05b
jmp 0x43aff0
cmp dword [esi + 0x1f30], 0
je 0x43b037
mov eax, dword [esi + 0x1f2c]
mov ebx, dword [eax]
mov dword [esp + 0xc], eax
cmp ebx, eax
je 0x43b045
lea esp, [esp]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push edi
call edx
test eax, eax
jne 0x43b02d
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ebx, dword [ebx]
cmp ebx, dword [esp + 0xc]
jne 0x43b010
jmp 0x43b045
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x43aff0
mov ebx, dword [ebp + 8]
cmp byte [esi + 0x1bd8], 0
je 0x43b0c5
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0xffff8000
test cx, ax
jne 0x43b07f
mov byte [esi + 0x1bd8], 0
jmp 0x43b0c5
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x1bd4]
mov ecx, dword [esp + 0x10]
sub ecx, dword [esi + 0x1bd0]
mov edx, dword [esi + 0x1ff4]
push 5
push 0
push 0
push eax
push ecx
mov byte [esi + 0x115], 1
mov eax, dword [edx]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [esi + 0x115], 0
push ebx
push esi
call fcn.0043b3b0
cmp byte [esi + 0x1c40], 0
jne 0x43b0df
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
mov ecx, esi
call fcn.0043bd80
cmp byte [esi + 0x114], 0
je 0x43b11d
mov edi, dword [esi + 0x1ff4]
cmp edi, dword [esi + 0x1ff8]
je 0x43b116
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi]
push 5
push ecx
call ebx
add edi, 4
cmp edi, dword [esi + 0x1ff8]
jne 0x43b104
mov byte [esi + 0x114], 0
add dword [esi + 0x1c38], 1
adc dword [esi + 0x1c3c], 0
call fcn.00464f64
mov ebx, eax
sub ebx, dword [esi + 0x2004]
mov eax, dword [esi + 0x1c4c]
mov dword [esp + 0xc], ebx
cmp eax, 2
jne 0x43b299
mov eax, dword [esi + 0x1c48]
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00464f64
cdq
push 0
mov edi, edx
mov edx, dword [0x4ad0b4]
push 0x3e8
mov ebx, eax
mov eax, dword [0x4ad0b0]
push edx
push eax
call fcn.00468a00
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00468a40
sub ebx, eax
mov eax, dword [esi + 0x2004]
sbb edi, edx
cdq
sub ebx, eax
mov eax, dword [esp + 0x10]
sbb edi, edx
mov edx, dword [esp + 0x14]
push edx
push eax
push 0
push 0x7d0
call fcn.00468a40
cmp edi, edx
jl 0x43b1e8
jg 0x43b1bd
cmp ebx, eax
jb 0x43b1e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push edi
push ebx
call fcn.00468a00
push 0
push 0x3e8
push edx
push eax
call fcn.00468a40
add dword [0x4ad0b0], eax
adc dword [0x4ad0b4], edx
call fcn.00464f64
mov ecx, dword [0x4ad0b0]
cdq
mov ebx, eax
mov eax, dword [esi + 0x2004]
mov edi, edx
cdq
push 0
sub ebx, eax
mov eax, dword [0x4ad0b4]
push 0x3e8
push eax
push ecx
sbb edi, edx
call fcn.00468a00
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00468a40
cmp edi, edx
jg 0x43b282
jl 0x43b231
cmp ebx, eax
jae 0x43b282
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00464f64
cdq
mov ebx, eax
mov eax, dword [esi + 0x2004]
mov edi, edx
cdq
sub ebx, eax
mov eax, dword [0x4ad0b0]
push 0
sbb edi, edx
mov edx, dword [0x4ad0b4]
push 0x3e8
push edx
push eax
call fcn.00468a00
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00468a40
cmp edi, edx
jl 0x43b231
jg 0x43b282
cmp ebx, eax
jb 0x43b231
add dword [0x4ad0b0], 1
mov ebx, dword [esp + 0xc]
adc dword [0x4ad0b4], 0
jmp 0x43b345
test eax, eax
jne 0x43b345
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
sub eax, dword [esi + 0x120]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esi + 0x124]
push 0
push 0x3e8
push ecx
push eax
call fcn.00468a00
mov ecx, dword [esi + 0x11c]
push ecx
mov ecx, dword [esi + 0x118]
push ecx
push edx
push eax
call fcn.00468a40
test edx, edx
jg 0x43b345
jl 0x43b2ee
cmp eax, 4
ja 0x43b345
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
sub eax, dword [esi + 0x120]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esi + 0x124]
push 0
push 0x3e8
push ecx
push eax
call fcn.00468a00
mov ecx, dword [esi + 0x11c]
push ecx
mov ecx, dword [esi + 0x118]
push ecx
push edx
push eax
call fcn.00468a40
test edx, edx
jl 0x43b2f4
jg 0x43b345
cmp eax, 4
jbe 0x43b2f4
mov edx, dword [esi + 0x10c]
add edx, 0x3e8
cmp ebx, edx
jl 0x43b3a5
mov edi, dword [esi + 0x1c38]
fld qword [esi + 0x130]
fstp qword [esi + 0x138]
mov eax, edi
sub eax, dword [esi + 0x110]
fldz
cmp byte [esi + 0x1ed0], 0
fstp qword [esi + 0x130]
mov dword [esi + 0x1c44], eax
je 0x43b399
mov ecx, dword [esi + 0x1ed4]
test ecx, ecx
je 0x43b399
cdq
idiv ecx
mov dword [esi + 0x1c44], eax
mov dword [esi + 0x110], edi
mov dword [esi + 0x10c], ebx
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4