Function at 0x49b850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5126c2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x557460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x118]
call eax
mov edx, dword [ebp + 8]
test al, al
jne 0x49b8c0
mov eax, dword [edx]
sub eax, 9
cmp eax, 9
ja 0x49b8c0
mov ecx, dword [ebx + 0x48]
push edx
test ecx, ecx
je 0x49bdb7
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edx]
cmp eax, 0x15
jne 0x49b8e2
mov byte [ebx + 0x1ad], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x14
jne 0x49b902
mov byte [ebx + 0x1ad], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add eax, 0xfffffffd
cmp eax, 0xf
ja case.0x49bb0a.14
movzx eax, byte [eax + 0x49bde4]
jmp dword [eax*4 + 0x49bdd4]
mov ecx, dword [edx + 4]
push str.AutoListItem
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [ebp - 0x10], eax
test eax, eax
je case.0x49bb0a.13
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov di, ax
test di, di
push 0x10
sets byte [ebp + 0xb]
call esi
test ax, ax
sets al
test di, di
js 0x49b990
test al, al
jne 0x49b990
mov esi, dword [ebp - 0x10]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push eax
mov ecx, ebx
call fcn.0049de70
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
mov ecx, ebx
call fcn.0049c930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp + 0xb], 0
je 0x49b9d0
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov eax, dword [edi]
call dword [eax]
mov dword [ebx + 0x5c0], eax
mov ecx, edi
mov esi, dword [edi]
mov eax, dword [esi + 0x10]
call eax
test al, al
mov ecx, edi
sete al
movzx eax, al
push eax
call dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax]
mov edi, dword [ebx + 0x5c0]
mov esi, edi
cmp eax, edi
push 0x55f776
push 8
cmovl esi, eax
cmovg edi, eax
call fcn.0044079a
add esp, 8
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x49ba12
mov ecx, eax
call fcn.0049a0e0
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x49ba17
xor ecx, ecx
mov dword [ebp + 8], ecx
mov eax, dword [ebx + 0x5b0]
lea edx, [ebx + 0x5b0]
push ecx
mov ecx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], edx
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x49ba6c
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jl 0x49ba4f
cmp ecx, edi
jle 0x49ba5a
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00405ab0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx]
jne 0x49ba44
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
call fcn.00499d60
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.00499df0
mov eax, dword [ebp + 8]
push 0x14
push dword [eax]
call fcn.00440184
push 8
push dword [ebp + 8]
call fcn.00440184
add esp, 0x10
cmp esi, edi
jg case.0x49bb0a.13
nop word [eax + eax]
mov ecx, dword [ebx + 0x5d4]
add ecx, 0x550
push esi
mov eax, dword [ecx]
call dword [eax]
push str.AutoListItem
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x49bada
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x14]
inc esi
cmp esi, edi
jle 0x49bab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [edx + 0x14]
add eax, 0xfffffff3
cmp eax, 0x54
ja case.0x49bb0a.14
movzx eax, byte [eax + 0x49be18]
jmp dword [eax*4 + 0x49bdf4]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x49bb0a.13
mov ecx, ebx
call fcn.0049dd10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x5c0], 1
jge 0x49bb65
mov ecx, dword [ebx + 0x5d4]
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x49bb65
mov dword [ebx + 0x5c0], 1
mov esi, dword [ebx + 0x5c0]
sub esi, 1
js case.0x49bb0a.13
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebx + 0x550]
lea ecx, [ebx + 0x550]
push esi
call dword [eax]
mov ecx, eax
test ecx, ecx
je 0x49bba3
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
call eax
test al, al
jne 0x49bbbc
sub esi, 1
jns 0x49bb80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push esi
mov ecx, ebx
call fcn.0049de70
push esi
mov ecx, ebx
call fcn.0049c930
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x5d4]
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x49bc1c
mov ecx, dword [ebx + 0x5d4]
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x5c0]
dec eax
cmp ecx, eax
jl 0x49bc1c
lea eax, [ecx - 1]
mov dword [ebx + 0x5c0], eax
mov eax, dword [ebx + 0x550]
lea edi, [ebx + 0x550]
mov esi, dword [ebx + 0x5c0]
mov ecx, edi
inc esi
call dword [eax + 0xc]
cmp esi, eax
jge case.0x49bb0a.13
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax]
mov ecx, eax
test ecx, ecx
je 0x49bc5f
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
call eax
test al, al
jne 0x49bbbc
mov eax, dword [edi]
mov ecx, edi
inc esi
call dword [eax + 0xc]
cmp esi, eax
jl 0x49bc40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x550]
lea edi, [ebx + 0x550]
mov ecx, edi
xor esi, esi
call dword [eax + 0xc]
test eax, eax
jle case.0x49bb0a.13
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10c]
call eax
test al, al
jne 0x49bbbc
mov eax, dword [edi]
mov ecx, edi
inc esi
call dword [eax + 0xc]
cmp esi, eax
jl 0x49bcd6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x550]
lea ecx, [ebx + 0x550]
call dword [eax + 0xc]
mov esi, eax
sub esi, 1
js case.0x49bb0a.13
nop dword [eax + eax]
mov edx, dword [ebx + 0x550]
lea ecx, [ebx + 0x550]
push esi
call dword [edx]
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10c]
call eax
test al, al
jne 0x49bbbc
sub esi, 1
jns 0x49bd30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x49bd98
sub eax, 1
jne case.0x49bb0a.14
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edx
mov ecx, ebx
call fcn.0048b920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4