Function at 0x4d22e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615fd2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x68e4d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x128]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4d2368
mov edx, dword [ebp + 8]
cmp dword [edx], 8
jle 0x4d2368
mov eax, dword [ebp + 8]
cmp dword [eax], 0x13
jge 0x4d2368
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x48], 0
je 0x4d2357
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x48]
mov edx, dword [eax + 0x15c]
call edx
jmp 0x4d2363
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004b2a70
jmp 0x4d2a71
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x15
jne 0x4d237f
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x1ad], 1
jmp 0x4d2a71
mov eax, dword [ebp + 8]
cmp dword [eax], 0x14
jne 0x4d2396
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x1ad], 0
jmp 0x4d2a71
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 3
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0xf
ja case.0x4d23bb.1
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x4d2a94]
jmp dword [eax*4 + 0x4d2a84]
mov dword [ebp - 0x14], 0
push str.AutoListItem
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4d26b2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4d2406
mov dword [ebp - 0x54], 1
jmp 0x4d240d
mov dword [ebp - 0x54], 0
mov dl, byte [ebp - 0x54]
mov byte [ebp - 0x15], dl
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4d2429
mov dword [ebp - 0x58], 1
jmp 0x4d2430
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x17], cl
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x4d2477
movzx eax, byte [ebp - 0x17]
test eax, eax
jne 0x4d2477
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004d5ef0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004d3b50
jmp 0x4d26b2
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4d24c9
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
call edx
movzx eax, al
test eax, eax
jne 0x4d24ae
mov byte [ebp - 0x16], 1
jmp 0x4d24b2
mov byte [ebp - 0x16], 0
movzx ecx, byte [ebp - 0x16]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x14]
call edx
jmp 0x4d26b2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx + 0x5c8]
jge 0x4d24ee
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
jmp 0x4d24fa
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5c8]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx + 0x5c8]
jle 0x4d2516
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], eax
jmp 0x4d2522
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5c8]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
push 0x697b18
push 8
call fcn.0053762b
add esp, 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x64], 0
je 0x4d2554
mov ecx, dword [ebp - 0x64]
call fcn.004bf480
mov dword [ebp - 0x68], eax
jmp 0x4d255b
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x5b8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5b8]
mov edx, dword [eax + 4]
call edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004cd2d0
jmp 0x4d25ae
push 0
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004c0440
lea edx, [ebp - 0x9c]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.004cd4b0
push eax
lea ecx, [ebp - 0x40]
call fcn.004c03b0
movzx eax, al
test eax, eax
je 0x4d2607
lea ecx, [ebp - 0x40]
call fcn.004c0420
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x70]
jl 0x4d25ea
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x74]
jle 0x4d2605
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x5b8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5b8]
mov edx, dword [eax + 0xc]
call edx
jmp 0x4d259d
mov ecx, dword [ebp - 0x2c]
call fcn.004cd340
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
je 0x4d2639
push 1
mov ecx, dword [ebp - 0x6c]
call fcn.004c0630
mov dword [ebp - 0x94], eax
jmp 0x4d2643
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x38], edx
jmp 0x4d2654
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x74]
jg 0x4d26b2
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5dc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5dc]
add eax, 0x558
mov edx, dword [ecx + 0x558]
mov ecx, eax
mov eax, dword [edx]
call eax
mov dword [ebp - 0x78], eax
push str.AutoListItem
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4d26b0
push 1
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x14]
call eax
jmp 0x4d264b
jmp 0x4d2a71
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
sub eax, 0xd
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x54
ja case.0x4d26de.1
mov ecx, dword [ebp - 0x3c]
movzx edx, byte [ecx + 0x4d2ac8]
jmp dword [edx*4 + 0x4d2aa4]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4d26fb
mov dword [ebp - 0x7c], 1
jmp 0x4d2702
mov dword [ebp - 0x7c], 0
mov cl, byte [ebp - 0x7c]
mov byte [ebp - 0x18], cl
movzx edx, byte [ebp - 0x18]
test edx, edx
je 0x4d2718
mov ecx, dword [ebp - 0x10]
call fcn.004d5cd0
jmp 0x4d2a71
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x5c8], 1
jge 0x4d275d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5dc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5dc]
add ecx, 0x558
mov edx, dword [edx + 0x558]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jle 0x4d275d
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c8], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5c8]
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x4d2777
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jl 0x4d27d5
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x558]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4d27d3
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x4d27d3
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004d5ef0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004d3b50
jmp 0x4d27d5
jmp 0x4d276e
jmp 0x4d2a71
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5dc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5dc]
add ecx, 0x558
mov edx, dword [edx + 0x558]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jle 0x4d2847
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x5dc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5dc]
add ecx, 0x558
mov edx, dword [edx + 0x558]
mov eax, dword [edx + 0xc]
call eax
sub eax, 1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x5c8], eax
jl 0x4d2847
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5c8]
sub eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c8], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x5c8]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x4d2861
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x20], eax
jge 0x4d28d5
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4d28d3
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x4d28d3
push 0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004d5ef0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004d3b50
jmp 0x4d28d5
jmp 0x4d2858
jmp 0x4d2a71
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d8]
call eax
jmp 0x4d2a71
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1dc]
call eax
jmp 0x4d2a71
mov dword [ebp - 0x24], 0
jmp 0x4d2916
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x24], eax
jge 0x4d2984
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x4d2982
push 0
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004d5ef0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004d3b50
jmp 0x4d2984
jmp 0x4d290d
jmp 0x4d2a71
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0xc]
call edx
sub eax, 1
mov dword [ebp - 0x28], eax
jmp 0x4d29b1
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4d2a12
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x558
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x558]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx + 0x11c]
call eax
movzx ecx, al
test ecx, ecx
je 0x4d2a10
push 0
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004d5ef0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004d3b50
jmp 0x4d2a12
jmp 0x4d29a8
jmp 0x4d2a71
jmp 0x4d2a71
jmp case.0x4d23bb.1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x4d2a41
cmp dword [ebp - 0x88], 1
je 0x4d2a53
jmp case.0x4d23bb.1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d0]
call eax
jmp 0x4d2a71
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1d4]
call eax
jmp 0x4d2a71
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004b2a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4