Function at 0x59e0f0
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x619677
mov eax, dword fs:[0]
push eax
sub esp, 0x144
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x6f2e9c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0059c8d0
mov eax, dword [ebx + 0x114]
mov ebp, dword [0x6f2e9c]
push 0
push 0
push 0x101f
push eax
mov dword [esp + 0x170], 0
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x16c]
mov esi, eax
mov eax, dword [ecx]
or edi, 0xffffffff
cmp eax, esi
jne 0x59e2fe
mov eax, dword [ecx + 8]
mov edx, dword [0x6f2e9c]
mov dword [esp + 0x8c], edi
cmp eax, 0xfffffecc
ja 0x59e1b9
je case.0x59e19b.328
add eax, 0x149
cmp eax, 3
ja case.default.0x59e19b
jmp dword [eax*4 + 0x59eb78]
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], edi
call fcn.0059c950
mov al, 1
jmp 0x59e6a8
cmp eax, 0xfffffecd
je case.0x59e19b.327
cmp eax, 0xfffffece
je case.0x59e19b.326
cmp eax, 0xfffffffb
je 0x59e205
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x168]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.0056f970
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x160], edi
call fcn.0059c950
mov al, bl
jmp 0x59e6a8
mov ebp, dword [0x6f7d5c]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x94], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x114]
push ecx
push eax
mov dword [esp + 0x30], edx
call edi
test eax, eax
je 0x59e25b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x20]
push ecx
push esi
call edi
push 0
push 0
push 0x1200
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x59e42d
lea edx, [esp + 0x30]
push edx
push edi
push 0x1207
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x59e2b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x59e2bc
inc edi
cmp edi, dword [esp + 0x18]
jl 0x59e281
jmp 0x59e42d
mov dword [esp + 0x90], edi
jmp 0x59e42d
mov ebp, dword [0x6f7d60]
cmp ebp, edx
jne 0x59e2e2
mov ebp, dword [0x6f7d64]
cmp ebp, edx
jne 0x59e2e2
mov ebp, dword [0x6f7d68]
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x90], eax
jmp 0x59e42d
cmp eax, dword [ebx + 0x114]
jne 0x59e692
cmp byte [ebx + 0x16c], 0
mov edx, ecx
mov edi, dword [edx + 0xc]
lea esi, [edx + 0xc]
je 0x59e330
mov eax, dword [edx + 8]
cmp eax, 0xffffff9b
je 0x59eacb
cmp eax, 0xffffff9c
je 0x59eacb
test edi, edi
jl 0x59e361
mov ecx, ebx
call fcn.0059b710
cmp edi, eax
jge 0x59e361
mov edx, dword [ebx + 0x114]
mov eax, edi
call fcn.0059b7e0
mov edx, dword [esp + 0x16c]
test eax, eax
je 0x59e361
mov ecx, dword [eax + 4]
mov dword [esp + 0xc0], ecx
mov eax, dword [edx + 8]
lea ecx, [eax + 0xb3]
cmp ecx, 0xb0
ja case.0x59e37d.178
movzx ecx, byte [ecx + 0x59ebcc]
jmp dword [ecx*4 + 0x59eb88]
mov ebp, dword [0x6f7d34]
cmp ebp, dword [0x6f2e9c]
jne 0x59e398
mov ebp, dword [0x6f7d30]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
jmp 0x59e42d
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov byte [esp + 0x160], 1
cmp eax, 0xffffff97
jne 0x59e3e1
push esi
lea ecx, [esp + 0xdc]
call fcn.0059b870
jmp 0x59e3e8
mov dword [esp + 0xdc], esi
mov eax, dword [ebx + 0x114]
mov edi, dword [esp + 0xdc]
mov ebp, dword [0x6f7d38]
push eax
lea esi, [esp + 0xa0]
call fcn.0059c3f0
mov edx, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x8c], edx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x160], 0
call fcn.0059c9b0
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x54], ebp
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x48]
push edx
call eax
mov ecx, dword [esp + 0x16c]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 8]
cmp eax, 0xffffff50
je 0x59eb2c
cmp eax, 0xffffff96
je 0x59eb2c
cmp eax, 0xffffff98
je 0x59eb0c
cmp byte [esp + 0x17], 0
je 0x59e487
mov eax, dword [esp + 0x170]
xor edx, edx
cmp byte [esp + 0x80], dl
sete dl
mov dword [eax], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0059c950
mov al, byte [esp + 0x17]
jmp 0x59e6a8
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov byte [esp + 0x160], 2
cmp eax, 0xffffff96
jne 0x59e4d0
push esi
lea ecx, [esp + 0xdc]
call fcn.0059b870
jmp 0x59e4d7
mov dword [esp + 0xdc], esi
mov esi, dword [esp + 0xdc]
mov ecx, 0xf
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [esp + 0x130], esi
je 0x59e501
cmp dword [esp + 0x120], 0xffffffff
jne 0x59e53d
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x59e535
call fcn.00552400
mov eax, dword [ebx + 0x150]
mov dword [eax + 0x114], esi
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x59e52f
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebx + 0x150], esi
mov byte [esp + 0xd0], 1
mov edi, dword [esp + 0xdc]
mov ebp, dword [0x6f7d3c]
push 0
lea esi, [esp + 0xa0]
call fcn.0059c3f0
mov eax, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x8c], eax
jmp 0x59e419
mov ecx, dword [edx + 0x10]
mov ebp, dword [0x6f7d58]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], ecx
jmp 0x59e42d
mov ebp, dword [0x6f7d44]
mov dword [esp + 0x8c], 0xffffffff
jmp 0x59e42d
cmp dword [ebx + 0x168], 0
je 0x59e692
mov ebp, dword [0x6f7d40]
mov eax, edi
mov dword [esp + 0x8c], edi
call fcn.0059d980
jmp 0x59e42d
mov ebp, dword [0x6f7d54]
mov dword [esp + 0x8c], edi
jmp 0x59e42d
test byte [edx + 0x1c], 8
je 0x59e686
cmp edi, 0xffffffff
je 0x59e686
mov eax, dword [esp + 0x16c]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], 0xe
call fcn.0059cb90
mov al, 1
test byte [esp + 0x18], al
jne 0x59e640
test byte [esp + 0x1c], al
je 0x59e640
mov ebp, dword [0x6f7d78]
mov dword [esp + 0x8c], edi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and esi, 2
and eax, 2
cmp esi, eax
je 0x59e686
cmp ebp, dword [0x6f2e9c]
je 0x59e66f
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x54], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x48]
push eax
call edx
jmp 0x59e676
mov dword [esp + 0x8c], edi
mov ebp, dword [0x6f7d48]
test esi, esi
jne 0x59e686
mov ebp, dword [0x6f7d4c]
cmp ebp, dword [0x6f2e9c]
jne 0x59e42d
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0059c950
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret 0xc
movzx edi, word [esi]
push 4
push 1
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0059beb0
mov esi, eax
cmp esi, 0xffffffff
je 0x59e70e
cmp di, 0xd
je 0x59e6e7
cmp di, 0x20
jne 0x59e70e
call fcn.0054df90
test al, al
jne 0x59e70e
call fcn.0054dfb0
test al, al
jne 0x59e70e
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x59e70e
mov ebp, dword [0x6f7d74]
jmp 0x59e734
mov ebp, dword [0x6f7d50]
movzx edi, di
push 0
push edi
call fcn.0054d930
add esp, 8
mov dword [esp + 0x84], eax
test eax, eax
jne 0x59e734
mov dword [esp + 0x84], edi
mov dword [esp + 0xa8], esi
mov dword [esp + 0x8c], esi
cmp esi, 0xffffffff
je 0x59e42d
push esi
lea eax, [esp + 0xd8]
push eax
mov ecx, ebx
call fcn.0059cd80
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 3
call fcn.0050f610
lea ecx, [esp + 0xd4]
mov byte [esp + 0x160], 0
call fcn.00401017
push esi
mov ecx, ebx
call fcn.0059ce80
mov dword [esp + 0xc0], eax
jmp 0x59e42d
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0056f970
test al, al
jne 0x59eacb
cmp edi, 0xffffffff
je 0x59e692
mov ebp, dword [0x6f7d74]
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
mov dword [esp + 0x94], edi
call fcn.0059cd80
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 4
call fcn.0050f610
lea ecx, [esp + 0x28]
mov byte [esp + 0x160], 0
call fcn.00401017
push edi
mov ecx, ebx
call fcn.0059ce80
mov dword [esp + 0xc0], eax
jmp 0x59e42d
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0056f970
test al, al
jne 0x59eacb
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebx + 0x114]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebx + 0x114]
lea edx, [esp + 0x30]
push edx
push 0
push 0x1012
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x59e42d
test byte [esp + 0x38], 0xe
je 0x59e42d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebp, dword [0x6f7d6c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
jmp 0x59e42d
mov eax, dword [esp + 0x16c]
push eax
mov ecx, ebx
call fcn.0059e010
mov ecx, dword [esp + 0x170]
test eax, eax
mov dword [ecx], eax
setne bl
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0059c950
mov al, bl
jmp 0x59e6a8
mov esi, dword [esi]
mov edx, dword [edx + 0x10]
cmp esi, edx
mov ebp, dword [0x6f7d7c]
jg 0x59e692
mov ecx, ebx
mov dword [esp + 0x88], esi
call fcn.0059b710
cmp edx, eax
jge 0x59e93c
mov dword [esp + 0x8c], edx
jmp 0x59e42d
dec eax
mov dword [esp + 0x8c], eax
jmp 0x59e42d
mov eax, dword [ebx + 0xcc]
shr eax, 9
test al, 1
je case.0x59e37d.178
mov ecx, ebx
call fcn.0059b710
cmp eax, 0x3e8
jg case.0x59e37d.178
mov ecx, dword [esp + 0x170]
mov dword [ecx], 0xffffffff
test byte [edx + 0x10], 2
je 0x59e692
mov edx, dword [esp + 0x16c]
mov ebp, dword [edx + 0x14]
push ebp
call fcn.0050ec30
mov esi, dword [esi]
add esp, 4
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0059b710
cmp esi, eax
mov dword [esp + 0x1c], eax
jg 0x59e692
mov edi, esi
cmp edi, eax
jne 0x59e9b7
xor edi, edi
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0059cd80
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
push ebp
call fcn.005b8781
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x20]
sete byte [esp + 0x17]
call fcn.00401017
cmp byte [esp + 0x17], 0
jne 0x59e9f7
inc edi
cmp edi, esi
je 0x59ea02
mov eax, dword [esp + 0x1c]
jmp 0x59e9b1
mov esi, dword [esp + 0x170]
mov dword [esi], edi
jmp 0x59ea09
mov esi, dword [esp + 0x170]
mov eax, dword [esi]
or edi, 0xffffffff
cmp eax, edi
jne 0x59ea1e
mov dword [esp + 0x160], edi
jmp 0x59e69d
push 6
push 6
push eax
mov ecx, ebx
call fcn.0059df60
mov edx, dword [esi]
push edx
mov ecx, ebx
call fcn.0059c000
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], edi
call fcn.0059c950
mov al, 1
jmp 0x59e6a8
mov eax, dword [ebx + 0xcc]
shr eax, 9
test al, 1
je case.0x59e37d.178
test byte [esi], 1
mov edi, dword [esi + 4]
je 0x59eaa6
mov eax, dword [esi + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c4]
push eax
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
dec eax
push eax
push ecx
push edx
call fcn.005c0af5
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00401017
test byte [esi], 2
je 0x59eabf
mov ecx, dword [esi + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2cc]
push ecx
push edi
mov ecx, ebx
call edx
mov dword [esi + 0x1c], eax
test byte [esi], 8
je 0x59eacb
mov dword [esi + 0x10], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0059c950
mov al, 1
jmp 0x59e6a8
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0056f970
mov bl, al
jmp 0x59e8f0
mov ecx, dword [esp + 0x170]
mov dword [ecx], 1
mov ecx, ebx
call fcn.0059dc20
mov dword [ebx + 0x168], 0
jmp 0x59eacb
movzx edx, byte [esp + 0x80]
mov eax, dword [esp + 0x170]
mov dword [eax], edx
mov ecx, dword [ebx + 0x150]
xor esi, esi
cmp ecx, esi
je 0x59eacb
call fcn.00552400
mov eax, dword [ebx + 0x150]
mov dword [eax + 0x114], esi
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x59eb6d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x150], esi
jmp 0x59eacb