Function at 0x1005a120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1030aa50]
push edi
push 7
mov edi, 0x861110
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x1005a45a
push 8
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1005a45a
push 0xc
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1005a45a
push 0xe
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1005a45a
push 0xf
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1005a45a
push 0x41
call edi
mov ecx, eax
call ebx
test al, al
jne 0x1005a45a
push 0x4e
call fcn.10039dd0
test al, al
jne 0x1005a45a
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [0x1030a810]
add ecx, 0xbb8
cmp eax, ecx
jbe 0x1005a45a
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 2
call edi
mov ecx, 0x8000
test cx, ax
je 0x1005a287
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x1005a287
push 0xb3
lea eax, [ebp - 0xb7]
push 0
push eax
call fcn.10066f50
mov word [ebp - 0xb8], 0xb4c1
lea eax, [ebp - 0xab]
mov byte [ebp - 0xb6], 0x78
push dword [0x7e452a]
push 0x3c
push eax
call fcn.1006e07d
push 0xa
push dword [0x8128ac4]
mov edx, 0xa
lea ecx, [ebp - 0xb5]
call fcn.1005aa30
push 0x6b
push esi
mov edx, 0x6b
lea ecx, [ebp - 0x6f]
call fcn.1005aa30
movzx edx, byte [ebp - 0xb7]
lea ecx, [ebp - 0xb8]
add esp, 0x28
call fcn.1005d410
call ebx
pop edi
pop esi
mov dword [0x1030a810], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006459b
mov esp, ebp
pop ebp
ret
push 2
call edi
mov ecx, 0x8000
test cx, ax
je 0x1005a45a
call ebx
mov ecx, dword [0x1030a824]
add ecx, 0x12c
cmp eax, ecx
jb 0x1005a45a
cmp word [esi], 0
jl 0x1005a45a
xor eax, eax
mov dword [ebp - 0xbf], eax
push 9
mov word [ebp - 0xbb], ax
mov byte [ebp - 0xb9], al
mov dword [ebp - 0xc0], 0x17908c1
call fcn.10039dd0
test al, al
je 0x1005a387
push 0xd
call fcn.10039dd0
test al, al
je 0x1005a387
cmp dword [0x879340c], 0x1cc
jle 0x1005a31b
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0x300
add al, byte [esi + 0x43]
jmp 0x1005a436
push 0x4d
call fcn.10039dd0
test al, al
je 0x1005a370
cmp dword [0x879340c], 0x104
jle 0x1005a370
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 0x1005a443
add al, 0x20
mov byte [ebp - 0xba], al
jmp 0x1005a443
mov al, byte [esi + 0x44]
shl al, 3
add al, byte [esi + 0x43]
mov word [ebp - 0xbc], 3
jmp 0x1005a436
xorps xmm0, xmm0
push 0x10
movss dword [ebp - 0xc4], xmm0
call fcn.10039dd0
test al, al
je 0x1005a3ad
movss xmm0, dword [0xd24e88]
movss dword [ebp - 0xc4], xmm0
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x1008e708]
subss xmm0, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005a3e3
mov al, byte [esi + 0x44]
shl al, 3
add al, 0xc
mov word [ebp - 0xbc], 0
add al, byte [esi + 0x43]
jmp 0x1005a436
push 0x4d
call fcn.10039dd0
test al, al
je 0x1005a43c
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x1008e654]
subss xmm0, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005a43c
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 0x1005a43c
add al, 0x20
mov byte [ebp - 0xba], al
mov byte [ebp - 0xb9], 0
mov edx, 8
lea ecx, [ebp - 0xc0]
call fcn.1005d410
call ebx
mov dword [0x1030a824], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006459b
mov esp, ebp
pop ebp
ret