Function at 0x100af4b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1054c008]
mov ebx, 0x861110
push edi
push 7
call ebx
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
push 8
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
push 0xc
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
push 0xe
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
push 0xf
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
push 0x41
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
push 0x4e
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
cmp dword [0x10190538], 1
je 0x100afc5c
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 2
call edi
test ax, ax
jns 0x100af772
push 0x11
call edi
test ax, ax
jns 0x100af772
cmp byte [0x101965d5], 1
jne 0x100af772
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101ac2f0]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x100afc5c
cmp word [esi], 0
jl 0x100afc5c
cmp dword [0x102c32f0], 0
mov dword [ebp - 0xc0], 0xdff308c1
push 9
je 0x100af686
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 0x100af5f8
push 0xd
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
jne 0x100afc5c
xorps xmm0, xmm0
push 0x10
movss dword [ebp - 0xc8], xmm0
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100af624
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc8], xmm0
movd xmm1, dword [0x879340c]
lea eax, [edi - 0xbe]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [ebp - 0xc8]
comiss xmm1, xmm0
jbe 0x100af662
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0
add al, byte [esi + 0x43]
jmp 0x100af744
push 0x4d
call ebx
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100af74a
lea eax, [edi - 0x17c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x100af704
call ebx
mov ecx, eax
mov edi, 0x85ec20
call edi
test al, al
je 0x100af6a5
push 0xd
call ebx
mov ecx, eax
call edi
test al, al
jne 0x100afc5c
xorps xmm0, xmm0
push 0x10
movss dword [ebp - 0xc8], xmm0
call ebx
mov ecx, eax
call edi
test al, al
je 0x100af6cc
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc8], xmm0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x101440d4]
subss xmm0, dword [ebp - 0xc8]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100af649
push 0x4d
call ebx
mov ecx, eax
call edi
test al, al
je 0x100af74a
movss xmm0, dword [0x10143f28]
movd xmm1, dword [0x879340c]
subss xmm0, dword [ebp - 0xc8]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100af74a
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 0x100af74a
add al, 0x20
mov byte [ebp - 0xba], al
mov edx, 8
mov byte [ebp - 0xb9], 0
lea ecx, [ebp - 0xc0]
call fcn.100d0350
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret
push 2
call edi
test ax, ax
jns 0x100af908
push 0x11
call edi
test ax, ax
jns 0x100af908
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [0x101ac2f0]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x100afc5c
cmp byte [esi + 0x61], 0
jg 0x100afc5c
movzx eax, word [esi]
mov ecx, eax
movsx edi, ax
lea eax, [ecx - 0x103e]
cmp ax, 0xa
jbe 0x100afc5c
lea eax, [ecx - 0xe3e]
cmp ax, 0xa
jbe 0x100afc5c
lea eax, [ecx - 0x163e]
cmp ax, 0xa
jbe 0x100afc5c
lea eax, [ecx - 0x143e]
cmp ax, 0xa
jbe 0x100afc5c
lea eax, [ecx - 0x123e]
cmp ax, 0xa
jbe 0x100afc5c
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], edi
push eax
lea eax, [ebp - 0xc4]
mov ecx, 0x101859e0
push eax
call fcn.1002d270
mov eax, dword [ebp - 0xbc]
mov ecx, dword [0x101859e0]
cmp byte [eax + 0xd], 0
jne 0x100af83f
cmp edi, dword [eax + 0x10]
jge 0x100af841
mov eax, ecx
cmp eax, ecx
jne 0x100afc5c
push 0xb3
lea eax, [ebp - 0xb7]
mov byte [ebp - 0xb8], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [0x7e452a]
lea eax, [ebp - 0xab]
push 0x3c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [0x8128ac4]
add esp, 0x18
test eax, eax
je 0x100af89d
movq xmm0, qword [eax]
movq qword [ebp - 0xb5], xmm0
mov ax, word [eax + 8]
mov word [ebp - 0xad], ax
jmp 0x100af8c3
xorps xmm0, xmm0
mov word [ebp - 0xad], 0
movq qword [ebp - 0xb5], xmm0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov ecx, 0x1a
lea edi, [ebp - 0x6f]
rep movsd dword es:[edi], dword [esi]
mov edx, 0xb4
lea ecx, [ebp - 0xb8]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov word [ebp - 0xb8], 0xb4c1
mov byte [ebp - 0xb6], 0x78
call fcn.100d0350
call ebx
pop edi
pop esi
mov dword [0x101ac2f0], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret
push 2
call edi
test ax, ax
jns 0x100afc5c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [0x101ac304]
add ecx, 0x12c
cmp eax, ecx
jb 0x100afc5c
movzx eax, word [esi]
test ax, ax
js 0x100afc5c
movsx edi, ax
mov ecx, 0x102c18a8
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], edi
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.1002d270
mov eax, dword [ebp - 0xbc]
mov ecx, dword [0x102c18a8]
cmp byte [eax + 0xd], 0
jne 0x100af975
cmp edi, dword [eax + 0x10]
jge 0x100af977
mov eax, ecx
cmp eax, ecx
je 0x100af985
cmp byte [esi + 0x16], 1
jg 0x100afc5c
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 [0x102c32f0], eax
je 0x100afb36
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 0x100afa9b
push 0xd
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afa9b
lea eax, [edi - 0xbe]
cmp dword [0x879340c], eax
jle 0x100afa22
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0x300
add al, byte [esi + 0x43]
jmp 0x100afc38
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afa84
lea eax, [edi - 0x17c]
cmp dword [0x879340c], eax
jle 0x100afa84
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 0x100afc45
add al, 0x20
mov byte [ebp - 0xba], al
jmp 0x100afc45
mov al, byte [esi + 0x44]
shl al, 3
add al, byte [esi + 0x43]
mov word [ebp - 0xbc], 3
jmp 0x100afc38
xorps xmm0, xmm0
mov eax, 0x861110
push 0x10
movss dword [ebp - 0xc8], xmm0
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afacc
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc8], xmm0
movd xmm1, dword [0x879340c]
lea eax, [edi - 0xbe]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [ebp - 0xc8]
comiss xmm1, xmm0
jbe 0x100afb0a
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0
add al, byte [esi + 0x43]
jmp 0x100afc38
push 0x4d
mov eax, 0x861110
call eax
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afc3e
lea eax, [edi - 0x17c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x100afbf8
mov edi, 0x861110
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afb8f
push 0xd
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afb8f
cmp dword [0x879340c], 0x1cc
jg 0x100afa09
push 0x4d
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afa84
cmp dword [0x879340c], 0x104
jmp 0x100afa44
xorps xmm0, xmm0
push 0x10
movss dword [ebp - 0xc8], xmm0
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afbbb
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc8], xmm0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x101440d4]
subss xmm0, dword [ebp - 0xc8]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100afaf1
push 0x4d
call edi
mov ecx, eax
mov eax, 0x85ec20
call eax
test al, al
je 0x100afc3e
movss xmm0, dword [0x10143f28]
movd xmm1, dword [0x879340c]
subss xmm0, dword [ebp - 0xc8]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100afc3e
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 0x100afc3e
add al, 0x20
mov byte [ebp - 0xba], al
mov byte [ebp - 0xb9], 0
mov edx, 8
lea ecx, [ebp - 0xc0]
call fcn.100d0350
call ebx
mov dword [0x101ac304], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10131804
mov esp, ebp
pop ebp
ret