Function at 0x67839e30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x67ad7034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x67b38b68]
mov dword [ebp - 0x24], ecx
push esi
push edi
test eax, eax
je case.0x6783a4a0.527
mov esi, dword [eax + 0x74]
lea edi, [eax + 8]
mov dword [ebp - 8], esi
cmp edx, 0x200
ja 0x6783a488
je 0x6783a433
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x6783a4a0.527
movzx eax, byte [eax + 0x6783a630]
jmp dword [eax*4 + 0x6783a61c]
cmp edx, 0x100
je 0x67839eb0
mov byte [ebp - 8], 0
cmp edx, 0x104
jne 0x67839eb4
mov byte [ebp - 8], 1
cmp dword [ebx + 8], 0x100
jae case.0x6783a4a0.527
mov esi, dword [sym.imp.user32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [ebp - 0x24], al
je 0x67839efc
test al, al
je 0x67839eea
movss xmm3, dword [0x67ac4418]
jmp 0x67839eed
xorps xmm3, xmm3
push dword [ebp - 0x24]
mov ecx, edi
push 0x1000
call fcn.677de1b0
push 0x10
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [ebp - 0x24], al
je 0x67839f31
test al, al
je 0x67839f1f
movss xmm3, dword [0x67ac4418]
jmp 0x67839f22
xorps xmm3, xmm3
push dword [ebp - 0x24]
mov ecx, edi
push 0x2000
call fcn.677de1b0
push 0x12
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [ebp - 0x24], al
je 0x67839f66
test al, al
je 0x67839f54
movss xmm3, dword [0x67ac4418]
jmp 0x67839f57
xorps xmm3, xmm3
push dword [ebp - 0x24]
mov ecx, edi
push 0x4000
call fcn.677de1b0
push 0x5d
call esi
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3761], 0
mov byte [ebp - 0x24], al
je 0x67839f9b
test al, al
je 0x67839f89
movss xmm3, dword [0x67ac4418]
jmp 0x67839f8c
xorps xmm3, xmm3
push dword [ebp - 0x24]
mov ecx, edi
push 0x8000
call fcn.677de1b0
mov esi, dword [ebx + 8]
cmp esi, 0xd
jne 0x67839fb6
mov eax, dword [ebx + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.678398f0
mov edi, eax
test edi, edi
je 0x6783a00e
mov eax, dword [0x67b38b68]
add eax, 8
mov dword [ebp - 0x24], eax
cmp byte [eax + 0x3761], 0
je 0x67839ff8
cmp byte [ebp - 8], 0
je 0x67839fe7
movss xmm3, dword [0x67ac4418]
jmp 0x67839fea
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, eax
push edi
call fcn.677de1b0
mov eax, dword [ebp - 0x24]
cmp esi, 0x1ff
ja 0x6783a00e
mov dword [eax + esi*4 + 0xb4], edi
mov dword [eax + edi*4 + 0xb4], esi
cmp esi, 0x10
jne 0x6783a0d8
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0xa0
call edi
mov cl, byte [ebp - 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x6783a075
mov eax, dword [0x67b38b68]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x6783a061
test cl, cl
je 0x6783a04f
movss xmm3, dword [0x67ac4418]
jmp 0x6783a052
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, esi
push 0x210
call fcn.677de1b0
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
push 0xa1
call edi
mov cl, byte [ebp - 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x6783a4a0.527
mov esi, dword [0x67b38b68]
cmp byte [esi + 0x3769], 0
je 0x6783a0bf
test cl, cl
je 0x6783a0a9
movss xmm0, dword [0x67ac4418]
jmp 0x6783a0ac
xorps xmm0, xmm0
push dword [ebp - 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.677de1b0
mov dword [esi + 0x340], 0x214
mov dword [esi + 0x90c], 0xa1
jmp case.0x6783a4a0.527
cmp esi, 0x11
jne 0x6783a1a2
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0xa2
call edi
mov cl, byte [ebp - 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x6783a13f
mov eax, dword [0x67b38b68]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x6783a12b
test cl, cl
je 0x6783a119
movss xmm3, dword [0x67ac4418]
jmp 0x6783a11c
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, esi
push 0x20f
call fcn.677de1b0
mov dword [esi + 0x33c], 0x20f
mov dword [esi + 0x8f0], 0xa2
push 0xa3
call edi
mov cl, byte [ebp - 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x6783a4a0.527
mov esi, dword [0x67b38b68]
cmp byte [esi + 0x3769], 0
je 0x6783a189
test cl, cl
je 0x6783a173
movss xmm0, dword [0x67ac4418]
jmp 0x6783a176
xorps xmm0, xmm0
push dword [ebp - 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.677de1b0
mov dword [esi + 0x348], 0x213
mov dword [esi + 0x908], 0xa3
jmp case.0x6783a4a0.527
cmp esi, 0x12
jne case.0x6783a4a0.527
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0xa4
call edi
mov cl, byte [ebp - 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x6783a209
mov eax, dword [0x67b38b68]
cmp byte [eax + 0x3769], 0
lea esi, [eax + 8]
je 0x6783a1f5
test cl, cl
je 0x6783a1e3
movss xmm3, dword [0x67ac4418]
jmp 0x6783a1e6
xorps xmm3, xmm3
push dword [ebp - 8]
mov ecx, esi
push 0x211
call fcn.677de1b0
mov dword [esi + 0x344], 0x211
mov dword [esi + 0x8f8], 0xa4
push 0xa5
call edi
mov cl, byte [ebp - 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x6783a4a0.527
mov esi, dword [0x67b38b68]
cmp byte [esi + 0x3769], 0
je 0x6783a253
test cl, cl
je 0x6783a23d
movss xmm0, dword [0x67ac4418]
jmp 0x6783a240
xorps xmm0, xmm0
push dword [ebp - 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.677de1b0
mov dword [esi + 0x350], 0x215
mov dword [esi + 0x910], 0xa5
jmp case.0x6783a4a0.527
mov esi, dword [0x67b38b68]
cmp edx, 7
mov edx, dword [esi + 0x3780]
lea edi, [esi + 0x3780]
sete byte [ebp - 0x25]
add edx, 0xffffffff
js 0x6783a2a3
mov eax, dword [esi + 0x3788]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
cmp dword [eax], 6
je 0x6783a2e4
sub eax, 0x18
sub edx, 1
jns 0x6783a296
cmp byte [esi + 0x3768], 0
sete al
mov cl, byte [ebp - 0x25]
cmp al, cl
je case.0x6783a4a0.527
mov esi, dword [edi + 4]
xorps xmm0, xmm0
mov eax, dword [edi]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 6
mov byte [ebp - 0x18], cl
cmp eax, esi
jne 0x6783a2fd
lea ecx, [eax + 1]
test esi, esi
je 0x6783a2e9
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x6783a2ee
mov al, byte [eax + 8]
jmp 0x6783a2ad
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.677ffaa0
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [edi]
jmp case.0x6783a4a0.527
push ecx
call dword [sym.imp.user32.dll_IsWindowUnicode]
test eax, eax
je 0x6783a3d5
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x6783a4a0.527
movzx esi, cx
mov eax, esi
test ax, ax
jne 0x6783a352
cmp word [edi + 0x3764], ax
je case.0x6783a4a0.527
cmp byte [edi + 0x3761], 0
je case.0x6783a4a0.527
movzx edx, word [edi + 0x3764]
mov ecx, eax
and ecx, 0xfc00
mov dword [ebp - 0x24], 0xd800
cmp cx, word [ebp - 0x24]
jne 0x6783a398
test dx, dx
je 0x6783a38c
push 0xfffd
mov ecx, edi
call fcn.677de110
mov word [edi + 0x3764], si
jmp case.0x6783a4a0.527
test dx, dx
je 0x6783a3c5
mov eax, 0xdc00
cmp cx, ax
je 0x6783a3b7
push 0xfffd
mov ecx, edi
call fcn.677de110
mov eax, esi
jmp 0x6783a3bc
mov eax, 0xfffd
xor ecx, ecx
mov word [edi + 0x3764], cx
movzx eax, ax
mov ecx, edi
push eax
call fcn.677de110
jmp case.0x6783a4a0.527
push 1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
lea eax, [ebx + 8]
push eax
push 1
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
movzx eax, word [ebp - 8]
mov ecx, edi
push eax
call fcn.677de110
jmp case.0x6783a4a0.527
cmp word [ebx + 0xc], 1
jne case.0x6783a4a0.527
call fcn.67838e50
test al, al
je case.0x6783a4a0.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.679343f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], ecx
jne 0x6783a462
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
call dword [sym.imp.user32.dll_TrackMouseEvent]
mov byte [esi + 8], 1
mov ecx, dword [ebx + 0xc]
mov eax, ecx
shr eax, 0x10
cwde
movd xmm2, eax
movsx eax, cx
mov ecx, edi
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.677de310
jmp case.0x6783a4a0.527
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x6783a4a0.527
movzx eax, byte [eax + 0x6783a74c]
jmp dword [eax*4 + 0x6783a730]
cmp dword [esi + 4], ecx
jne 0x6783a4b3
mov dword [esi + 4], 0
movss xmm1, dword [0x67ac4778]
mov ecx, edi
movaps xmm2, xmm1
mov byte [esi + 8], 0
call fcn.677de310
jmp case.0x6783a4a0.527
xor esi, esi
cmp edx, 0x204
je 0x6783a4e0
cmp edx, 0x206
jne 0x6783a4e5
mov esi, 1
cmp edx, 0x207
je 0x6783a4f5
cmp edx, 0x209
jne 0x6783a4fa
mov esi, 2
cmp edx, 0x20b
je 0x6783a50a
cmp edx, 0x20d
jne 0x6783a51a
mov esi, dword [ebx + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0xc], 0
jne 0x6783a539
call dword [sym.imp.user32.dll_GetCapture]
test eax, eax
jne 0x6783a536
push dword [ebp - 0x24]
call dword [sym.imp.user32.dll_SetCapture]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0xc]
bts eax, esi
push 1
mov dword [ecx + 0xc], eax
mov ecx, edi
push esi
call fcn.677de470
jmp case.0x6783a4a0.527
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [ebp - 8], ecx
cmp edx, 0x208
jne 0x6783a56e
mov ecx, 2
jmp 0x6783a586
cmp edx, 0x20c
jne 0x6783a589
mov ecx, dword [ebx + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [ebp - 8], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x6783a5aa
call dword [sym.imp.user32.dll_GetCapture]
cmp eax, dword [ebp - 0x24]
jne 0x6783a5a7
call dword [sym.imp.user32.dll_ReleaseCapture]
mov ecx, dword [ebp - 8]
push 0
push ecx
mov ecx, edi
call fcn.677de470
jmp case.0x6783a4a0.527
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, edi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x67ac463c]
call fcn.677de560
jmp case.0x6783a4a0.527
mov eax, dword [ebx + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, edi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x67ac463c]
call fcn.677de560
jmp case.0x6783a4a0.527
cmp dword [ebx + 8], 7
jne case.0x6783a4a0.527
mov byte [esi + 0x25], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.679343f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret