Function at 0x45aff0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28c], ecx
xor eax, eax
mov word [ebp - 0x260], ax
push 0x256
push 0
lea ecx, [ebp - 0x25e]
push ecx
call fcn.00431910
add esp, 0xc
mov byte [ebp - 0x261], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x28c]
mov cl, byte [ebp + 0xc]
mov byte [eax], cl
mov edx, dword [ebp - 0x28c]
mov byte [edx + 1], 0
mov eax, dword [ebp - 0x28c]
mov byte [eax + 3], 0
mov ecx, dword [ebp - 0x28c]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x28c]
mov byte [edx + 2], 0
mov eax, dword [ebp - 0x28c]
mov byte [eax + 5], 0
mov ecx, dword [ebp - 0x270]
mov dx, word [ecx]
mov word [ebp - 0x274], dx
movzx eax, word [ebp - 0x274]
test eax, eax
je 0x45b533
movzx ecx, word [ebp - 0x274]
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
sub edx, 0x25
mov dword [ebp - 0x290], edx
cmp dword [ebp - 0x290], 0x59
ja case.0x45b0ca.1
mov eax, dword [ebp - 0x290]
movzx ecx, byte [eax + 0x45b580]
jmp dword [ecx*4 + 0x45b55c]
mov edx, dword [ebp - 0x28c]
mov byte [edx + 1], 1
jmp 0x45b51f
mov eax, dword [ebp - 0x28c]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0x28c]
call fcn.0045ae20
jmp 0x45b51f
mov ecx, dword [ebp - 0x28c]
mov byte [ecx + 3], 1
push 0
push 0
push 1
push 0x12
mov ecx, dword [ebp - 0x28c]
call fcn.0045abb0
jmp 0x45b51f
mov edx, dword [ebp - 0x28c]
mov byte [edx + 2], 1
push 0
push 0
push 1
push 0x10
mov ecx, dword [ebp - 0x28c]
call fcn.0045abb0
jmp 0x45b51f
mov eax, dword [ebp - 0x28c]
mov byte [eax + 4], 1
push 0
push 0
push 1
push 0x11
mov ecx, dword [ebp - 0x28c]
call fcn.0045abb0
jmp 0x45b51f
mov ecx, dword [ebp - 0x28c]
mov byte [ecx + 5], 1
push 0
push 0
push 1
push 0x5b
mov ecx, dword [ebp - 0x28c]
call fcn.0045abb0
jmp 0x45b51f
push 0
push 1
push 1
push 0xd
mov ecx, dword [ebp - 0x28c]
call fcn.0045abb0
mov ecx, dword [ebp - 0x28c]
call fcn.0045ae20
jmp 0x45b51f
mov edx, dword [ebp - 0x270]
add edx, 2
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x278]
movzx ecx, word [eax]
test ecx, ecx
je 0x45b1e0
mov edx, dword [ebp - 0x278]
movzx eax, word [edx]
cmp eax, 0x7d
je 0x45b1e0
mov ecx, dword [ebp - 0x278]
add ecx, 2
mov dword [ebp - 0x278], ecx
jmp 0x45b1b4
mov edx, dword [ebp - 0x278]
sub edx, dword [ebp - 0x270]
sar edx, 1
mov dword [ebp - 0x27c], edx
cmp dword [ebp - 0x27c], 0x258
jbe 0x45b207
xor al, al
jmp 0x45b54a
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x270]
add ecx, 2
push ecx
lea edx, [ebp - 0x260]
push edx
call fcn.00436b18
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x27c]
mov word [ebp + ecx*2 - 0x262], ax
mov dword [ebp - 0x26c], 0xffffffff
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x270]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x270], ecx
mov edx, 0xffff
mov word [ebp - 4], dx
push 4
push str.VKEY
lea eax, [ebp - 0x260]
push eax
call fcn.00436a72
add esp, 0xc
test eax, eax
jne 0x45b29d
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x278]
push edx
call fcn.00436b78
add esp, 4
mov word [ebp - 4], ax
jmp 0x45b4bb
push 4
push str.BEEP
lea eax, [ebp - 0x260]
push eax
call fcn.00436a72
add esp, 0xc
test eax, eax
jne 0x45b353
lea ecx, [ebp - 0x256]
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x284], edx
push 0x47c84c
mov eax, dword [ebp - 0x278]
push eax
call fcn.004194a0
add esp, 8
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
je 0x45b34e
xor ecx, ecx
mov edx, dword [ebp - 0x284]
mov word [edx], cx
mov eax, dword [ebp - 0x284]
add eax, 2
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.00436b78
add esp, 4
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x284]
push edx
call fcn.00436b78
add esp, 4
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x45b4bb
push 0xb
push 0x47c850
lea edx, [ebp - 0x260]
push edx
call fcn.00436a72
add esp, 0xc
test eax, eax
jne 0x45b38f
lea eax, [ebp - 0x248]
mov dword [ebp - 0x278], eax
push 0
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.0045aa70
add esp, 8
jmp 0x45b4bb
push 5
push str.DELAY
lea edx, [ebp - 0x260]
push edx
call fcn.00436a72
add esp, 0xc
test eax, eax
jne 0x45b3fd
lea eax, [ebp - 0x256]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
movzx edx, word [ecx]
cmp edx, 0x3d
jne 0x45b3e0
mov eax, dword [ebp - 0x278]
add eax, 2
push eax
call fcn.00436b78
add esp, 4
mov ecx, dword [ebp - 0x28c]
mov dword [ecx + 8], eax
jmp 0x45b3f8
mov edx, dword [ebp - 0x278]
push edx
call fcn.00436b78
add esp, 4
mov ecx, dword [ebp - 0x28c]
mov dword [ecx + 0xc], eax
jmp 0x45b4bb
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.0045a890
add esp, 8
mov word [ebp - 4], ax
cmp dword [ebp - 0x26c], 0xffffffff
je 0x45b4bb
mov ecx, 1
mov word [ebp - 0x268], cx
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx*8 + 0x48b8e0]
push eax
call fcn.004318e8
add esp, 4
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.004318e8
add esp, 4
cmp eax, dword [ebp - 0x27c]
jbe 0x45b48c
mov edx, dword [ebp - 0x27c]
lea eax, [ebp + edx*2 - 0x260]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.00436b78
add esp, 4
mov word [ebp - 0x268], ax
mov edx, dword [ebp - 0x26c]
movzx eax, byte [edx*8 + 0x48b8e5]
test eax, eax
je 0x45b4bb
mov ecx, dword [ebp - 0x26c]
movzx dx, byte [ecx*8 + 0x48b8e4]
movzx eax, dx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
cmp ecx, 0xffff
je 0x45b4ec
push 1
movzx edx, word [ebp - 0x268]
push edx
movzx eax, word [ebp - 4]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.0045aeb0
mov ecx, dword [ebp - 0x28c]
call fcn.0045ae20
jmp 0x45b51f
movzx ecx, word [ebp - 0x274]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov word [ebp - 4], ax
push 1
push 1
movzx edx, word [ebp - 4]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.0045aeb0
mov ecx, dword [ebp - 0x28c]
call fcn.0045ae20
mov eax, dword [ebp - 0x270]
add eax, 2
mov dword [ebp - 0x270], eax
jmp 0x45b075
mov ecx, dword [ebp - 0x28c]
mov byte [ecx + 1], 0
mov ecx, dword [ebp - 0x28c]
call fcn.0045ae20
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 8