Function at 0x424b90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x4a7b74]
cmp dword [eax + 0x178], 0
je 0x424ba1
xor eax, eax
ret
cmp byte [eax + 0x46c], 0
jne 0x424bc0
call fcn.004240d0
mov eax, dword [0x4a7b74]
mov byte [eax + 0x46c], 1
mov eax, dword [0x4a7b74]
test byte [eax + 0x28], 2
push esi
je 0x424c79
cmp dword [eax + 0x4d8], 0
jg 0x424d01
call fcn.00405080
mov edx, dword [0x4a7b74]
mov ecx, eax
sub ecx, dword [edx + 0xc0]
jne 0x424c3b
movzx eax, word [edx + 0x30]
test ax, ax
je 0x424ca4
cmp ax, 1
je 0x424c22
cmp ax, 2
je 0x424c22
cmp ax, 0xfffe
je 0x424c22
cmp ax, 3
je 0x424c22
cmp ax, 0x64
je 0x424c22
cmp ax, 4
jne 0x424ce1
push 0xfffefffd
call fcn.00453d00
mov edx, dword [0x4a7b74]
add esp, 4
movsx eax, word [edx + 0x30]
pop esi
ret
mov dword [edx + 0xc0], eax
mov eax, dword [0x4a7b74]
add ecx, dword [eax + 0x4dc]
mov esi, dword [eax + 0xd0]
mov edx, ecx
sub ecx, esi
cmp ecx, 3
jle 0x424c63
mov ecx, 3
lea edx, [esi + 3]
mov dword [eax + 0x4dc], edx
mov eax, dword [0x4a7b74]
mov dword [eax + 0x4d8], ecx
jmp 0x424cfc
call fcn.00405080
mov edx, dword [0x4a7b74]
cmp eax, dword [edx + 0xc0]
jne 0x424ce7
mov ecx, dword [0x4a7b6c]
cmp dword [ecx + 0x1a8], 0
jne 0x424ce7
movzx eax, word [edx + 0x30]
test ax, ax
jne 0x424caa
movsx eax, word [edx + 0x32]
pop esi
ret
cmp ax, 1
je 0x424cce
cmp ax, 2
je 0x424cce
cmp ax, 0xfffe
je 0x424cce
cmp ax, 3
je 0x424cce
cmp ax, 0x64
je 0x424cce
cmp ax, 4
jne 0x424ce1
push 0xfffefffd
call fcn.00453d00
mov edx, dword [0x4a7b74]
add esp, 4
movsx eax, word [edx + 0x30]
pop esi
ret
mov dword [edx + 0xc0], eax
mov eax, dword [0x4a7b74]
mov dword [eax + 0x4d8], 1
mov eax, dword [0x4a7b74]
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [eax + 0xa0], edx
mov eax, dword [0x4a7b74]
mov dword [eax + 0xa4], ecx
mov eax, dword [0x4a7b74]
mov dword [eax + 0x98], edx
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0x94]
shl eax, 0xa
add eax, edx
mov dword [ecx + 0x9c], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [0x4a7b74]
mov esi, eax
sub esi, dword [edx + 0xd8]
mov ecx, dword [edx + 0xd4]
mov dword [edx + 0xd4], esi
sub esi, ecx
mov ecx, dword [0x4a7b74]
mov dword [ecx + 0xdc], esi
mov eax, dword [0x4a7b74]
add dword [eax + 0x50c], esi
mov eax, dword [0x4a7b74]
inc dword [eax + 0xd0]
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x96c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x481530]
mov eax, dword [ecx + 0xdc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x481530]
mulsd xmm1, xmm0
divsd xmm1, qword [0x481528]
movsd qword [ecx + 0x440], xmm1
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0x1160]
mov dword [ecx + eax*4 + 0x1138], esi
mov eax, dword [0x4a7b74]
inc dword [eax + 0x1160]
mov ecx, dword [0x4a7b74]
cmp dword [ecx + 0x1160], 0xa
jl 0x424e12
mov dword [ecx + 0x1160], 0
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x108], eax
mov eax, dword [0x4a7b74]
movsx ecx, word [eax + 0x434]
dec ecx
je 0x424e3a
dec ecx
jne 0x424e4a
mov ecx, dword [eax + 0x438]
call fcn.00407e30
jmp 0x424e45
mov ecx, dword [eax + 0x438]
call fcn.00407fe0
mov eax, dword [0x4a7b74]
movzx ecx, word [eax + 0x434]
cmp cx, 2
jne 0x424e6d
mov ecx, dword [eax + 0x438]
call fcn.00407de0
mov ecx, dword [0x4a7b74]
mov dword [ecx + 0x2c], eax
jmp 0x424e78
cmp cx, 1
je 0x424e7d
call fcn.00427390
mov eax, dword [0x4a7b74]
cmp byte [eax + 0x27], 0
push ebx
push edi
je 0x424fb9
cmp word [eax + 0x434], 2
jne 0x424ea3
mov ecx, dword [eax + 0x438]
call fcn.004082b0
mov eax, dword [0x4a7b74]
add eax, 0x150
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0x510]
sub dword [ecx + 0x150], eax
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0x514]
sub dword [ecx + 0x154], eax
mov eax, dword [0x4a7b74]
cmp dword [eax + 0x150], 0
jne 0x424eea
cmp dword [eax + 0x154], 0
je 0x424f01
push dword [eax + 0x514]
push dword [eax + 0x510]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [0x4a7b74]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov byte [eax + 0x118], 0
mov ecx, dword [0x4a7b74]
push 1
cmp word [ecx + 0x434], 2
jne 0x424f2d
mov ecx, dword [ecx + 0x438]
call fcn.00407df0
jmp 0x424f2f
call esi
movzx eax, ax
test ax, ax
jns 0x424f43
mov eax, dword [0x4a7b74]
or byte [eax + 0x118], 0x10
mov ecx, dword [0x4a7b74]
push 2
cmp word [ecx + 0x434], 2
jne 0x424f62
mov ecx, dword [ecx + 0x438]
call fcn.00407df0
jmp 0x424f64
call esi
movzx eax, ax
test ax, ax
jns 0x424f78
mov eax, dword [0x4a7b74]
or byte [eax + 0x118], 0x20
mov ecx, dword [0x4a7b74]
xor esi, esi
cmp byte [ecx + 0x26], 0
mov bl, byte [ecx + 0x27]
lea edx, [ecx + 0x2c]
jbe 0x424fc4
lea esp, [esp]
test bl, 1
je 0x424fab
and byte [edx], 0xcf
mov eax, dword [0x4a7b74]
mov al, byte [eax + 0x118]
or byte [edx], al
mov ecx, dword [0x4a7b74]
movzx eax, byte [ecx + 0x26]
inc esi
inc edx
shr bl, 1
cmp esi, eax
jl 0x424f90
jmp 0x424fc4
call fcn.00426310
mov ecx, dword [0x4a7b74]
mov edx, dword [ecx + 0x114]
and edx, dword [ecx + 0x110]
and edx, dword [ecx + 0x2c]
mov dword [ecx + 0x2c], edx
mov eax, dword [0x4a7b74]
xor edx, dword [eax + 0x108]
mov dword [eax + 0x10c], edx
mov ecx, dword [0x4a7b74]
je 0x425093
mov eax, dword [ecx + 0x2c]
and eax, edx
test eax, 0xf0f0f0f0
je 0x425073
xor esi, esi
cmp byte [ecx + 0x26], 0
jbe 0x425093
jmp 0x425010
mov word [ecx + 0xe8], si
mov ecx, dword [0x4a7b74]
mov bl, byte [ecx + esi + 0x10c]
test bl, 0xf0
je 0x425047
movzx eax, bl
push 0xfffcfff9
push 0
mov dword [ecx + 0xec], eax
call fcn.00453dc0
mov ecx, dword [0x4a7b74]
add esp, 8
test bl, 0xf
je 0x425068
movzx eax, bl
push 0xfffcfff9
mov dword [ecx + 0xec], eax
call fcn.00453d00
mov ecx, dword [0x4a7b74]
add esp, 4
movzx eax, byte [ecx + 0x26]
inc esi
cmp esi, eax
jl 0x425010
jmp 0x425093
mov eax, dword [ecx + 0x78]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x425093
mov eax, dword [ecx + 0x7c]
add eax, edx
push 0
push eax
call fcn.00452110
mov ecx, dword [0x4a7b74]
add esp, 8
mov edi, dword [ecx + 0x3c]
test edi, edi
je 0x425104
mov esi, dword [ecx + 0x1278]
xor eax, eax
mov word [ecx + 0x4bc], ax
cmp dword [esi], eax
jne 0x4250b7
lea ecx, [ecx]
add esi, 8
cmp dword [esi], eax
je 0x4250b0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], 0
cmp dword [esi + 4], 0
je 0x4250e0
mov eax, dword [0x4a7b74]
push ecx
mov dword [eax + 0x4b8], esi
mov eax, dword [esi + 4]
call eax
add esp, 4
mov ecx, dword [0x4a7b74]
add esi, 8
movsx eax, word [ecx + 0x4bc]
add edi, eax
xor eax, eax
mov word [ecx + 0x4bc], ax
mov ecx, dword [0x4a7b74]
dec edi
jne 0x4250a0
inc word [ecx + 0x1a4]
call fcn.00452710
call fcn.00453ea0
mov eax, dword [0x4a7b74]
pop edi
mov ecx, dword [eax + 0x84]
pop ebx
test ecx, ecx
je 0x42513c
test byte [eax + 0x28], 0x10
jne 0x42513c
push 0
push ecx
call fcn.00452110
mov eax, dword [0x4a7b74]
add esp, 8
cmp dword [eax + 0x130], 0
je 0x42514a
call fcn.00453e30
call fcn.00426480
call fcn.00424280
mov eax, dword [0x4a7b74]
or ecx, 0xffffffff
mov word [eax + 0x160], cx
mov eax, dword [0x4a7b74]
xor ecx, ecx
mov dword [eax + 0x198], 0
mov eax, dword [0x4a7b74]
inc dword [eax + 0x4e0]
mov eax, dword [0x4a7b74]
mov word [eax + 0x484], cx
mov eax, dword [0x4a7b74]
dec dword [eax + 0x4d8]
mov ecx, dword [0x4a7b74]
cmp dword [ecx + 0x4d8], 0
jle 0x4251ac
cmp word [ecx + 0x30], 0
je 0x4251b7
call fcn.00426690
mov ecx, dword [0x4a7b74]
movzx eax, word [ecx + 0x30]
test ax, ax
jne 0x4251c6
movsx eax, word [ecx + 0x32]
pop esi
ret
cmp ax, 1
je 0x4251ea
cmp ax, 2
je 0x4251ea
cmp ax, 0xfffe
je 0x4251ea
cmp ax, 3
je 0x4251ea
cmp ax, 0x64
je 0x4251ea
cmp ax, 4
jne 0x4251fd
push 0xfffefffd
call fcn.00453d00
mov ecx, dword [0x4a7b74]
add esp, 4
movsx eax, word [ecx + 0x30]
pop esi
ret