Function at 0x1000f050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10145040]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x101739b4]
mov dword [esp + 4], ecx
push esi
push edi
test eax, eax
je case.0x1000f6c9.527
mov esi, dword [eax + 0x6c]
lea edi, [eax + 8]
mov dword [esp + 8], esi
cmp edx, 0x200
ja 0x1000f6b1
je 0x1000f649
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x1000f6c9.527
movzx eax, byte [eax + 0x1000f8bc]
jmp dword [eax*4 + 0x1000f8a8]
cmp edx, 0x100
je 0x1000f0c4
mov byte [esp + 8], 0
cmp edx, 0x104
jne 0x1000f0c9
mov byte [esp + 8], 1
mov esi, dword [ebp + 8]
cmp esi, 0x100
jae case.0x1000f6c9.527
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3779], 0
mov byte [esp + 0xc], al
je 0x1000f113
test al, al
je 0x1000f100
movss xmm3, dword [0x10135f8c]
jmp 0x1000f103
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, edi
push 0x281
call fcn.10011750
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3779], 0
mov byte [esp + 0xc], al
je 0x1000f14e
test al, al
je 0x1000f13b
movss xmm3, dword [0x10135f8c]
jmp 0x1000f13e
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, edi
push 0x282
call fcn.10011750
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3779], 0
mov byte [esp + 0xc], al
je 0x1000f189
test al, al
je 0x1000f176
movss xmm3, dword [0x10135f8c]
jmp 0x1000f179
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, edi
push 0x283
call fcn.10011750
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3779], 0
mov byte [esp + 0xc], al
je 0x1000f1c4
test al, al
je 0x1000f1b1
movss xmm3, dword [0x10135f8c]
jmp 0x1000f1b4
xorps xmm3, xmm3
push dword [esp + 0xc]
mov ecx, edi
push 0x284
call fcn.10011750
cmp esi, 0xd
jne 0x1000f1dc
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.1000eb10
mov edi, eax
test edi, edi
je 0x1000f238
mov eax, dword [0x101739b4]
add eax, 8
mov dword [esp + 0xc], eax
cmp byte [eax + 0x3779], 0
je 0x1000f222
cmp byte [esp + 8], 0
je 0x1000f20f
movss xmm3, dword [0x10135f8c]
jmp 0x1000f212
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, eax
push edi
call fcn.10011750
mov eax, dword [esp + 0xc]
cmp esi, 0x1ff
ja 0x1000f238
mov dword [eax + esi*4 + 0xac], edi
mov dword [eax + edi*4 + 0xac], esi
cmp esi, 0x10
jne 0x1000f314
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1000f2a1
mov eax, dword [0x101739b4]
cmp byte [eax + 0x3781], 0
lea esi, [eax + 8]
je 0x1000f28d
test cl, cl
je 0x1000f27a
movss xmm3, dword [0x10135f8c]
jmp 0x1000f27d
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, esi
push 0x210
call fcn.10011750
mov dword [esi + 0x32c], 0x210
mov dword [esi + 0x8ec], 0xa0
push 0xa1
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1000f6c9.527
mov esi, dword [0x101739b4]
cmp byte [esi + 0x3781], 0
je 0x1000f2ed
test cl, cl
je 0x1000f2d6
movss xmm0, dword [0x10135f8c]
jmp 0x1000f2d9
xorps xmm0, xmm0
push dword [esp + 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x214
call fcn.10011750
mov dword [esi + 0x338], 0x214
xor eax, eax
mov dword [esi + 0x904], 0xa1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x1000f3f0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1000f37d
mov eax, dword [0x101739b4]
cmp byte [eax + 0x3781], 0
lea esi, [eax + 8]
je 0x1000f369
test cl, cl
je 0x1000f356
movss xmm3, dword [0x10135f8c]
jmp 0x1000f359
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, esi
push 0x20f
call fcn.10011750
mov dword [esi + 0x334], 0x20f
mov dword [esi + 0x8e8], 0xa2
push 0xa3
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1000f6c9.527
mov esi, dword [0x101739b4]
cmp byte [esi + 0x3781], 0
je 0x1000f3c9
test cl, cl
je 0x1000f3b2
movss xmm0, dword [0x10135f8c]
jmp 0x1000f3b5
xorps xmm0, xmm0
push dword [esp + 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x213
call fcn.10011750
mov dword [esi + 0x340], 0x213
xor eax, eax
mov dword [esi + 0x900], 0xa3
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x1000f6c9.527
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1000f459
mov eax, dword [0x101739b4]
cmp byte [eax + 0x3781], 0
lea esi, [eax + 8]
je 0x1000f445
test cl, cl
je 0x1000f432
movss xmm3, dword [0x10135f8c]
jmp 0x1000f435
xorps xmm3, xmm3
push dword [esp + 8]
mov ecx, esi
push 0x211
call fcn.10011750
mov dword [esi + 0x33c], 0x211
mov dword [esi + 0x8f0], 0xa4
push 0xa5
call edi
mov cl, byte [esp + 8]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x1000f6c9.527
mov esi, dword [0x101739b4]
cmp byte [esi + 0x3781], 0
je 0x1000f4a5
test cl, cl
je 0x1000f48e
movss xmm0, dword [0x10135f8c]
jmp 0x1000f491
xorps xmm0, xmm0
push dword [esp + 8]
movaps xmm3, xmm0
lea ecx, [esi + 8]
push 0x215
call fcn.10011750
mov dword [esi + 0x348], 0x215
xor eax, eax
mov dword [esi + 0x908], 0xa5
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
mov esi, dword [0x101739b4]
cmp edx, 7
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
sete byte [esp + 0x18]
add esi, 0x3798
mov dword [esp + 0x10], 6
mov ecx, dword [esi]
mov edi, dword [esi + 4]
cmp ecx, edi
jne 0x1000f51b
inc ecx
test edi, edi
je 0x1000f509
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1000f50e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10026230
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x1000f6c9.527
movzx eax, cx
mov esi, eax
mov edx, eax
mov dword [esp + 0xc], esi
mov ecx, eax
test ax, ax
jne 0x1000f57a
cmp word [edi + 0x377c], ax
je case.0x1000f6c9.527
cmp byte [edi + 0x3779], 0
je case.0x1000f6c9.527
movzx edx, word [edi + 0x377c]
and ecx, 0xfc00
mov eax, 0xd800
cmp cx, ax
jne 0x1000f5d2
mov eax, dword [esp + 0xc]
movzx eax, ax
test dx, dx
je 0x1000f5b8
push 0xfffd
mov ecx, edi
call fcn.100116b0
mov eax, esi
mov word [edi + 0x377c], ax
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x1000f5fd
mov eax, 0xdc00
cmp cx, ax
je 0x1000f5ef
push 0xfffd
mov ecx, edi
call fcn.100116b0
jmp 0x1000f5f4
mov esi, 0xfffd
xor eax, eax
mov word [edi + 0x377c], ax
movzx eax, si
mov ecx, edi
push eax
call fcn.100116b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x1000f6c9.527
call fcn.1000e090
test al, al
je case.0x1000f6c9.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], ecx
jne 0x1000f67d
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [esi + 8], 1
mov ecx, dword [ebp + 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.100118b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x1000f6c9.527
movzx eax, byte [eax + 0x1000f9d8]
jmp dword [eax*4 + 0x1000f9bc]
cmp dword [esi + 4], ecx
jne 0x1000f6dc
mov dword [esi + 4], 0
movss xmm1, dword [0x10136200]
mov ecx, edi
movaps xmm2, xmm1
mov byte [esi + 8], 0
call fcn.100118b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp edx, 0x201
je 0x1000f717
cmp edx, 0x203
jne 0x1000f719
xor esi, esi
cmp edx, 0x204
je 0x1000f729
cmp edx, 0x206
jne 0x1000f72e
mov esi, 1
cmp edx, 0x207
je 0x1000f73e
cmp edx, 0x209
jne 0x1000f743
mov esi, 2
cmp edx, 0x20b
je 0x1000f753
cmp edx, 0x20d
jne 0x1000f763
mov esi, dword [ebp + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [esp + 8]
cmp dword [ecx + 0xc], 0
jne 0x1000f785
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1000f781
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0xc]
bts eax, esi
push 1
mov dword [ecx + 0xc], eax
mov ecx, edi
push esi
call fcn.10011940
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 8], ecx
cmp edx, 0x208
jne 0x1000f7c9
mov ecx, 2
jmp 0x1000f7e1
cmp edx, 0x20c
jne 0x1000f7e5
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 8], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x1000f808
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0xc]
jne 0x1000f804
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 8]
push 0
push ecx
mov ecx, edi
call fcn.10011940
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
shr eax, 0x10
mov ecx, edi
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x101360d4]
call fcn.100119f0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
shr eax, 0x10
mov ecx, edi
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x101360d4]
call fcn.100119f0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x1000f6c9.527
mov byte [esi + 0x25], 1
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10096753
mov esp, ebp
pop ebp
ret