Function at 0x1000b040
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
push 0xff
push ebx
lea eax, [ebx + 0x100]
mov dword [ebp - 0x3c], ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memmove]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0xc
xor esi, esi
push esi
call edi
test ax, ax
setne al
mov byte [ebx + esi], al
inc esi
cmp esi, 0xff
jl 0x1000b076
mov ecx, dword [0x1002d0e0]
lea eax, [ebp - 0x6c]
push eax
call fcn.100131c0
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0x200], eax
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0x204], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001d100
mov edi, dword [ebx + 0x228]
add esp, 4
mov esi, dword [edi]
cmp esi, edi
je 0x1000b126
mov eax, dword [esi + 0x10]
cmp byte [ebx + eax], 1
jne 0x1000b0df
cmp byte [eax + ebx + 0x100], 0
jne 0x1000b0df
mov ecx, dword [esi + 0x14]
call fcn.10020c00
cmp byte [esi + 0xd], 0
jne 0x1000b122
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1000b104
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1000b122
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1000b0f8
jmp 0x1000b122
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000b120
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x1000b120
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000b110
mov esi, eax
cmp esi, edi
jne 0x1000b0c4
cmp byte [ebx + 0x209], 0
je 0x1000b215
cmp byte [ebx + 1], 0
jne 0x1000b154
mov byte [ebx + 0x209], 0
mov dword [ebx + 0x20c], 0
mov dword [ebx + 0x210], 0
cmp byte [ebx + 0x209], 0
je 0x1000b215
mov al, byte [ebx + 1]
test al, al
je 0x1000b215
cmp al, 1
jne 0x1000b17d
cmp byte [ebx + 0x101], 0
je 0x1000b215
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
je 0x1000b1ab
mov eax, dword [ebx + 0x200]
sub eax, dword [ebx + 0x214]
mov dword [ecx + 0x34], eax
mov ecx, dword [ebx + 0x204]
mov eax, dword [ebx + 0x20c]
sub ecx, dword [ebx + 0x218]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebx + 0x210]
test ecx, ecx
je 0x1000b215
mov eax, dword [ebx + 0x200]
sub eax, dword [ebx + 0x214]
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x210]
push ecx
mov ecx, 0x1002f99c
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10005440
mov eax, dword [ebx + 0x210]
mov ecx, dword [ebx + 0x204]
sub ecx, dword [ebx + 0x218]
push ecx
mov dword [eax + 0x1c], ecx
mov ecx, 0x1002f9e4
mov eax, dword [ebx + 0x210]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10005440
mov ecx, 0x1002f8a0
call fcn.10004af0
mov ecx, ebx
test al, al
je 0x1000b2a4
cmp byte [ecx + 1], 1
jne 0x1000b2a4
cmp byte [ecx + 0x101], 0
jne 0x1000b2a4
mov edi, dword [0x1002cf30]
mov esi, dword [ecx + 0x200]
cmp esi, dword [edi + 0x18]
jle 0x1000b2a4
mov edx, dword [ecx + 0x204]
mov ebx, dword [edi + 0x1c]
cmp edx, ebx
jle 0x1000b2a4
mov eax, dword [edi + 0x20]
add eax, dword [edi + 0x18]
cmp esi, eax
jge 0x1000b2a4
mov eax, dword [edi + 0x24]
add eax, ebx
cmp edx, eax
jge 0x1000b2a4
lea eax, [ebx + 0x1c]
cmp edx, eax
jge 0x1000b2a4
mov byte [ecx + 0x209], 1
mov dword [ecx + 0x20c], 0
mov eax, dword [0x1002cf30]
mov dword [ecx + 0x210], eax
mov eax, dword [0x1002cf30]
sub esi, dword [eax + 0x18]
mov dword [ecx + 0x214], esi
mov eax, dword [0x1002cf30]
sub edx, dword [eax + 0x1c]
mov dword [ecx + 0x218], edx
mov edi, dword [ecx + 0x220]
mov dword [ebp - 0x50], edi
mov edi, dword [ecx + 0x21c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x54], edi
cmp edi, esi
je 0x1000b62f
mov ebx, dword [edi]
cmp byte [ebx], 0
je 0x1000b621
push 1
mov byte [ebp - 0x35], 0
call fcn.1000af70
mov ecx, dword [ebp - 0x3c]
test al, al
je 0x1000b459
mov edx, dword [ecx + 0x200]
cmp edx, dword [ebx + 0x34]
jle 0x1000b44e
mov eax, dword [ebx + 0x38]
cmp dword [ecx + 0x204], eax
jle 0x1000b44e
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x34]
cmp edx, eax
jge 0x1000b44e
mov eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x38]
cmp dword [ecx + 0x204], eax
jge 0x1000b44e
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.100209b0
mov ecx, dword [ebp - 0x3c]
movups xmm0, xmmword [eax]
mov edx, dword [ecx + 0x200]
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x48], eax
cmp edx, eax
jle 0x1000b41f
mov eax, dword [ebp - 0x10]
cmp dword [ecx + 0x204], eax
jle 0x1000b41f
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x54]
cmp edx, eax
jge 0x1000b41f
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x50]
cmp dword [ecx + 0x204], eax
jge 0x1000b41f
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.10020a40
mov ecx, dword [ebp - 0x3c]
movups xmm0, xmmword [eax]
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x48], eax
cmp dword [ecx + 0x200], eax
jle 0x1000b419
mov edx, dword [ecx + 0x204]
cmp edx, dword [ebp - 0x10]
jle 0x1000b419
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x48]
cmp dword [ecx + 0x200], eax
jge 0x1000b419
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
cmp edx, eax
jge 0x1000b419
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1000b459
mov eax, dword [ebx + 0x3c]
sub eax, 0x10
cdq
idiv dword [ebp - 0x48]
mov edx, dword [ecx + 0x200]
sub edx, dword [ebx + 0x34]
sub edx, 8
cmp edx, eax
jle 0x1000b40b
inc dword [ebp - 0x44]
sub edx, eax
cmp edx, eax
jg 0x1000b402
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x44]
mov eax, dword [eax + edx*4]
mov dword [ebx + 0x10], eax
jmp 0x1000b459
mov byte [ebp - 0x35], 1
jmp 0x1000b459
mov eax, dword [ecx + 0x204]
mov byte [ecx + 0x209], 1
mov dword [ecx + 0x20c], ebx
mov dword [ecx + 0x210], 0
sub edx, dword [ebx + 0x34]
mov dword [ecx + 0x214], edx
sub eax, dword [ebx + 0x38]
mov dword [ecx + 0x218], eax
mov dword [ebx + 0x18], 0
mov byte [ebx + 0x14], 0
cmp dword [ebx + 0x10], 0
je 0x1000b621
cmp byte [ebx + 0x14], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x5c], 0
je 0x1000b512
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1000b512
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x3d], 1
push ecx
mov ecx, eax
mov dword [ebp - 0x5c], eax
call fcn.100049e0
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx + 0x18]
push 2
call fcn.100049d0
mov ecx, dword [ebp - 0x3c]
test al, al
je 0x1000b512
mov esi, dword [ecx + 0x200]
mov eax, dword [ebp - 0x48]
cmp esi, eax
jle 0x1000b512
mov edx, dword [ecx + 0x204]
cmp edx, dword [ebp - 0x4c]
jle 0x1000b512
add eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x54]
cmp esi, eax
jge 0x1000b512
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x58]
cmp edx, eax
jge 0x1000b512
cmp byte [ebp - 0x35], 0
je 0x1000b512
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov byte [ebp - 0x35], 0
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov edx, eax
sub edx, esi
add edx, 3
shr edx, 2
mov dword [ebp - 0x4c], edx
xor edx, edx
cmp esi, eax
mov eax, dword [ebp - 0x4c]
cmova eax, edx
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1000b60d
mov edi, edx
nop
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1000b5fd
cmp byte [ebp - 0x3d], 0
je 0x1000b55c
cmp dword [ebp - 0x5c], eax
je 0x1000b5fd
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.100049e0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
push 2
call fcn.100049d0
mov ecx, dword [ebp - 0x3c]
test al, al
je 0x1000b5fd
mov eax, dword [ebp - 0x58]
cmp dword [ecx + 0x200], eax
jle 0x1000b5fd
mov edx, dword [ecx + 0x204]
cmp edx, dword [ebp - 0x48]
jle 0x1000b5fd
add eax, dword [ebp - 0x60]
cmp dword [ecx + 0x200], eax
jge 0x1000b5fd
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x64]
cmp edx, eax
jge 0x1000b5fd
cmp byte [ebp - 0x35], 0
je 0x1000b5fd
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
push 4
mov byte [ebp - 0x35], 0
call fcn.100049d0
mov ecx, dword [ebp - 0x3c]
test al, al
je 0x1000b5f2
mov eax, dword [ebp - 0x44]
mov byte [ebx + 0x14], 1
mov dword [ebx + 0x18], eax
jmp 0x1000b5fd
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
inc edi
add esi, 4
cmp edi, dword [ebp - 0x4c]
jne 0x1000b540
mov edi, dword [ebp - 0x54]
cmp byte [ebp - 0x35], 0
mov esi, dword [ebp - 0x50]
je 0x1000b621
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
add edi, 4
mov dword [ebp - 0x54], edi
cmp edi, esi
jne 0x1000b2c1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100212f9
mov esp, ebp
pop ebp
ret