Function at 0x5aa8c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x39], 0
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, ebx
call fcn.00413238
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00441358
push eax
call sub.user32.dll_GetWindowRect
lea ecx, [ebp - 0x80]
xor edx, edx
xor eax, eax
call fcn.00413238
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x18]
call fcn.0043aa8c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x4c]
sub dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x48]
sub dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x3c]
dec edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
dec eax
call fcn.00413238
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl byte [ebp - 0x2d]
mov dl, 1
mov eax, dword [0x412264]
call fcn.00403230
mov dword [ebp - 0x34], eax
xor edx, edx
push ebp
push 0x5aad25
push dword fs:[edx]
mov dword fs:[edx], esp
push ebp
call fcn.005aa7b8
pop ecx
mov dl, 1
mov eax, dword [0x412264]
call fcn.00403230
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x5aad08
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0xc
call fcn.00402858
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x5aaa11
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebx], eax
push 0
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x204]
call fcn.005a6060
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc0]
mov eax, dword [ebp - 0x78]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dl, byte [eax + 0x264]
lea eax, [ebx + 4]
call fcn.005a5d7c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
call fcn.00413d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5aaa2d
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5aab3e
inc eax
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov eax, 0xc
call fcn.00402858
mov dword [ebp - 0x40], eax
xor eax, eax
push ebp
push 0x5aab18
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 0x40]
mov edx, ebx
mov eax, dword [ebp - 0x34]
call fcn.00413f08
mov dword [esi], eax
mov edx, ebx
mov eax, dword [ebp - 0x34]
call fcn.00413f08
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 0x204]
je 0x5aaabb
mov edx, ebx
mov eax, dword [ebp - 0x34]
call fcn.00413f08
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x204]
call fcn.005a6060
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc0]
mov eax, dword [ebp - 0x78]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 8], eax
jmp 0x5aaadb
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x88]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 8], eax
mov edx, ebx
mov eax, dword [ebp - 0x34]
call fcn.00413f08
mov al, byte [eax + 0x1f8]
add al, 0xfe
sub al, 2
setb dl
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0x266]
lea eax, [esi + 4]
call fcn.005a5de4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
call fcn.00413d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5aab34
inc ebx
dec dword [ebp - 0x44]
jne 0x5aaa42
call fcn.005a6294
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_LockWindowUpdate
push 0x403
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDCEx
mov dword [ebp - 0x38], eax
xor edx, edx
push ebp
push 0x5aacb8
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
call fcn.00441358
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
call sub.user32.dll_SetRectEmpty
push ebp
call fcn.005aa3a8
pop ecx
jmp 0x5aac4a
push 0
push 0
push 0
lea eax, [ebp - 0x70]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x5aac61
dec eax
je 0x5aabb6
jmp 0x5aabc4
mov eax, dword [ebp - 0x68]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x5aac61
mov eax, dword [ebp - 0x6c]
mov edx, eax
cmp edx, 0x202
jg 0x5aabeb
je 0x5aac32
add edx, 0xffffff00
sub edx, 2
jb 0x5aabfb
sub edx, 0xfe
je 0x5aac29
dec edx
je 0x5aac61
jmp 0x5aac38
sub edx, 0x203
je 0x5aac61
dec edx
sub edx, 6
jb 0x5aac4a
jmp 0x5aac38
mov edx, dword [ebp - 0x68]
sub edx, 0x11
je 0x5aac0a
sub edx, 0xa
je 0x5aac61
jmp 0x5aac4a
cmp eax, 0x100
sete dl
cmp dl, byte [ebp - 0x2d]
je 0x5aac4a
cmp eax, 0x100
sete byte [ebp - 0x2d]
push ebp
call fcn.005aa3a8
pop ecx
jmp 0x5aac4a
push ebp
call fcn.005aa3a8
pop ecx
jmp 0x5aac4a
mov byte [ebp - 0x39], 1
jmp 0x5aac61
lea eax, [ebp - 0x70]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x70]
push eax
call sub.user32.dll_DispatchMessageA
mov eax, dword [ebp - 0x18]
call fcn.00441358
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
je 0x5aab99
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5aacbf
mov eax, dword [ebp - 0x18]
call fcn.00441358
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x5aac86
call sub.user32.dll_ReleaseCapture
lea eax, [ebp - 0x14]
push eax
push 0
cmp dword [ebp - 4], 0
setne al
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.005a9d9c
mov eax, dword [ebp - 0x38]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_ReleaseDC
push 0
call sub.user32.dll_LockWindowUpdate
ret