Function at 0x100a6150
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x105a8448]
mov ebx, 0x861110
push edi
push 7
call ebx
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x100a689c
push 8
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100a689c
push 0xc
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100a689c
push 0xe
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100a689c
push 0xf
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100a689c
push 0x41
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100a689c
push 0x4e
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100a689c
cmp dword [0x101e8928], 1
je 0x100a689c
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 2
call edi
mov ecx, 0x8000
test cx, ax
je 0x100a641c
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x100a641c
cmp byte [0x101f09d5], 1
jne 0x100a641c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x10205ec8]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x100a689c
cmp word [esi], 0
jl 0x100a689c
cmp dword [0x1031e218], 0
mov dword [ebp - 0xc0], 0xdff308c1
push 9
je 0x100a6330
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d8]
cvttss2si edi, xmm0
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a62a2
push 0xd
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
jne 0x100a689c
xorps xmm0, xmm0
push 0x10
movss dword [ebp - 0xc4], xmm0
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a62ce
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc4], xmm0
movd xmm1, dword [0x879340c]
lea eax, [edi - 0xbe]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [ebp - 0xc4]
comiss xmm1, xmm0
jbe 0x100a630c
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0
add al, byte [esi + 0x43]
jmp 0x100a63ee
push 0x4d
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a63f4
lea eax, [edi - 0x17c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x100a63ae
call ebx
mov ecx, eax
mov edi, 0x85ec20
call edi
test al, al
je 0x100a634f
push 0xd
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100a689c
xorps xmm0, xmm0
push 0x10
movss dword [ebp - 0xc4], xmm0
call ebx
mov ecx, eax
call edi
test al, al
je 0x100a6376
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc4], xmm0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x101966f0]
subss xmm0, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100a62f3
push 0x4d
call ebx
mov ecx, eax
call edi
test al, al
je 0x100a63f4
movss xmm0, dword [0x1019653c]
movd xmm1, dword [0x879340c]
subss xmm0, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100a63f4
mov al, byte [esi + 0x44]
shl al, 3
add al, 0x4c
mov word [ebp - 0xbc], 0
add al, byte [esi + 0x43]
cmp dword [0x8793410], 0x82
mov byte [ebp - 0xba], al
jle 0x100a63f4
add al, 0x20
mov byte [ebp - 0xba], al
mov edx, 8
mov byte [ebp - 0xb9], 0
lea ecx, [ebp - 0xc0]
call fcn.100c4990
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
push 2
call edi
mov ebx, 0x8000
test bx, ax
je 0x100a654f
push 0x11
call edi
test bx, ax
je 0x100a654f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x10205ec8]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x100a689c
cmp byte [esi + 0x61], 0
jg 0x100a689c
movzx ecx, word [esi]
movsx edx, cx
lea eax, [ecx - 0x103e]
cmp ax, 0xa
jbe 0x100a689c
lea eax, [ecx - 0xe3e]
cmp ax, 0xa
jbe 0x100a689c
lea eax, [ecx - 0x163e]
cmp ax, 0xa
jbe 0x100a689c
lea eax, [ecx - 0x143e]
cmp ax, 0xa
jbe 0x100a689c
lea eax, [ecx - 0x123e]
cmp ax, 0xa
jbe 0x100a689c
push edx
call fcn.10045f10
test al, al
jne 0x100a689c
push 0xb4
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.1013beb0
push dword [0x7e452a]
lea eax, [ebp - 0xab]
push 0x3c
push eax
call fcn.1014d7f8
push 0xa
push dword [0x8128ac4]
mov edx, 0xa
lea ecx, [ebp - 0xb5]
call fcn.100a6dc0
push 0x6b
push esi
mov edx, 0x6b
lea ecx, [ebp - 0x6f]
call fcn.100a6dc0
add esp, 0x28
mov word [ebp - 0xb8], 0xb4c1
mov edx, 0xb4
mov byte [ebp - 0xb6], 0x78
lea ecx, [ebp - 0xb8]
call fcn.100c4990
call edi
pop edi
pop esi
mov dword [0x10205ec8], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
push 2
call edi
test bx, ax
je 0x100a689c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [0x10205edc]
add ecx, 0x12c
cmp eax, ecx
jb 0x100a689c
movzx eax, word [esi]
test ax, ax
js 0x100a689c
mov edi, dword [0x1031b280]
movsx edx, ax
mov eax, edi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100a65ac
cmp dword [ecx + 0x10], edx
jge 0x100a65a2
mov ecx, dword [ecx + 8]
jmp 0x100a65a6
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x100a6598
cmp eax, edi
je 0x100a65b5
cmp edx, dword [eax + 0x10]
jge 0x100a65b7
mov eax, edi
cmp eax, edi
je 0x100a65c5
cmp byte [esi + 0x16], 1
jg 0x100a689c
xor eax, eax
mov dword [ebp - 0xbf], eax
mov word [ebp - 0xbb], ax
mov byte [ebp - 0xb9], al
mov dword [ebp - 0xc0], 0x17908c1
push 9
cmp dword [0x1031e218], eax
je 0x100a6776
movd xmm0, dword [0xe61e58]
mov eax, 0x861110
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d8]
cvttss2si edi, xmm0
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a66db
push 0xd
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a66db
lea eax, [edi - 0xbe]
cmp dword [0x879340c], eax
jle 0x100a6662
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0x300
add al, byte [esi + 0x43]
jmp 0x100a6878
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a66c4
lea eax, [edi - 0x17c]
cmp dword [0x879340c], eax
jle 0x100a66c4
mov al, byte [esi + 0x44]
shl al, 3
add al, 0x4c
mov word [ebp - 0xbc], 0x300
add al, byte [esi + 0x43]
cmp dword [0x8793410], 0x82
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xba], al
jle 0x100a6885
add al, 0x20
mov byte [ebp - 0xba], al
jmp 0x100a6885
mov al, byte [esi + 0x44]
shl al, 3
add al, byte [esi + 0x43]
mov word [ebp - 0xbc], 3
jmp 0x100a6878
xorps xmm0, xmm0
mov eax, 0x861110
push 0x10
movss dword [ebp - 0xc4], xmm0
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a670c
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc4], xmm0
movd xmm1, dword [0x879340c]
lea eax, [edi - 0xbe]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [ebp - 0xc4]
comiss xmm1, xmm0
jbe 0x100a674a
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0
add al, byte [esi + 0x43]
jmp 0x100a6878
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a687e
lea eax, [edi - 0x17c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x100a6838
mov edi, 0x861110
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a67cf
push 0xd
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a67cf
cmp dword [0x879340c], 0x1cc
jg 0x100a6649
push 0x4d
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a66c4
cmp dword [0x879340c], 0x104
jmp 0x100a6684
xorps xmm0, xmm0
push 0x10
movss dword [ebp - 0xc4], xmm0
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a67fb
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc4], xmm0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x101966f0]
subss xmm0, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100a6731
push 0x4d
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100a687e
movss xmm0, dword [0x1019653c]
movd xmm1, dword [0x879340c]
subss xmm0, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100a687e
mov al, byte [esi + 0x44]
shl al, 3
add al, 0x4c
mov word [ebp - 0xbc], 0
add al, byte [esi + 0x43]
cmp dword [0x8793410], 0x82
mov byte [ebp - 0xba], al
jle 0x100a687e
add al, 0x20
mov byte [ebp - 0xba], al
mov byte [ebp - 0xb9], 0
mov edx, 8
lea ecx, [ebp - 0xc0]
call fcn.100c4990
call ebx
mov dword [0x10205edc], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ed713
mov esp, ebp
pop ebp
ret