Function at 0x100179f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
lea eax, [esi + 0x90]
mov dword [esi + 0x94], 0x10018930
mov ecx, dword fs:[0]
mov dword [esi + 0x90], ecx
mov dword fs:[0], eax
push dword [edi + 4]
push 0x100e1a6c
call fcn.10050d70
add esp, 8
cmp byte [edi + 0x10], 0
mov dword [esi + 0xc], edi
jne 0x10017c15
mov eax, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx], ecx
lea edi, [esi + 0x50]
push eax
push edi
call fcn.10018540
add esp, 8
movaps xmm0, xmmword [0x10072390]
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x10], 0x62616e45
mov dword [esi + 0x13], 0x64656c62
mov word [esi + 0x17], 0x2323
movsd xmm0, qword [esi + 0x20]
movsd qword [esi + 0x40], xmm0
movups xmm0, xmmword [esi + 0x10]
movaps xmmword [esi + 0x30], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
mov byte [esi + 0x10], 0
mov dword [esi + 0x98], 0
sub esp, 0xc
movzx eax, byte [esi + 8]
mov byte [esp], al
mov dword [esp + 8], edi
lea eax, [esi + 0x30]
mov dword [esp + 4], eax
lea ecx, [esi + 0x68]
call fcn.10018390
mov eax, dword [esi + 0x44]
cmp eax, 0x10
jb 0x10017b12
mov ecx, dword [esi + 0x30]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017b08
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov eax, dword [esi + 0x24]
cmp eax, 0x10
jb 0x10017b5c
mov ecx, dword [esi + 0x10]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017b52
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
mov eax, dword [esi + 0x64]
cmp eax, 0x10
jb 0x10017b94
mov ecx, dword [esi + 0x50]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017b8a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + 8]
mov byte [esi + 0x50], al
cmp dword [esi + 0x7c], 0x10
lea ecx, [esi + 0x68]
jb 0x10017baa
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x98], 1
lea eax, [esi + 0x50]
push eax
push ecx
call fcn.100525a0
add esp, 8
mov edi, dword [esi + 0xc]
movzx eax, byte [esi + 0x50]
cmp al, byte [edi + 8]
je 0x10017bd7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x7c]
cmp eax, 0x10
mov ebx, dword [ebp + 8]
jb 0x10017c15
mov ecx, dword [esi + 0x68]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017c08
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
mov edi, dword [esi + 0xc]
mov eax, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx], ecx
mov dword [esi + 0x98], 0xffffffff
lea ecx, [esi + 0x50]
push eax
push ecx
call fcn.10018540
add esp, 8
mov eax, dword [edi + 0xc]
mov edi, dword [eax*4 + 0x10071fc4]
xorps xmm0, xmm0
movaps xmmword [esi + 0x10], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
js 0x10017f79
mov ebx, eax
cmp eax, 0xf
ja 0x10017c8c
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xf
lea eax, [esi + 0x10]
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, esi
add ebx, 0x10
jmp 0x10017d10
mov dword [esi + 0x84], edi
mov dword [esi + 0x2c], ebx
or ebx, 0xf
cmp ebx, 0x17
mov ecx, 0x16
cmovae ecx, ebx
cmp ecx, 0xfff
mov dword [esi + 0x80], ecx
jb 0x10017cd4
lea eax, [ecx + 0x24]
mov dword [esi + 0x98], 2
push eax
call fcn.1006a064
add esp, 4
mov edi, eax
add edi, 0x23
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10017cec
lea eax, [ecx + 1]
mov dword [esi + 0x98], 2
push eax
call fcn.1006a064
add esp, 4
mov edi, eax
mov ebx, dword [esi + 0x2c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x20], ebx
mov eax, dword [esi + 0x80]
mov dword [esi + 0x24], eax
push ebx
push dword [esi + 0x84]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, edi
mov byte [ebx], 0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov eax, edx
sub eax, ecx
cmp eax, 2
jae 0x10017d58
mov dword [esi + 0x98], 3
sub esp, 0x10
movzx eax, byte [esi + 0x68]
mov byte [esp + 4], al
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x100e368a
mov dword [esp], 2
lea ecx, [esi + 0x10]
call fcn.10018650
jmp 0x10017d80
lea eax, [ecx + 2]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x10]
mov edi, eax
cmp edx, 0x10
jb 0x10017d6b
mov edi, dword [esi + 0x10]
mov word [edi + ecx], 0x2323
mov byte [edi + ecx + 2], 0
mov dword [esi + 0x98], 4
movsd xmm0, qword [eax + 0x10]
movsd qword [esi + 0x40], xmm0
movups xmm0, xmmword [eax]
movaps xmmword [esi + 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [esi + 0x98], 4
sub esp, 0xc
movzx eax, byte [esi + 8]
mov byte [esp], al
lea eax, [esi + 0x50]
mov dword [esp + 8], eax
lea eax, [esi + 0x30]
mov dword [esp + 4], eax
lea ecx, [esi + 0x68]
call fcn.10018390
mov eax, dword [esi + 0x44]
cmp eax, 0x10
jb 0x10017e04
mov ecx, dword [esi + 0x30]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017dfa
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov eax, dword [esi + 0x24]
cmp eax, 0x10
jb 0x10017e4e
mov ecx, dword [esi + 0x10]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017e44
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
mov eax, dword [esi + 0x64]
cmp eax, 0x10
jb 0x10017e86
mov ecx, dword [esi + 0x50]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017e7c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
xorps xmm0, xmm0
movlps qword [esi + 0x50], xmm0
cmp dword [esi + 0x7c], 0x10
lea ecx, [esi + 0x68]
jb 0x10017e99
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x98], 5
lea eax, [esi + 0x50]
push eax
push ecx
call fcn.10051800
add esp, 8
mov ecx, eax
test cl, 1
jne 0x10017ed3
jmp 0x10017f29
xor ecx, ecx
cmp edi, 0x1b
cmove edi, ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0xc], edi
test cl, 1
je 0x10017f29
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 1
mov dword [esi + 0x98], 5
lea eax, [esi + 0x50]
push eax
call fcn.10018060
add esp, 4
xor edi, edi
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop word cs:[eax + eax]
push edi
call ebx
test ax, ax
js 0x10017ec0
inc edi
cmp edi, 0xf3
jne 0x10017f10
mov ecx, dword [esi + 0x2c]
test cl, 1
jne 0x10017ed3
mov eax, dword [esi + 0x7c]
cmp eax, 0x10
jb 0x10017f5d
mov ecx, dword [esi + 0x68]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10017f53
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10017f73
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.1006a099
add esp, 8
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [esi + 0x98], 2
call fcn.10002890
nop dword [eax + eax]
push ebp
sub esp, 0x10
lea esi, [ebp - 0x9c]
mov ebp, dword [esi + 0x88]
lea ecx, [esi + 0x30]
call fcn.100045a0
add esp, 0x10
pop ebp
ret