Function at 0x10071540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x100bc040]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov esi, dword [0x1019fdb0]
mov dword [esp + 0x10], ecx
push edi
test esi, esi
je case.0x10071bfb.527
lea edi, [esi + 8]
mov esi, dword [esi + 0x78]
mov dword [esp + 0x10], esi
cmp edx, 0x200
ja 0x10071be3
je 0x10071b7b
lea eax, [edx - 7]
cmp eax, 0xfe
ja case.0x10071bfb.527
movzx eax, byte [eax + 0x10071ddc]
jmp dword [eax*4 + 0x10071dc8]
cmp edx, 0x100
je 0x10071555
mov byte [esp + 0x10], 0
cmp edx, 0x104
jne 0x1007155a
mov byte [esp + 0x10], 1
mov esi, dword [ebp + 8]
cmp esi, 0x100
jae case.0x10071bfb.527
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x100715a4
test al, al
je 0x10071591
movss xmm3, dword [0x100b2860]
jmp 0x10071594
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x1000
call fcn.1004b6d0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x100715df
test al, al
je 0x100715cc
movss xmm3, dword [0x100b2860]
jmp 0x100715cf
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x2000
call fcn.1004b6d0
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x1007161a
test al, al
je 0x10071607
movss xmm3, dword [0x100b2860]
jmp 0x1007160a
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x4000
call fcn.1004b6d0
push 0x5d
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [edi + 0x3769], 0
mov byte [esp + 0x14], al
je 0x10071655
test al, al
je 0x10071642
movss xmm3, dword [0x100b2860]
jmp 0x10071645
xorps xmm3, xmm3
push dword [esp + 0x14]
mov ecx, edi
push 0x8000
call fcn.1004b6d0
cmp esi, 0xd
jne 0x1007166d
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, 0x100
mov eax, 0x10d
cmovne esi, eax
mov ecx, esi
call fcn.10070fa0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100716cf
mov ecx, dword [0x1019fdb0]
add ecx, 8
mov dword [esp + 0x1c], ecx
cmp byte [ecx + 0x3769], 0
je 0x100716b9
cmp byte [esp + 0x10], 0
je 0x100716a7
movss xmm3, dword [0x100b2860]
jmp 0x100716aa
xorps xmm3, xmm3
push edi
push eax
call fcn.1004b6d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp esi, 0x1ff
ja 0x100716cf
mov dword [ecx + esi*4 + 0xb8], eax
mov dword [ecx + eax*4 + 0xb8], esi
cmp esi, 0x10
jne 0x100717ad
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call esi
mov cl, byte [esp + 0x10]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1007173d
mov eax, dword [0x1019fdb0]
cmp byte [eax + 0x3771], 0
lea edi, [eax + 8]
je 0x10071725
test cl, cl
je 0x10071711
movss xmm3, dword [0x100b2860]
jmp 0x10071714
xorps xmm3, xmm3
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
push 0x210
call fcn.1004b6d0
mov dword [edi + 0x338], 0x210
mov dword [edi + 0x8f8], 0xa0
mov edi, dword [esp + 0x10]
push 0xa1
call esi
mov cl, byte [esp + 0x10]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10071bfb.527
mov esi, dword [0x1019fdb0]
cmp byte [esi + 0x3771], 0
je 0x10071786
test cl, cl
je 0x10071772
movss xmm0, dword [0x100b2860]
jmp 0x10071775
xorps xmm0, xmm0
push edi
push 0x214
movaps xmm3, xmm0
lea ecx, [esi + 8]
call fcn.1004b6d0
mov dword [esi + 0x344], 0x214
xor eax, eax
mov dword [esi + 0x910], 0xa1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
cmp esi, 0x11
jne 0x1007188b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call esi
mov cl, byte [esp + 0x10]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x1007181b
mov eax, dword [0x1019fdb0]
cmp byte [eax + 0x3771], 0
lea edi, [eax + 8]
je 0x10071803
test cl, cl
je 0x100717ef
movss xmm3, dword [0x100b2860]
jmp 0x100717f2
xorps xmm3, xmm3
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
push 0x20f
call fcn.1004b6d0
mov dword [edi + 0x340], 0x20f
mov dword [edi + 0x8f4], 0xa2
mov edi, dword [esp + 0x10]
push 0xa3
call esi
mov cl, byte [esp + 0x10]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10071bfb.527
mov esi, dword [0x1019fdb0]
cmp byte [esi + 0x3771], 0
je 0x10071864
test cl, cl
je 0x10071850
movss xmm0, dword [0x100b2860]
jmp 0x10071853
xorps xmm0, xmm0
push edi
push 0x213
movaps xmm3, xmm0
lea ecx, [esi + 8]
call fcn.1004b6d0
mov dword [esi + 0x34c], 0x213
xor eax, eax
mov dword [esi + 0x90c], 0xa3
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
cmp esi, 0x12
jne case.0x10071bfb.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
mov cl, byte [esp + 0x10]
shr eax, 0xf
and al, 1
cmp al, cl
jne 0x100718f9
mov eax, dword [0x1019fdb0]
cmp byte [eax + 0x3771], 0
lea edi, [eax + 8]
je 0x100718e1
test cl, cl
je 0x100718cd
movss xmm3, dword [0x100b2860]
jmp 0x100718d0
xorps xmm3, xmm3
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
push 0x211
call fcn.1004b6d0
mov dword [edi + 0x348], 0x211
mov dword [edi + 0x8fc], 0xa4
mov edi, dword [esp + 0x10]
push 0xa5
call esi
mov cl, byte [esp + 0x10]
shr eax, 0xf
and al, 1
cmp al, cl
jne case.0x10071bfb.527
mov esi, dword [0x1019fdb0]
cmp byte [esi + 0x3771], 0
je 0x10071942
test cl, cl
je 0x1007192e
movss xmm0, dword [0x100b2860]
jmp 0x10071931
xorps xmm0, xmm0
push edi
push 0x215
movaps xmm3, xmm0
lea ecx, [esi + 8]
call fcn.1004b6d0
mov dword [esi + 0x354], 0x215
xor eax, eax
mov dword [esi + 0x914], 0xa5
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0xdb4]
cmp edx, 7
mov dword [esp + 0x10], ecx
sete byte [esp + 0x1b]
mov eax, dword [ecx + 0x3de0]
mov dword [esp + 0x1c], eax
lea esi, [eax - 1]
test esi, esi
js 0x100719b3
mov eax, dword [esp + 0x10]
lea ecx, [esi*8]
sub ecx, esi
mov eax, dword [eax + 0x3de8]
lea eax, [eax + ecx*4]
cmp dword [eax], 6
je 0x10071a20
sub eax, 0x1c
sub esi, 1
jns 0x100719a2
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x3770], 0
sete al
cmp al, byte [esp + 0x1b]
je case.0x10071bfb.527
cmp byte [edi + 0x66], 0
je 0x100719d6
cmp edx, 7
jne case.0x10071bfb.527
mov eax, dword [ecx + 0x3dfc]
lea esi, [ecx + 0x3de0]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x28], eax
inc eax
mov dword [ecx + 0x3dfc], eax
mov al, byte [esp + 0x1b]
mov edi, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], 6
mov byte [esp + 0x2c], al
cmp ecx, edi
jne 0x10071a3f
inc ecx
test edi, edi
je 0x10071a2d
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10071a32
test eax, eax
je 0x100719af
mov al, byte [eax + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x100719bd
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10065010
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x20]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*4], xmm0
xorps xmm0, xmm0
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja case.0x10071bfb.527
movzx eax, cx
mov esi, eax
mov edx, eax
mov dword [esp + 0x1c], esi
mov ecx, eax
test ax, ax
jne 0x10071aac
cmp word [edi + 0x376c], ax
je case.0x10071bfb.527
cmp byte [edi + 0x3769], 0
je case.0x10071bfb.527
movzx edx, word [edi + 0x376c]
and ecx, 0xfc00
mov eax, 0xd800
cmp cx, ax
jne 0x10071b04
mov eax, dword [esp + 0x1c]
movzx eax, ax
test dx, dx
je 0x10071aea
push 0xfffd
mov ecx, edi
call fcn.1004b610
mov eax, esi
mov word [edi + 0x376c], ax
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
test dx, dx
je 0x10071b2f
mov eax, 0xdc00
cmp cx, ax
je 0x10071b21
push 0xfffd
mov ecx, edi
call fcn.1004b610
jmp 0x10071b26
mov esi, 0xfffd
xor eax, eax
mov word [edi + 0x376c], ax
movzx eax, si
mov ecx, edi
push eax
call fcn.1004b610
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0xc], 1
jne case.0x10071bfb.527
call fcn.10070480
test al, al
je case.0x10071bfb.527
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0
mov dword [esi + 4], ecx
jne 0x10071baf
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x10
push eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 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.1004b840
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
lea eax, [edx - 0x201]
cmp eax, 0xa2
ja case.0x10071bfb.527
movzx eax, byte [eax + 0x10071ef8]
jmp dword [eax*4 + 0x10071edc]
cmp dword [esi + 4], ecx
jne 0x10071c0e
mov dword [esi + 4], 0
movss xmm1, dword [0x100b2ab4]
mov ecx, edi
movaps xmm2, xmm1
mov byte [esi + 8], 0
call fcn.1004b840
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp edx, 0x204
je 0x10071c49
cmp edx, 0x206
jne 0x10071c4e
mov esi, 1
cmp edx, 0x207
je 0x10071c5e
cmp edx, 0x209
jne 0x10071c63
mov esi, 2
cmp edx, 0x20b
je 0x10071c73
cmp edx, 0x20d
jne 0x10071c83
mov esi, dword [ebp + 8]
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0
jne 0x10071ca5
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10071ca1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
bts eax, esi
push 1
mov dword [ecx + 0xc], eax
mov ecx, edi
push esi
call fcn.1004ba10
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp edx, 0x205
sete cl
mov dword [esp + 0x10], ecx
cmp edx, 0x208
jne 0x10071ce9
mov ecx, 2
jmp 0x10071d01
cmp edx, 0x20c
jne 0x10071d05
mov ecx, dword [ebp + 8]
shr ecx, 0x10
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 3
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0xc]
btr eax, ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x10071d28
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x14]
jne 0x10071d24
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, edi
call fcn.1004ba10
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
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 [0x100b29b8]
call fcn.1004bb20
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
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 [0x100b29b8]
call fcn.1004bb20
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 7
jne case.0x10071bfb.527
mov byte [esi + 0x25], 1
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret