Function at 0x618d3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff0c
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 edx, edx
push ebp
push 0x6195ac
push dword fs:[edx]
mov dword fs:[edx], 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 0x618df3
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.00613a74
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 edx, edx
push ebp
push 0x619583
push dword fs:[edx]
mov dword fs:[edx], 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 [0x6126f0]
call fcn.00407e34
test al, al
jne 0x618ed3
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0056a620
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 - 0xe4]
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x18]
call fcn.0056114c
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
dec eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
dec eax
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 0x618f52
lea eax, [ebp - 0xc0]
push eax
mov eax, ebx
call fcn.0056a620
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 - 0xe4]
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
call fcn.0056114c
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0x58]
dec edx
mov dword [ebp - 0xa4], edx
mov eax, dword [eax + 0x5c]
dec eax
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 - 0xc0]
sub eax, dword [ebp - 0xb8]
sub dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xb4]
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 [0x4e1e98]
call fcn.00407bc8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x31a], 2
je 0x618fb0
push ebp
call fcn.00618bf4
pop ecx
jmp 0x618fcd
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2ac], 0
je 0x618fcd
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x2b0]
mov eax, dword [ebp - 0x54]
call fcn.00503cb4
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x618ff3
inc eax
mov dword [ebp - 0x7c], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x54]
call fcn.00503e38
call fcn.00614a2c
inc esi
dec dword [ebp - 0x7c]
jne 0x618fde
mov dl, 1
mov eax, dword [0x4e1e98]
call fcn.00407bc8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
dec eax
sub eax, 0xffffffff
jl 0x619243
inc eax
mov dword [ebp - 0x7c], eax
mov esi, 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.00503e20
mov dl, 1
mov eax, dword [0x6181d4]
call fcn.00407bc8
mov dword [ebp - 0x78], eax
xor eax, eax
push ebp
push 0x619217
push dword fs:[eax]
mov dword fs:[eax], esp
cmp esi, 0xffffffff
jne 0x6190b3
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 - 0xe4]
push eax
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 0x2c0]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2b0]
call fcn.00612fcc
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10c]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0xe4]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xe0]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x78]
lea edx, [eax + 0x18]
mov eax, dword [ebp - 0x18]
call fcn.00617410
jmp 0x6191a7
mov edx, esi
mov eax, dword [ebp - 0x54]
call fcn.00503e38
mov ebx, eax
mov eax, dword [ebp - 0x78]
mov dword [eax + 4], ebx
lea edx, [ebp - 0xf4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x78]
push esi
lea esi, [ebp - 0xf4]
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.0056a620
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 0x61917a
push 0
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0xe4]
push eax
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 0x2c0]
mov eax, ebx
call fcn.00612fcc
mov ecx, eax
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10c]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0xe4]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xe0]
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.006173e0
jmp 0x6191a7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0xa8], eax
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 0x61920d
mov eax, ebx
mov dl, 1
call fcn.00613848
inc eax
push eax
mov eax, dword [ebp - 0x78]
add eax, 0x20
mov ecx, 1
mov edx, dword [0x6181a0]
call fcn.0040bea4
add esp, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x20]
call fcn.0040bc90
mov edi, eax
test edi, edi
jl 0x61920d
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.006136d0
mov edx, dword [ebp - 0x78]
mov edx, dword [edx + 0x20]
mov dword [edx + ebx*8], eax
inc ebx
dec edi
jne 0x6191e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61922e
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x14]
call fcn.00503cb4
inc esi
dec dword [ebp - 0x7c]
jne 0x61901b
call fcn.006028ac
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 0x619281
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 0x619286
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
push ebp
push 0x619480
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.0056a620
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.00618750
pop ecx
mov byte [ebp - 0x4d], 1
jmp 0x6193d8
push 0
push 0
push 0
lea eax, [ebp - 0xdc]
push eax
call sub.user32.dll_GetMessageW
sub eax, 0xffffffff
je 0x6193ef
dec eax
je 0x6192f9
jmp 0x61930a
mov eax, dword [ebp - 0xd4]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x6193ef
mov ebx, dword [ebp - 0xd8]
mov eax, ebx
cmp eax, 0x202
jg 0x61933c
je 0x6193ba
add eax, 0xffffff00
sub eax, 2
jb 0x619353
sub eax, 0xfe
je 0x61938d
dec eax
je 0x6193ef
jmp 0x6193c0
sub eax, 0x203
je 0x6193ef
dec eax
sub eax, 6
jb 0x6193d8
jmp 0x6193c0
movzx eax, word [ebp - 0xd4]
sub ax, 0x11
je 0x61936c
sub ax, 0xa
je 0x6193ef
jmp 0x6193d8
cmp ebx, 0x100
sete al
cmp al, byte [ebp - 0x4e]
je 0x6193d8
cmp ebx, 0x100
sete byte [ebp - 0x4e]
push ebp
call fcn.00618750
pop ecx
jmp 0x6193d8
lea eax, [ebp - 0x70]
call fcn.00603d84
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x70]
jne 0x6193a5
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x6c]
je 0x6193d8
push ebp
call fcn.00618750
pop ecx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
jmp 0x6193d8
mov byte [ebp - 0x71], 1
jmp 0x6193ef
lea eax, [ebp - 0xdc]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0xdc]
push eax
call sub.user32.dll_DispatchMessageW
mov eax, dword [ebp - 0x18]
call fcn.0056a620
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
je 0x6192d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61948a
mov eax, dword [ebp - 0x18]
call fcn.0056a620
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x619414
call sub.user32.dll_ReleaseCapture
cmp byte [ebp - 0x5d], 0
jne 0x61947f
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 - 0xc0]
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 - 0xc0]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x18]
call fcn.00618020
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