Function at 0x6c4ed4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x73e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x740b64]
mov esi, edx
mov dword [ebp - 8], ecx
test edi, edi
je case.default.0x6c53cc
add edi, 8
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [edi + 0x389c], ecx
call fcn.006c3e6e
mov edx, eax
mov eax, 0x204
mov dword [ebp - 0x44], edx
cmp esi, eax
ja 0x6c53a3
je case.0x6c53cc.518
mov edx, 0x104
lea eax, [edx - 2]
lea ecx, [edx - 4]
cmp esi, eax
ja 0x6c50d9
je 0x6c5030
mov eax, esi
sub eax, 7
je 0x6c501a
sub eax, 1
je 0x6c501a
sub eax, 0x18
je 0x6c4ff8
sub eax, 0x31
je 0x6c4fee
sub eax, 0x4f
je 0x6c51b5
sub eax, 0x60
je 0x6c4f88
sub eax, 1
jne case.default.0x6c53cc
cmp esi, ecx
je 0x6c4f90
cmp esi, edx
jne 0x6c4f94
mov byte [ebp - 0x40], 1
cmp dword [ebx + 8], ecx
jae case.default.0x6c53cc
call fcn.006c4165
mov esi, dword [ebx + 8]
cmp esi, 0xd
jne 0x6c4fbd
mov eax, dword [ebx + 0xc]
shr eax, 0x10
bt ax, 8
mov eax, 0x10d
cmovb esi, eax
mov ecx, esi
call fcn.006c48eb
mov edi, eax
mov ecx, 0x262
cmp edi, ecx
jne 0x6c528a
mov eax, dword [ebp - 0x40]
test al, al
jne 0x6c5291
push ecx
push esi
mov dl, 1
call fcn.006c406c
pop ecx
pop ecx
jmp 0x6c528e
call fcn.006c3e7e
jmp case.default.0x6c53cc
xor eax, eax
inc eax
cmp word [ebx + 0xc], ax
jne case.default.0x6c53cc
call fcn.006c3fc8
test al, al
je case.default.0x6c53cc
xor eax, eax
inc eax
jmp 0x6c54df
cmp esi, 7
mov ecx, edi
sete al
movzx eax, al
push eax
call fcn.006a5c23
jmp case.default.0x6c53cc
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x6c505b
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.default.0x6c53cc
push ecx
mov ecx, edi
call fcn.006a57c0
jmp case.default.0x6c53cc
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
xor eax, eax
inc eax
push eax
push ecx
push eax
lea ecx, [ebx + 8]
push ecx
mov ecx, dword [ebp - 0x44]
push eax
push dword [ecx + 0x24]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [ebp - 8]
mov ecx, dword [edi + 0xdf4]
test edx, edx
je case.default.0x6c53cc
cmp byte [edi + 0x3889], 0
je case.default.0x6c53cc
mov eax, dword [ecx + 0x3f3c]
xorps xmm0, xmm0
and dword [ebp - 0x14], 0
mov dword [ebp - 0x24], eax
inc eax
mov dword [ecx + 0x3f3c], eax
lea eax, [ebp - 0x2c]
push eax
add ecx, 0x3f20
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x20], edx
call fcn.006b6a5e
jmp case.default.0x6c53cc
mov eax, esi
sub eax, edx
je 0x6c4f8c
sub eax, 1
je 0x6c4f8c
sub eax, 0xfb
je 0x6c51b5
sub eax, 1
je case.0x6c53cc.518
sub eax, 1
je case.0x6c53cc.517
sub eax, 1
jne case.default.0x6c53cc
call fcn.006c4eb1
mov dword [ebp - 0x48], eax
cmp esi, 0x204
je 0x6c512a
and dword [ebp - 0x40], 0
cmp esi, 0x206
jne 0x6c5131
mov dword [ebp - 0x40], 1
cmp esi, 0x207
je 0x6c5141
cmp esi, 0x209
jne 0x6c5148
mov dword [ebp - 0x40], 2
cmp esi, 0x20b
je 0x6c5158
cmp esi, 0x20d
jne 0x6c516f
mov eax, dword [ebx + 8]
xor ecx, ecx
shr eax, 0x10
xor edx, edx
inc ecx
cmp ax, cx
setne dl
add edx, 3
mov dword [ebp - 0x40], edx
mov esi, dword [ebp - 0x44]
cmp dword [esi + 0xc], 0
jne 0x6c518b
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x6c518b
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x40]
bts eax, ecx
mov edx, dword [ebp - 0x48]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0xdf4]
push 1
push ecx
mov dword [eax + 0x3f38], edx
mov ecx, edi
call fcn.006a5b2c
jmp case.default.0x6c53cc
call fcn.006c4eb1
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x48], eax
cmp esi, 0x200
mov eax, dword [ebp - 0x44]
setne cl
inc ecx
mov dword [ebp - 0x50], ecx
mov dword [eax + 4], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
je 0x6c5239
push 0x10
pop eax
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
cmp esi, 0x200
push 2
pop eax
mov dword [ebp - 0x40], 0x12
cmovne eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], 0x80000000
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x4c], ecx
je 0x6c5223
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 0xc]
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x10], eax
movsx eax, cx
mov dword [ebp - 0xc], eax
cmp esi, 0xa0
jne 0x6c5266
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.default.0x6c53cc
mov eax, dword [edi + 0xdf4]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x3f38], ecx
movd xmm2, dword [ebp - 0xc]
movd xmm1, dword [ebp - 0x10]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
jmp 0x6c54d6
test edi, edi
je 0x6c529e
mov eax, dword [ebp - 0x40]
push ecx
push esi
mov dl, al
mov ecx, edi
call fcn.006c406c
pop ecx
pop ecx
cmp esi, 0x10
jne 0x6c52f2
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0xa0
push edi
call esi
mov ecx, dword [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x6c52cd
push ecx
mov dl, cl
mov ecx, 0x210
push edi
call fcn.006c406c
pop ecx
pop ecx
mov edi, 0xa1
push edi
call esi
mov ecx, dword [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x6c53cc
push ecx
mov dl, cl
mov ecx, 0x214
jmp 0x6c5396
cmp esi, 0x11
jne 0x6c5343
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0xa2
push edi
call esi
mov ecx, dword [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x6c5321
push ecx
mov dl, cl
mov ecx, 0x20f
push edi
call fcn.006c406c
pop ecx
pop ecx
mov edi, 0xa3
push edi
call esi
mov ecx, dword [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x6c53cc
push ecx
mov dl, cl
mov ecx, 0x213
jmp 0x6c5396
cmp esi, 0x12
jne case.default.0x6c53cc
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0xa4
push edi
call esi
mov ecx, dword [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x6c5376
push ecx
mov dl, cl
mov ecx, 0x211
push edi
call fcn.006c406c
pop ecx
pop ecx
mov edi, 0xa5
push edi
call esi
mov ecx, dword [ebp - 0x40]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.default.0x6c53cc
push ecx
mov dl, cl
mov ecx, 0x215
push edi
call fcn.006c406c
pop ecx
pop ecx
jmp case.default.0x6c53cc
mov eax, 0x219
cmp esi, eax
ja 0x6c549e
je 0x6c5492
lea eax, [esi - 0x205]
cmp eax, 9
ja case.default.0x6c53cc
movzx eax, byte [eax + 0x6c5504]
jmp dword [eax*4 + 0x6c54f4]
call fcn.006c4eb1
xor edx, edx
mov dword [ebp - 0x48], eax
cmp esi, 0x205
sete dl
mov dword [ebp - 0x40], edx
cmp esi, 0x208
jne 0x6c53f6
push 2
pop edx
jmp 0x6c5410
cmp esi, 0x20c
jne 0x6c5413
mov eax, dword [ebx + 8]
xor edx, edx
shr eax, 0x10
cmp ax, 1
setne dl
add edx, 3
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0xc]
btr eax, edx
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x6c5437
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 8]
jne 0x6c5434
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [ebp - 0x40]
mov eax, dword [edi + 0xdf4]
mov ecx, dword [ebp - 0x48]
push 0
push edx
mov dword [eax + 0x3f38], ecx
jmp 0x6c51a9
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
shr eax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x72cd38]
mov ecx, edi
call fcn.006a5bb3
jmp case.default.0x6c53cc
mov eax, dword [ebx + 8]
xorps xmm2, xmm2
shr eax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x72e0a0]
divss xmm1, dword [0x72cd38]
jmp 0x6c5467
cmp dword [ebx + 8], 7
jne case.default.0x6c53cc
mov byte [edx + 0x29], 1
jmp case.default.0x6c53cc
mov eax, esi
sub eax, 0x2a2
je 0x6c54ac
sub eax, 1
jne case.default.0x6c53cc
xor eax, eax
cmp esi, 0x2a3
setne al
inc eax
cmp dword [edx + 8], eax
jne case.default.0x6c53cc
mov eax, dword [ebp - 8]
cmp dword [edx + 4], eax
jne 0x6c54c8
mov dword [edx + 4], ecx
movss xmm1, dword [0x72cda8]
mov dword [edx + 8], ecx
movaps xmm2, xmm1
mov ecx, edi
call fcn.006a5a25
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.006dd431
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret