Function at 0x773be0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff08
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x71], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2b0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2a0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x29c]
mov dword [ebp - 0x68], eax
xor ecx, ecx
push ebp
push 0x77449e
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x349], 1
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x34a], 0
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2ac], 0
je 0x773c97
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x34b], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2b0]
mov byte [eax + 0x2a2], 1
call fcn.0076e6a0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2b0]
movzx eax, byte [eax + 0x298]
add al, 0xfe
sub al, 2
setb al
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x34b]
mov byte [ebp - 0x1d], al
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x774475
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x31e]
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x18]
movzx edx, byte [ebp - 0x5d]
mov byte [eax + 0x34c], dl
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], esi
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x40]
mov eax, ebx
mov edx, dword [0x76c0ac]
call fcn.00406c20
test al, al
jne 0x773d96
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0051a434
push eax
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0xe8]
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x18]
call fcn.00510f78
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xb8], eax
mov eax, 1
call fcn.007595b0
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 0x58]
sub ebx, eax
mov eax, 1
call fcn.007595b0
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
pop edx
sub eax, edx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
jmp 0x773e33
lea eax, [ebp - 0xc4]
push eax
mov eax, ebx
call fcn.0051a434
push eax
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xe8]
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
call fcn.00510f78
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xb8], eax
mov eax, 1
call fcn.007595b0
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x40]
mov ebx, dword [edx + 0x58]
sub ebx, eax
mov eax, 1
call fcn.007595b0
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x5c]
pop edx
sub eax, edx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0xbc]
sub dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0xb8]
sub dword [ebp - 0x40], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl byte [ebp - 0x4e]
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x31a], 0
setne byte [ebp - 0x55]
mov dl, 1
mov eax, dword [0x4767c4]
call fcn.004069b4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x31a], 2
je 0x773e91
push ebp
call fcn.00773a98
pop ecx
jmp 0x773eae
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2ac], 0
je 0x773eae
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x2b0]
mov eax, dword [ebp - 0x54]
call fcn.0049abdc
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x773ed4
inc eax
mov dword [ebp - 0x7c], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x54]
call fcn.0049ad60
call fcn.0076f650
inc esi
dec dword [ebp - 0x7c]
jne 0x773ebf
mov dl, 1
mov eax, dword [0x4767c4]
call fcn.004069b4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
dec eax
sub eax, 0xffffffff
jl 0x774135
inc eax
mov dword [ebp - 0x7c], eax
mov esi, 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.0049ad48
mov dl, 1
mov eax, dword [0x772fbc]
call fcn.004069b4
mov dword [ebp - 0x78], eax
xor ecx, ecx
push ebp
push 0x774109
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp esi, 0xffffffff
jne 0x773f94
mov eax, dword [ebp - 0x78]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x78]
add eax, 8
push eax
call sub.user32.dll_SetRectEmpty
push 1
push 0
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 0x2c0]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2b0]
call fcn.0076dc08
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x110]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0xe8]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xe4]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x78]
lea edx, [eax + 0x18]
mov eax, dword [ebp - 0x18]
call fcn.00772048
jmp 0x774088
mov edx, esi
mov eax, dword [ebp - 0x54]
call fcn.0049ad60
mov ebx, eax
mov eax, dword [ebp - 0x78]
mov dword [eax + 4], ebx
lea edx, [ebp - 0xf8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x78]
push esi
lea esi, [ebp - 0xf8]
lea edi, [eax + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 2
mov eax, dword [ebp - 0x78]
add eax, 8
push eax
push 0
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
call fcn.0051a434
push eax
call sub.user32.dll_MapWindowPoints
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x2b0]
mov eax, dword [ebp - 0x78]
cmp ebx, dword [eax + 4]
je 0x77405b
push 0
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 0x2c0]
mov eax, ebx
call fcn.0076dc08
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x110]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0xe8]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xe4]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
movzx eax, byte [eax + 0x298]
add al, 0xfe
sub al, 2
setb cl
mov eax, dword [ebp - 0x78]
lea edx, [eax + 0x18]
mov eax, dword [ebp - 0x18]
call fcn.00772018
jmp 0x774088
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x5c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0xac]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xa8]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x78]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x7740ff
mov eax, ebx
mov dl, 1
call fcn.0076e470
inc eax
push eax
mov eax, dword [ebp - 0x78]
add eax, 0x20
mov ecx, 1
mov edx, dword [0x772f88]
call fcn.0040ae4c
add esp, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x7740d1
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x7740ff
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x20]
lea ecx, [eax + ebx*8 + 4]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.0076e2f8
mov edx, dword [ebp - 0x78]
mov edx, dword [edx + 0x20]
mov dword [edx + ebx*8], eax
inc ebx
dec edi
jne 0x7740db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x774120
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x14]
call fcn.0049abdc
inc esi
dec dword [ebp - 0x7c]
jne 0x773efc
call fcn.00758074
call sub.user32.dll_GetCursor
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_SetRectEmpty
cmp byte [ebp - 0x5d], 0
jne 0x774173
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 - 0x64], eax
jmp 0x774178
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
push ebp
push 0x774372
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.0051a434
push eax
call sub.user32.dll_SetCapture
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x2ac]
mov byte [ebp - 0x4d], al
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
push ebp
call fcn.007735d8
pop ecx
mov byte [ebp - 0x4d], 1
jmp 0x7742ca
push 0
push 0
push 0
lea eax, [ebp - 0xe0]
push eax
call sub.user32.dll_GetMessageW
sub eax, 0xffffffff
je 0x7742e1
dec eax
je 0x7741eb
jmp 0x7741fc
mov eax, dword [ebp - 0xd8]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x7742e1
mov ebx, dword [ebp - 0xdc]
mov eax, ebx
cmp eax, 0x202
jg 0x77422e
je 0x7742ac
add eax, 0xffffff00
sub eax, 2
jb 0x774245
sub eax, 0xfe
je 0x77427f
dec eax
je 0x7742e1
jmp 0x7742b2
sub eax, 0x203
je 0x7742e1
dec eax
sub eax, 6
jb 0x7742ca
jmp 0x7742b2
movzx eax, word [ebp - 0xd8]
sub ax, 0x11
je 0x77425e
sub ax, 0xa
je 0x7742e1
jmp 0x7742ca
cmp ebx, 0x100
sete al
cmp al, byte [ebp - 0x4e]
je 0x7742ca
cmp ebx, 0x100
sete byte [ebp - 0x4e]
push ebp
call fcn.007735d8
pop ecx
jmp 0x7742ca
lea eax, [ebp - 0x70]
call fcn.0075953c
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x70]
jne 0x774297
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x6c]
je 0x7742ca
push ebp
call fcn.007735d8
pop ecx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
jmp 0x7742ca
mov byte [ebp - 0x71], 1
jmp 0x7742e1
lea eax, [ebp - 0xe0]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0xe0]
push eax
call sub.user32.dll_DispatchMessageW
mov eax, dword [ebp - 0x18]
call fcn.0051a434
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
je 0x7741cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77437c
mov eax, dword [ebp - 0x18]
call fcn.0051a434
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x774306
call sub.user32.dll_ReleaseCapture
cmp byte [ebp - 0x5d], 0
jne 0x774371
mov eax, dword [ebp - 0x64]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_ReleaseDC
push 0x403
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDCEx
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0xc4]
push eax
call sub.user32.dll_SetRectEmpty
lea eax, [ebp - 0x10]
push eax
push 1
cmp dword [ebp - 0x1c], 0
setne al
push eax
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x18]
call fcn.00772d1c
mov eax, dword [ebp - 0x64]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_ReleaseDC
push 0
call sub.user32.dll_LockWindowUpdate
ret