Function at 0x1001a520
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
push 0xffffffffffffffff
push 0x10113f3e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push 0x20
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1010fe49
movups xmm0, xmmword [str.local_thirdperson]
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x1c], 0x11
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
mov cl, byte [0x1013f058]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x1017fff8
call fcn.1000dea0
mov al, byte [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x31], al
cmp ecx, 0xf
jbe 0x1001a605
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a5f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001a5f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
mov al, byte [ebp - 0x31]
add esp, 8
test al, al
je 0x1001a81f
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x20
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.1010fe49
movups xmm0, xmmword [str.local_thirdperson_key_style]
mov edx, eax
mov dword [ebp - 0x20], 0x1b
mov dword [ebp - 0x30], edx
add esp, 4
mov dword [ebp - 0x1c], 0x1f
movups xmmword [edx], xmm0
movq xmm0, qword [0x1013f06c]
movq qword [edx + 0x10], xmm0
mov cx, word [0x1013f074]
mov word [edx + 0x18], cx
mov al, byte [0x1013f076]
mov byte [edx + 0x1a], al
mov byte [edx + 0x1b], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x10180018
call fcn.1000de80
mov esi, dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1001a6c1
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a6b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001a6b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
xorps xmm0, xmm0
cmp esi, 2
jne 0x1001a7c3
push 0x20
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1010fe49
movups xmm0, xmmword [0x1013f078]
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x1c], 0x15
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
mov edx, dword [0x1013f088]
mov dword [eax + 0x10], edx
mov dl, byte [0x1013f08c]
mov byte [eax + 0x14], dl
mov byte [eax + 0x15], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push eax
mov ecx, 0x10180018
mov dword [ebp - 0x38], 1
call fcn.1000de80
push dword [eax]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov eax, dword [0x1017c300]
je 0x1001a762
movss xmm0, dword [0x1017b7f8]
subss xmm0, dword [eax]
call fcn.10003c50
comiss xmm0, dword [0x10144fb0]
mov byte [ebp - 0x31], 1
ja 0x1001a766
mov byte [ebp - 0x31], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1001a7a1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a792
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001a792
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
mov eax, dword [0x1017c300]
add esp, 8
cmp byte [ebp - 0x31], 0
je 0x1001a826
cmp byte [0x1017b744], 0
sete byte [0x1017b744]
movss xmm0, dword [eax]
movss dword [0x1017b7f8], xmm0
jmp 0x1001a826
sub esp, 0x18
mov esi, esp
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.1010fe49
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x15
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [0x1013f078]
movups xmmword [eax], xmm0
mov ecx, dword [0x1013f088]
mov dword [eax + 0x10], ecx
mov cl, byte [0x1013f08c]
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
call fcn.10031ca0
mov byte [0x1017b744], al
jmp 0x1001a826
mov byte [0x1017b744], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010fe2d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret