Function at 0x6c944c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov dword [ebp - 0x64], ecx
mov esi, edx
mov dword [ebp - 8], eax
mov byte [ebp - 0x71], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x228]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x218]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x214]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x224], 0
je 0x6c94f8
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x228]
mov eax, dword [ebp - 8]
mov dword [edi + 0x21c], eax
mov byte [edi + 0x21a], 0
mov byte [edi + 0x219], 0
mov byte [edi + 0x221], 1
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0xd4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x228]
mov al, byte [eax + 0x210]
add al, 0xfe
sub al, 2
setb al
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x228]
mov al, byte [eax + 0x219]
mov byte [ebp - 0x1d], al
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x6c9c2d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x296]
mov byte [ebp - 0x59], al
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0x59]
mov byte [eax + 0x2c1], dl
lea ecx, [ebp - 0x41]
mov edx, dword [ebp - 0x64]
mov eax, esi
call fcn.0041f9dc
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x30]
mov eax, ebx
mov edx, dword [0x6c3470]
call fcn.00403fb8
test al, al
jne 0x6c95b1
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 8]
call fcn.0045f564
push eax
call sub.user32.dll_GetWindowRect
lea ecx, [ebp - 0xb8]
xor edx, edx
xor eax, eax
call fcn.0041f9dc
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 8]
call fcn.004587b8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x49]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
dec edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
dec eax
call fcn.0041f9dc
jmp 0x6c9616
lea eax, [ebp - 0x8c]
push eax
mov eax, ebx
call fcn.0045f564
push eax
call sub.user32.dll_GetWindowRect
lea ecx, [ebp - 0xb8]
xor edx, edx
xor eax, eax
call fcn.0041f9dc
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.004587b8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x49]
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x30]
mov edx, dword [ebx + 0x4c]
dec edx
mov eax, dword [ebx + 0x48]
dec eax
call fcn.0041f9dc
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x84]
sub dword [ebp - 0x41], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x80]
sub dword [ebp - 0x3d], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl byte [ebp - 0x4b]
mov eax, dword [ebp - 8]
cmp byte [eax + 0x292], 0
setne byte [ebp - 0x51]
mov dl, 1
mov eax, dword [0x41e52c]
call fcn.00403dfc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x292], 2
je 0x6c9671
push ebp
call fcn.006c92dc
pop ecx
jmp 0x6c968e
mov eax, dword [ebp - 8]
cmp byte [eax + 0x224], 0
je 0x6c968e
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x228]
mov eax, dword [ebp - 0x50]
call fcn.00420f04
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6c96b4
inc eax
mov dword [ebp - 0x7c], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x50]
call fcn.004210b0
call fcn.006c5340
inc ebx
dec dword [ebp - 0x7c]
jne 0x6c969f
mov dl, 1
mov eax, dword [0x41e52c]
call fcn.00403dfc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
dec eax
sub eax, 0xffffffff
jl 0x6c98be
inc eax
mov dword [ebp - 0x7c], eax
mov ebx, 0xffffffff
mov eax, 0x20
call fcn.00402ab4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
xor edx, edx
mov dword [eax + 0x1c], edx
xor edx, edx
push ebp
push 0x6c988d
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 0x78]
cmp ebx, 0xffffffff
jne 0x6c9767
xor eax, eax
mov dword [esi], eax
lea eax, [esi + 4]
push eax
call sub.user32.dll_SetRectEmpty
push 1
push 0
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0x238]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x228]
call fcn.006c3c34
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xd4]
mov eax, dword [ebp - 0xb0]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x18], eax
lea edx, [esi + 0x14]
mov eax, dword [ebp - 8]
call fcn.006c7c5c
jmp 0x6c981c
mov edx, ebx
mov eax, dword [ebp - 0x50]
call fcn.004210b0
mov edi, eax
mov dword [esi], edi
lea eax, [esi + 4]
push eax
mov eax, edi
call fcn.0045f564
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x228]
cmp eax, dword [esi]
je 0x6c97f3
push 0
mov eax, dword [esi]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0x238]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x228]
call fcn.006c3c34
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xd4]
mov eax, dword [ebp - 0xb0]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x18], eax
mov eax, dword [esi]
mov al, byte [eax + 0x210]
add al, 0xfe
sub al, 2
setb cl
lea edx, [esi + 0x14]
mov eax, dword [ebp - 8]
call fcn.006c7c2c
jmp 0x6c981c
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
call fcn.0041f9dc
mov eax, dword [ebp - 0xb0]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x78]
cmp dword [eax], 0
je 0x6c9878
mov dl, 1
mov eax, dword [0x41e52c]
call fcn.00403dfc
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov dl, 1
call fcn.006c4434
mov esi, eax
test esi, esi
jl 0x6c9878
inc esi
xor edi, edi
lea ecx, [ebp - 0x72]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov edx, edi
call fcn.006c42bc
movsx eax, ax
cmp byte [ebp - 0x72], 0
je 0x6c9868
or eax, 0x10000
mov edx, dword [ebp - 0x78]
mov edx, dword [edx + 0x1c]
xchg edx, eax
call fcn.00420f04
inc edi
dec esi
jne 0x6c984b
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.00420f04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6c98b4
inc ebx
dec dword [ebp - 0x7c]
jne 0x6c96dc
call fcn.006ad3f8
call sub.user32.dll_GetCursor
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x59], 0
jne 0x6c98f3
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 - 0x60], eax
jmp 0x6c98f8
xor eax, eax
mov dword [ebp - 0x60], eax
xor edx, edx
push ebp
push 0x6c9afa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.0045f564
push eax
call sub.user32.dll_SetCapture
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x224]
mov byte [ebp - 0x4a], al
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_SetRectEmpty
lea eax, [ebp - 0x31]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [ebp - 0x31]
mov dword [ebp - 0x39], eax
mov eax, dword [ebp - 0x2d]
mov dword [ebp - 0x35], eax
push ebp
call fcn.006c8e48
pop ecx
mov byte [ebp - 0x4a], 1
jmp 0x6c9a62
push 0
push 0
push 0
lea eax, [ebp - 0xa8]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x6c9a79
dec eax
je 0x6c9973
jmp 0x6c9984
mov eax, dword [ebp - 0xa0]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x6c9a79
mov eax, dword [ebp - 0xa4]
mov edx, eax
cmp edx, 0x202
jg 0x6c99b9
je 0x6c9a44
add edx, 0xffffff00
sub edx, 2
jb 0x6c99d1
sub edx, 0xfe
je 0x6c9a06
dec edx
je 0x6c9a79
jmp 0x6c9a4a
sub edx, 0x203
je 0x6c9a79
dec edx
sub edx, 6
jb 0x6c9a62
jmp 0x6c9a4a
mov edx, dword [ebp - 0xa0]
sub edx, 0x11
je 0x6c99e7
sub edx, 0xa
je 0x6c9a79
jmp 0x6c9a62
cmp eax, 0x100
sete dl
cmp dl, byte [ebp - 0x4b]
je 0x6c9a62
cmp eax, 0x100
sete byte [ebp - 0x4b]
push ebp
call fcn.006c8e48
pop ecx
jmp 0x6c9a62
call sub.user32.dll_GetMessagePos
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0x70]
call fcn.00408ac0
mov eax, dword [ebp - 0x39]
cmp eax, dword [ebp - 0x70]
jne 0x6c9a2f
mov eax, dword [ebp - 0x35]
cmp eax, dword [ebp - 0x6c]
je 0x6c9a62
push ebp
call fcn.006c8e48
pop ecx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x39], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x35], eax
jmp 0x6c9a62
mov byte [ebp - 0x71], 1
jmp 0x6c9a79
lea eax, [ebp - 0xa8]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0xa8]
push eax
call sub.user32.dll_DispatchMessageA
mov eax, dword [ebp - 8]
call fcn.0045f564
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
je 0x6c9953
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9b01
mov eax, dword [ebp - 8]
call fcn.0045f564
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x6c9a9e
call sub.user32.dll_ReleaseCapture
cmp byte [ebp - 0x59], 0
jne 0x6c9af9
mov eax, dword [ebp - 0x60]
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 - 0x60], eax
lea eax, [ebp - 0x1c]
push eax
push 1
cmp dword [ebp - 0xc], 0
setne al
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.006c8834
mov eax, dword [ebp - 0x60]
push eax
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_ReleaseDC
push 0
call sub.user32.dll_LockWindowUpdate
ret