Function at 0x466d70
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x44
mov eax, dword [0x5d4b58]
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.0x467247
lea ecx, [eax + 8]
call fcn.00465e6d
mov edi, eax
mov eax, 0x204
cmp esi, eax
ja 0x46721e
je case.0x467247.518
mov eax, 0x102
cmp esi, eax
ja 0x466ee5
je 0x466e2d
mov eax, esi
sub eax, 7
je 0x466e19
sub eax, 1
je 0x466e19
sub eax, 0x18
je 0x466df6
sub eax, 0x80
je 0x466fcf
sub eax, 0x60
je 0x466de4
sub eax, 1
jne case.default.0x467247
mov edi, 0x100
cmp esi, edi
je 0x4670c4
jmp 0x4670b7
xor eax, eax
inc eax
cmp word [esp + 0x54], ax
jne case.default.0x467247
call fcn.00465fbf
test al, al
je case.default.0x467247
xor eax, eax
inc eax
jmp 0x46734b
cmp esi, 7
sete al
movzx eax, al
push eax
call fcn.004450d2
jmp case.default.0x467247
push edx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x466e5c
mov ecx, dword [esp + 0x50]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.default.0x467247
push ecx
mov ecx, dword [esp + 0x48]
lea ecx, [ecx + 8]
call fcn.00444c7e
jmp case.default.0x467247
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.0x467247
cmp byte [eax + 0x3771], 0
je case.default.0x467247
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.00458041
jmp case.default.0x467247
mov eax, esi
sub eax, 0x104
je 0x4670b2
sub eax, 1
je 0x4670b2
sub eax, 0xfb
je 0x466fcf
sub eax, 1
je case.0x467247.518
sub eax, 1
je case.0x467247.517
sub eax, 1
jne case.default.0x467247
call fcn.00466d4d
mov dword [esp + 0x3c], eax
cmp esi, 0x204
je 0x466f3b
and dword [esp + 0x48], 0
cmp esi, 0x206
jne 0x466f43
mov dword [esp + 0x48], 1
cmp esi, 0x207
je 0x466f53
cmp esi, 0x209
jne 0x466f5b
mov dword [esp + 0x48], 2
cmp esi, 0x20b
je 0x466f6b
cmp esi, 0x20d
jne 0x466f84
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 0x466f9e
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x466f9e
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.00444fdb
jmp case.default.0x467247
call fcn.00466d4d
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 0x467053
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], SysReAllocString
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 0x46703d
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 0x467084
lea eax, [esp + 0x34]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.default.0x467247
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 0x467344
mov edi, 0x100
mov byte [esp + 0x4b], 0
cmp esi, 0x104
jne 0x4670c9
mov byte [esp + 0x4b], 1
cmp dword [esp + 0x50], edi
jae case.default.0x467247
call fcn.00466161
mov esi, dword [esp + 0x50]
cmp esi, 0xd
jne 0x4670f3
mov eax, dword [esp + 0x54]
shr eax, 0x10
test di, ax
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.00466808
test eax, eax
je 0x46710d
mov dl, byte [esp + 0x4b]
push ecx
push esi
mov ecx, eax
call fcn.00466063
pop ecx
pop ecx
cmp esi, 0x10
jne 0x467165
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 0x46713b
push ecx
mov dl, cl
mov ecx, 0x210
push esi
call fcn.00466063
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.0x467247
push ecx
mov dl, cl
mov ecx, 0x214
jmp 0x467211
cmp esi, 0x11
jne 0x4671ba
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 0x467193
push ecx
mov dl, cl
mov ecx, 0x20f
push esi
call fcn.00466063
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.0x467247
push ecx
mov dl, cl
mov ecx, 0x213
jmp 0x467211
cmp esi, 0x12
jne case.default.0x467247
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 0x4671ec
push ecx
mov dl, cl
mov ecx, 0x211
push esi
call fcn.00466063
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.0x467247
push ecx
mov dl, cl
mov ecx, 0x215
push esi
call fcn.00466063
pop ecx
pop ecx
jmp case.default.0x467247
mov eax, 0x219
cmp esi, eax
ja 0x46730d
je 0x467300
lea eax, [esi - 0x205]
cmp eax, 9
ja case.default.0x467247
movzx eax, byte [eax + 0x467364]
jmp dword [eax*4 + 0x467354]
call fcn.00466d4d
xor ecx, ecx
mov dword [esp + 0x3c], eax
cmp esi, 0x205
sete cl
mov dword [esp + 0x48], ecx
cmp esi, 0x208
jne 0x467273
push 2
pop ecx
jmp 0x46728e
cmp esi, 0x20c
jne 0x467292
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 0x4672b5
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x40]
jne 0x4672b1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x48]
push 0
jmp 0x466fad
mov eax, dword [esp + 0x50]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x4964d0]
call fcn.00445062
jmp case.default.0x467247
mov eax, dword [esp + 0x50]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x496920]
divss xmm1, dword [0x4964d0]
jmp 0x4672d6
cmp dword [esp + 0x50], 7
jne case.default.0x467247
mov byte [edi + 0x25], 1
jmp case.default.0x467247
mov eax, esi
sub eax, 0x2a2
je 0x46731b
sub eax, 1
jne case.default.0x467247
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edi + 8], eax
jne case.default.0x467247
cmp dword [edi + 4], edx
jne 0x467335
and dword [edi + 4], 0
movss xmm1, dword [0x496588]
and dword [edi + 8], 0
movaps xmm2, xmm1
call fcn.00444ed4
xor eax, eax
pop edi
pop esi
add esp, 0x44
ret