Function at 0x42a9b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x4b39d4]
push ebx
cmp dword [eax + 0x178], 0
push esi
push edi
je 0x42aa1d
cmp dword [eax + 0x408], 0xffffffff
jne 0x42a9e8
cmp byte [eax + 0x4f3], 0
jne 0x42a9ee
call fcn.0042d2b0
test al, al
jne 0x42a9e8
mov eax, dword [0x4b39d4]
mov byte [eax + 0x4f3], 1
xor eax, eax
pop edi
pop esi
pop ebx
ret
call fcn.0042d2b0
test al, al
je 0x42a9e8
call fcn.0042b550
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0xd0]
mov dword [ecx + 0x410], eax
mov ecx, 0xfff8fffd
call fcn.004596a0
mov eax, dword [0x4b39d4]
cmp byte [eax + 0x46c], 0
jne 0x42aa3c
call fcn.0042b230
mov eax, dword [0x4b39d4]
mov byte [eax + 0x46c], 1
mov eax, dword [0x4b39d4]
test byte [eax + 0x28], 2
je 0x42aaf3
cmp dword [eax + 0x4d8], 0
jg 0x42ab7c
call fcn.00405fb0
mov edx, dword [0x4b39d4]
mov ecx, eax
sub ecx, dword [edx + 0xc0]
jne 0x42aab5
movzx eax, word [edx + 0x30]
test ax, ax
jne 0x42aa79
movsx eax, word [edx + 0x32]
pop edi
pop esi
pop ebx
ret
cmp ax, 1
je 0x42aa9d
cmp ax, 2
je 0x42aa9d
cmp ax, 0xfffe
je 0x42aa9d
cmp ax, 3
je 0x42aa9d
cmp ax, 0x64
je 0x42aa9d
cmp ax, 4
jne 0x42aaad
mov ecx, 0xfffefffd
call fcn.004596a0
mov edx, dword [0x4b39d4]
movsx eax, word [edx + 0x30]
pop edi
pop esi
pop ebx
ret
mov dword [edx + 0xc0], eax
mov eax, dword [0x4b39d4]
add ecx, dword [eax + 0x4dc]
mov esi, dword [eax + 0xd0]
mov edx, ecx
sub ecx, esi
cmp ecx, 3
jle 0x42aadd
mov ecx, 3
lea edx, [esi + 3]
mov dword [eax + 0x4dc], edx
mov eax, dword [0x4b39d4]
mov dword [eax + 0x4d8], ecx
jmp 0x42ab77
call fcn.00405fb0
mov edx, dword [0x4b39d4]
cmp eax, dword [edx + 0xc0]
jne 0x42ab62
mov ecx, dword [0x4b39cc]
cmp dword [ecx + 0x1a8], 0
jne 0x42ab62
movzx eax, word [edx + 0x30]
test ax, ax
je 0x42aa71
cmp ax, 1
je 0x42ab4a
cmp ax, 2
je 0x42ab4a
cmp ax, 0xfffe
je 0x42ab4a
cmp ax, 3
je 0x42ab4a
cmp ax, 0x64
je 0x42ab4a
cmp ax, 4
jne 0x42aaad
mov ecx, 0xfffefffd
call fcn.004596a0
mov edx, dword [0x4b39d4]
movsx eax, word [edx + 0x30]
pop edi
pop esi
pop ebx
ret
mov dword [edx + 0xc0], eax
mov eax, dword [0x4b39d4]
mov dword [eax + 0x4d8], 1
mov eax, dword [0x4b39d4]
mov ecx, dword [eax + 0xa0]
mov edx, dword [eax + 0xa4]
mov dword [eax + 0xa0], edx
mov eax, dword [0x4b39d4]
mov dword [eax + 0xa4], ecx
mov eax, dword [0x4b39d4]
mov dword [eax + 0x98], edx
mov ecx, dword [0x4b39d4]
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 [0x4b39d4]
mov esi, eax
sub esi, dword [edx + 0xd8]
mov ecx, dword [edx + 0xd4]
mov dword [edx + 0xd4], esi
sub esi, ecx
mov ecx, dword [0x4b39d4]
mov dword [ecx + 0xdc], esi
mov eax, dword [0x4b39d4]
add dword [eax + 0x50c], esi
mov eax, dword [0x4b39d4]
inc dword [eax + 0xd0]
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x96c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x492240]
mov eax, dword [ecx + 0xdc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x492240]
mulsd xmm1, xmm0
divsd xmm1, qword [0x4921f8]
movsd qword [ecx + 0x440], xmm1
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0x1160]
mov dword [ecx + eax*4 + 0x1138], esi
mov eax, dword [0x4b39d4]
inc dword [eax + 0x1160]
mov ecx, dword [0x4b39d4]
cmp dword [ecx + 0x1160], 0xa
jl 0x42ac8d
mov dword [ecx + 0x1160], 0
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x108], eax
mov ecx, dword [0x4b39d4]
movsx eax, word [ecx + 0x434]
dec eax
je 0x42acb6
dec eax
jne 0x42acc7
mov ecx, dword [ecx + 0x438]
call fcn.00408b60
jmp 0x42acc1
mov ecx, dword [ecx + 0x438]
call fcn.00408820
mov ecx, dword [0x4b39d4]
movzx eax, word [ecx + 0x434]
cmp ax, 2
jne 0x42ace5
mov eax, dword [ecx + 0x438]
mov eax, dword [eax + 0x210]
mov dword [ecx + 0x2c], eax
jmp 0x42acf0
cmp ax, 1
je 0x42acf6
call fcn.0042d150
mov ecx, dword [0x4b39d4]
cmp byte [ecx + 0x27], 0
je 0x42ae39
cmp word [ecx + 0x434], 2
jne 0x42ad1b
mov ecx, dword [ecx + 0x438]
call fcn.00408c90
mov ecx, dword [0x4b39d4]
lea eax, [ecx + 0x150]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0x510]
sub dword [ecx + 0x150], eax
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0x514]
sub dword [ecx + 0x154], eax
mov eax, dword [0x4b39d4]
cmp dword [eax + 0x150], 0
jne 0x42ad63
cmp dword [eax + 0x154], 0
je 0x42ad7a
push dword [eax + 0x514]
push dword [eax + 0x510]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [0x4b39d4]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov byte [eax + 0x118], 0
mov ecx, dword [0x4b39d4]
cmp word [ecx + 0x434], 2
jne 0x42ada5
mov eax, dword [ecx + 0x438]
cmp byte [eax + 5], 0
jne 0x42adb7
jmp 0x42adc4
push 1
call esi
mov ecx, dword [0x4b39d4]
movzx eax, ax
test ax, ax
jns 0x42adc4
or byte [ecx + 0x118], 0x10
mov ecx, dword [0x4b39d4]
cmp word [ecx + 0x434], 2
jne 0x42addc
mov eax, dword [ecx + 0x438]
cmp byte [eax + 6], 0
jne 0x42adee
jmp 0x42adfb
push 2
call esi
mov ecx, dword [0x4b39d4]
movzx eax, ax
test ax, ax
jns 0x42adfb
or byte [ecx + 0x118], 0x20
mov ecx, dword [0x4b39d4]
mov bl, byte [ecx + 0x27]
xor esi, esi
cmp byte [ecx + 0x26], 0
lea edx, [ecx + 0x2c]
jbe 0x42ae44
lea esp, [esp]
test bl, 1
je 0x42ae2b
and byte [edx], 0xcf
mov eax, dword [0x4b39d4]
mov al, byte [eax + 0x118]
or byte [edx], al
mov ecx, dword [0x4b39d4]
movzx eax, byte [ecx + 0x26]
inc esi
inc edx
shr bl, 1
cmp esi, eax
jl 0x42ae10
jmp 0x42ae44
call fcn.0042b0d0
mov ecx, dword [0x4b39d4]
mov edx, dword [ecx + 0x114]
and edx, dword [ecx + 0x110]
mov ebx, 0xffffffff
and edx, dword [ecx + 0x2c]
mov dword [ecx + 0x2c], edx
mov eax, dword [0x4b39d4]
xor edx, dword [eax + 0x108]
mov dword [eax + 0x10c], edx
mov ecx, dword [0x4b39d4]
je 0x42af57
mov eax, dword [ecx + 0x2c]
and eax, edx
test eax, 0xf0f0f0f0
je 0x42af3b
xor esi, esi
cmp byte [ecx + 0x26], 0
jbe 0x42af57
jmp 0x42aea0
mov word [ecx + 0xe8], si
mov ecx, dword [0x4b39d4]
mov al, byte [ecx + esi + 0x10c]
test al, 0xf0
je 0x42aefa
movzx eax, al
mov dword [ecx + 0xec], eax
mov eax, dword [0x4b39d4]
mov dword [eax + 0xe4], 0xfffcfff9
mov eax, dword [0x4b39d4]
mov word [eax + 0xf4], bx
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0x78]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x42af2c
mov eax, dword [ecx + 0x7c]
add eax, edx
cmp dword [eax], 0xffffffff
je 0x42af2c
mov ecx, eax
jmp 0x42af1c
test al, 0xf
je 0x42af2c
movzx eax, al
mov dword [ecx + 0xec], eax
mov ecx, dword [0x4b39d4]
mov eax, dword [ecx + 0x78]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x42af2c
mov ecx, dword [ecx + 0x7c]
add ecx, eax
mov edx, 1
call fcn.00459b20
mov ecx, dword [0x4b39d4]
movzx eax, byte [ecx + 0x26]
inc esi
cmp esi, eax
jl 0x42aea0
jmp 0x42af57
mov eax, dword [ecx + 0x78]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x42af57
mov ecx, dword [ecx + 0x7c]
add ecx, eax
xor edx, edx
call fcn.00459b20
mov ecx, dword [0x4b39d4]
mov edi, dword [ecx + 0x3c]
test edi, edi
je 0x42afc5
mov esi, dword [ecx + 0x1278]
xor eax, eax
mov word [ecx + 0x4bc], ax
cmp dword [esi], eax
jne 0x42af78
add esi, 8
cmp dword [esi], eax
je 0x42af71
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 0x42afa1
mov eax, dword [0x4b39d4]
push ecx
mov dword [eax + 0x4b8], esi
mov eax, dword [esi + 4]
call eax
add esp, 4
mov ecx, dword [0x4b39d4]
add esi, 8
movsx eax, word [ecx + 0x4bc]
add edi, eax
xor eax, eax
mov word [ecx + 0x4bc], ax
mov ecx, dword [0x4b39d4]
dec edi
jne 0x42af64
inc word [ecx + 0x1a4]
call fcn.004599b0
call fcn.00459870
mov eax, dword [0x4b39d4]
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x42aff7
test byte [eax + 0x28], 0x10
jne 0x42aff7
xor edx, edx
call fcn.00459b20
mov eax, dword [0x4b39d4]
cmp dword [eax + 0x130], 0
je 0x42b005
call fcn.00459630
call fcn.0042c130
call fcn.0042cd30
mov eax, dword [0x4b39d4]
xor ecx, ecx
mov word [eax + 0x160], bx
mov eax, dword [0x4b39d4]
mov dword [eax + 0x198], 0
mov eax, dword [0x4b39d4]
inc dword [eax + 0x4e0]
mov eax, dword [0x4b39d4]
mov word [eax + 0x484], cx
mov eax, dword [0x4b39d4]
dec dword [eax + 0x4d8]
mov ecx, dword [0x4b39d4]
cmp dword [ecx + 0x4d8], 0
jle 0x42b064
cmp word [ecx + 0x30], 0
je 0x42b06f
call fcn.0042c270
mov ecx, dword [0x4b39d4]
movzx eax, word [ecx + 0x30]
test ax, ax
jne 0x42b080
movsx eax, word [ecx + 0x32]
pop edi
pop esi
pop ebx
ret
cmp ax, 1
je 0x42b0a4
cmp ax, 2
je 0x42b0a4
cmp ax, 0xfffe
je 0x42b0a4
cmp ax, 3
je 0x42b0a4
cmp ax, 0x64
je 0x42b0a4
cmp ax, 4
jne 0x42b0c3
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 8]
test eax, eax
je 0x42b0c3
mov ecx, dword [ecx + 0x7c]
add ecx, eax
mov edx, 1
call fcn.00459b20
mov ecx, dword [0x4b39d4]
movsx eax, word [ecx + 0x30]
pop edi
pop esi
pop ebx
ret