Function at 0x4deec0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x44
mov eax, dword [0x65a600]
mov dword [esp + 0x3c], eax
push esi
mov esi, edx
mov edx, ecx
mov dword [esp + 0x3c], edx
push edi
test eax, eax
je case.default.0x4df397
lea ecx, [eax + 8]
call fcn.004ddfbd
mov edi, eax
mov eax, 0x204
cmp esi, eax
ja 0x4df36e
je case.0x4df397.518
mov eax, 0x102
cmp esi, eax
ja 0x4df035
je 0x4def7d
mov eax, esi
sub eax, 7
je 0x4def69
sub eax, 1
je 0x4def69
sub eax, 0x18
je 0x4def46
sub eax, 0x80
je 0x4df11f
sub eax, 0x60
je 0x4def34
sub eax, 1
jne case.default.0x4df397
mov edi, 0x100
cmp esi, edi
je 0x4df214
jmp 0x4df207
xor eax, eax
inc eax
cmp word [esp + 0x54], ax
jne case.default.0x4df397
call fcn.004de10f
test al, al
je case.default.0x4df397
xor eax, eax
inc eax
jmp 0x4df49b
cmp esi, 7
sete al
movzx eax, al
push eax
call fcn.004bd222
jmp case.default.0x4df397
push edx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x4defac
mov ecx, dword [esp + 0x50]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.default.0x4df397
push ecx
mov ecx, dword [esp + 0x48]
lea ecx, [ecx + 8]
call fcn.004bcdce
jmp case.default.0x4df397
xor eax, eax
lea ecx, [esp + 0x48]
mov word [esp + 0x48], ax
inc eax
push eax
push ecx
push eax
lea ecx, [esp + 0x5c]
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x44]
movzx esi, word [esp + 0x48]
mov ecx, dword [eax + 0xdbc]
test esi, esi
je case.default.0x4df397
cmp byte [eax + 0x3771], 0
je case.default.0x4df397
mov eax, dword [ecx + 0x3dfc]
xorps xmm0, xmm0
and dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
inc eax
mov dword [ecx + 0x3dfc], eax
lea eax, [esp + 8]
push eax
add ecx, 0x3de0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 2
mov dword [esp + 0x18], esi
call fcn.004d0191
jmp case.default.0x4df397
mov eax, esi
sub eax, 0x104
je 0x4df202
sub eax, 1
je 0x4df202
sub eax, 0xfb
je 0x4df11f
sub eax, 1
je case.0x4df397.518
sub eax, 1
je case.0x4df397.517
sub eax, 1
jne case.default.0x4df397
call fcn.004dee9d
mov dword [esp + 0x3c], eax
cmp esi, 0x204
je 0x4df08b
and dword [esp + 0x48], 0
cmp esi, 0x206
jne 0x4df093
mov dword [esp + 0x48], 1
cmp esi, 0x207
je 0x4df0a3
cmp esi, 0x209
jne 0x4df0ab
mov dword [esp + 0x48], 2
cmp esi, 0x20b
je 0x4df0bb
cmp esi, 0x20d
jne 0x4df0d4
mov eax, dword [esp + 0x50]
xor ecx, ecx
shr eax, 0x10
xor edx, edx
inc ecx
cmp ax, cx
setne dl
add edx, 3
mov dword [esp + 0x48], edx
cmp dword [edi + 0xc], 0
jne 0x4df0ee
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x4df0ee
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x48]
bts eax, ecx
mov dword [edi + 0xc], eax
push 1
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
push ecx
mov eax, dword [edx + 0xdbc]
lea ecx, [edx + 8]
mov dword [eax + 0x3df8], esi
call fcn.004bd12b
jmp case.default.0x4df397
call fcn.004dee9d
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
xor eax, eax
cmp esi, 0x200
mov dword [edi + 4], edx
setne al
inc eax
mov dword [esp + 0x48], eax
cmp dword [edi + 8], eax
je 0x4df1a3
and dword [esp + 0x30], 0
cmp esi, 0x200
push 0x10
pop eax
push 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
pop eax
push 0x12
pop ecx
cmovne eax, ecx
mov dword [esp + 0x28], SysStringLen
and dword [esp + 0x20], 0
cmp dword [edi + 8], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x4df18d
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x54]
movsx eax, cx
shr ecx, 0x10
mov dword [esp + 0x34], eax
movsx eax, cx
mov dword [esp + 0x38], eax
cmp esi, 0xa0
jne 0x4df1d4
lea eax, [esp + 0x34]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.default.0x4df397
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0xdbc]
mov dword [eax + 0x3df8], ecx
lea ecx, [edx + 8]
movd xmm2, dword [esp + 0x38]
movd xmm1, dword [esp + 0x34]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
jmp 0x4df494
mov edi, 0x100
mov byte [esp + 0x4b], 0
cmp esi, 0x104
jne 0x4df219
mov byte [esp + 0x4b], 1
cmp dword [esp + 0x50], edi
jae case.default.0x4df397
call fcn.004de2b1
mov esi, dword [esp + 0x50]
cmp esi, 0xd
jne 0x4df243
mov eax, dword [esp + 0x54]
shr eax, 0x10
test di, ax
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.004de958
test eax, eax
je 0x4df25d
mov dl, byte [esp + 0x4b]
push ecx
push esi
mov ecx, eax
call fcn.004de1b3
pop ecx
pop ecx
cmp esi, 0x10
jne 0x4df2b5
mov esi, 0xa0
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x4df28b
push ecx
mov dl, cl
mov ecx, 0x210
push esi
call fcn.004de1b3
pop ecx
pop ecx
mov esi, 0xa1
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x4df397
push ecx
mov dl, cl
mov ecx, 0x214
jmp 0x4df361
cmp esi, 0x11
jne 0x4df30a
mov esi, 0xa2
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x4df2e3
push ecx
mov dl, cl
mov ecx, 0x20f
push esi
call fcn.004de1b3
pop ecx
pop ecx
mov esi, 0xa3
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x4df397
push ecx
mov dl, cl
mov ecx, 0x213
jmp 0x4df361
cmp esi, 0x12
jne case.default.0x4df397
mov esi, 0xa4
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x4df33c
push ecx
mov dl, cl
mov ecx, 0x211
push esi
call fcn.004de1b3
pop ecx
pop ecx
mov esi, 0xa5
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esp + 0x4b]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x4df397
push ecx
mov dl, cl
mov ecx, 0x215
push esi
call fcn.004de1b3
pop ecx
pop ecx
jmp case.default.0x4df397
mov eax, 0x219
cmp esi, eax
ja 0x4df45d
je 0x4df450
lea eax, [esi - 0x205]
cmp eax, 9
ja case.default.0x4df397
movzx eax, byte [eax + 0x4df4b4]
jmp dword [eax*4 + 0x4df4a4]
call fcn.004dee9d
xor ecx, ecx
mov dword [esp + 0x3c], eax
cmp esi, 0x205
sete cl
mov dword [esp + 0x48], ecx
cmp esi, 0x208
jne 0x4df3c3
push 2
pop ecx
jmp 0x4df3de
cmp esi, 0x20c
jne 0x4df3e2
mov eax, dword [esp + 0x50]
xor ecx, ecx
shr eax, 0x10
cmp ax, 1
setne cl
add ecx, 3
mov dword [esp + 0x48], ecx
mov eax, dword [edi + 0xc]
btr eax, ecx
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4df405
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x40]
jne 0x4df401
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x48]
push 0
jmp 0x4df0fd
mov eax, dword [esp + 0x50]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x50e298]
call fcn.004bd1b2
jmp case.default.0x4df397
mov eax, dword [esp + 0x50]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x50e6e0]
divss xmm1, dword [0x50e298]
jmp 0x4df426
cmp dword [esp + 0x50], 7
jne case.default.0x4df397
mov byte [edi + 0x25], 1
jmp case.default.0x4df397
mov eax, esi
sub eax, 0x2a2
je 0x4df46b
sub eax, 1
jne case.default.0x4df397
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edi + 8], eax
jne case.default.0x4df397
cmp dword [edi + 4], edx
jne 0x4df485
and dword [edi + 4], 0
movss xmm1, dword [0x50e350]
and dword [edi + 8], 0
movaps xmm2, xmm1
call fcn.004bd024
xor eax, eax
pop edi
pop esi
add esp, 0x44
ret