Function at 0x1005eb00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [section..data], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
jne 0x1005ede7
push esi
push edi
nop dword [eax + eax]
mov esi, 1
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ecx, ax
mov eax, dword [ebx]
lea eax, [eax + esi*2]
xchg word [eax], cx
inc esi
cmp esi, 0xff
jl 0x1005eb25
mov ecx, dword [0x1019e01c]
test ecx, ecx
jle 0x1005edb9
mov eax, 0x3e8
cdq
idiv ecx
cdq
mov edi, eax
mov ebx, edx
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc], ebx
push eax
call fcn.1005edf0
mov eax, edi
add esp, 4
or eax, ebx
jne 0x1005eb7b
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], ebx
jmp 0x1005ebe9
test ebx, ebx
jg 0x1005eb89
jl 0x1005eb85
test edi, edi
jae 0x1005eb89
or al, 0xff
jmp 0x1005eb8b
mov al, 1
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
test al, al
jle 0x1005ebf0
push 0
push 0xf4240
push dword [ebp - 0xc]
push edi
call fcn.1010fe00
mov ecx, eax
or edi, 0xffffffff
sub edi, ecx
mov eax, 0x7fffffff
sbb eax, edx
cmp esi, edi
jne 0x1005ebc1
cmp ebx, eax
je 0x1005ebde
cmp ebx, eax
jg 0x1005ebcf
jl 0x1005ebcb
cmp esi, edi
jae 0x1005ebcf
or al, 0xff
jmp 0x1005ebd1
mov al, 1
test al, al
jns 0x1005ebde
add esi, ecx
adc edx, ebx
mov dword [ebp - 4], edx
jmp 0x1005ebe9
mov eax, 0x7fffffff
or esi, 0xffffffff
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
nop dword [eax]
call sub.MSVCP140.dll__Query_perf_frequency
mov edi, eax
mov esi, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
call sub.MSVCP140.dll__Query_perf_counter
mov ebx, eax
mov eax, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
cmp edi, 0x989680
jne 0x1005ec31
test esi, esi
jne 0x1005ec31
mov ecx, 0x64
mul ecx
mov ebx, eax
mov eax, dword [ebp - 0xc]
mul ecx
add ebx, edx
mov esi, eax
jmp 0x1005ece1
cmp edi, 0x16e3600
jne 0x1005ec92
test esi, esi
jne 0x1005ec92
push esi
push edi
push eax
push ebx
call fcn.1010fd50
push 0
push 0x16e3600
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.1010fe00
sub ebx, eax
mov eax, dword [ebp - 0x14]
push 0
push 0x3b9aca00
sbb eax, edx
push eax
push ebx
call fcn.1010fe00
push 0
push 0x16e3600
push edx
push eax
call fcn.1010fd50
mov dword [ebp - 0x14], eax
mov ecx, 0x3b9aca00
mov eax, esi
mov ebx, edx
mov esi, dword [ebp - 0x14]
mul ecx
mov ecx, eax
mov eax, edi
jmp 0x1005ecd4
push ebx
push esi
push edi
push eax
push ebx
call fcn.101100c0
mov esi, ebx
pop ebx
nop
push 0
push 0x3b9aca00
push esi
push ecx
mov ebx, eax
mov edi, edx
call fcn.1010fe00
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push eax
call fcn.1010fd50
mov esi, eax
mov dword [ebp - 0x1c], edx
mov ecx, 0x3b9aca00
mov eax, edi
mul ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [ebp - 0x1c]
mov edx, 0x3b9aca00
mul edx
add ecx, edx
add esi, eax
adc ebx, ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp edx, esi
jne 0x1005ecf3
cmp ecx, ebx
je 0x1005edd5
cmp ecx, ebx
jg 0x1005ed01
jl 0x1005ecfd
cmp edx, esi
jae 0x1005ed01
or al, 0xff
jmp 0x1005ed03
mov al, 1
test al, al
jle 0x1005edd5
mov edi, edx
sub edi, esi
mov esi, ecx
sbb esi, ebx
cmp edi, 0x914f0000
jne 0x1005ed27
cmp esi, 0x4e94
je 0x1005edaa
cmp esi, 0x4e94
jg 0x1005ed3d
jl 0x1005ed39
cmp edi, 0x914f0000
jae 0x1005ed3d
or al, 0xff
jmp 0x1005ed3f
mov al, 1
test al, al
jns 0x1005edaa
push 0
push 0xf4240
push esi
push edi
call fcn.1010fd50
push 0
mov ebx, eax
mov eax, edx
push 0xf4240
push eax
push ebx
mov dword [ebp - 0xc], eax
call fcn.1010fe00
cmp eax, edi
jne 0x1005ed6e
cmp edx, esi
je 0x1005ed99
cmp edx, esi
jg 0x1005ed7c
jl 0x1005ed78
cmp eax, edi
jae 0x1005ed7c
or al, 0xff
jmp 0x1005ed7e
mov al, 1
test al, al
jns 0x1005ed99
mov eax, dword [ebp - 0xc]
add ebx, 1
push ebx
adc eax, 0
mov dword [ebp - 0x1c], eax
call sub.KERNEL32.dll_Sleep
jmp 0x1005ebf0
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x1c], eax
call sub.KERNEL32.dll_Sleep
jmp 0x1005ebf0
push 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x1005ebf0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0xf
push eax
mov dword [ebp - 0x2c], 0
call fcn.1005e810
add esp, 4
jmp 0x1005edd8
mov ebx, dword [ebp - 0x10]
cmp byte [section..data], 0
je 0x1005eb20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret