Function at 0x40e650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x45b4b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call ebx
mov edi, dword [esi + 0x68]
shr eax, 0xf
and al, 1
mov byte [0x45e899], al
je 0x40e72d
mov byte [0x45e799], 1
cmp edi, 0xff
jge 0x40ee6f
push edi
call ebx
shr eax, 0xf
and al, 1
mov byte [edi + 0x45e888], al
je 0x40e722
cmp byte [edi + 0x45e788], 0
jne 0x40e722
push 2
push 0x453964
lea ecx, [ebp - 0x28]
mov byte [edi + 0x45e788], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004028c0
sub esp, 0xc
mov dword [ebp - 4], 0
push 6
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040ee90
cmp dword [ebp - 0x14], 0x10
jb 0x40ee6f
push dword [ebp - 0x28]
call fcn.0042d3ab
add esp, 4
jmp 0x40ee6f
mov byte [edi + 0x45e788], al
jmp 0x40ee6f
cmp edi, 0xff
jge 0x40e784
push edi
call ebx
shr eax, 0xf
and al, 1
mov byte [edi + 0x45e888], al
je 0x40e77e
cmp byte [edi + 0x45e788], 0
jne 0x40e77e
mov ecx, esi
mov byte [edi + 0x45e788], 1
call fcn.0040d0a0
test eax, eax
je 0x40e784
push 0x453104
lea ecx, [ebp - 0x28]
call fcn.00409d00
sub esp, 0xc
mov dword [ebp - 4], 1
push 0
jmp 0x40e6fa
mov byte [edi + 0x45e788], al
mov edi, dword [esi + 0x6c]
cmp edi, 0xff
jge 0x40e7de
push edi
call ebx
shr eax, 0xf
and al, 1
mov byte [edi + 0x45e888], al
je 0x40e7d8
cmp byte [edi + 0x45e788], 0
jne 0x40e7d8
mov ecx, esi
mov byte [edi + 0x45e788], 1
call fcn.0040d0a0
test eax, eax
je 0x40e7de
push 0x453108
lea ecx, [ebp - 0x28]
call fcn.00409d00
sub esp, 0xc
mov dword [ebp - 4], 2
push 0
jmp 0x40e6fa
mov byte [edi + 0x45e788], al
mov edi, dword [esi + 0x70]
cmp edi, 0xff
jge 0x40e838
push edi
call ebx
shr eax, 0xf
and al, 1
mov byte [edi + 0x45e888], al
je 0x40e832
cmp byte [edi + 0x45e788], 0
jne 0x40e832
mov ecx, esi
mov byte [edi + 0x45e788], 1
call fcn.0040d320
test eax, eax
je 0x40e838
push str.3890
lea ecx, [ebp - 0x28]
call fcn.00409d00
sub esp, 0xc
mov dword [ebp - 4], 3
push 0
jmp 0x40e6fa
mov byte [edi + 0x45e788], al
push dword [esi + 0x74]
call fcn.0040f5f0
test eax, eax
je 0x40e883
mov ecx, esi
call fcn.0040dbf0
test eax, eax
je 0x40e883
push 0x4537ac
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 4
sub esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esi
push 0
sub esp, 0xc
push eax
call fcn.0040ee90
lea ecx, [ebp - 0x28]
call fcn.00402a10
jmp 0x40ee6f
push dword [esi + 0x78]
call fcn.0040f5f0
test eax, eax
je 0x40e8b0
mov ecx, esi
call fcn.0040de70
test eax, eax
je 0x40e8b0
push 0x453928
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 5
jmp 0x40e863
push dword [esi + 0x7c]
call fcn.0040f5f0
test eax, eax
je 0x40e8d2
push 0x453968
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 6
jmp 0x40e863
push dword [esi + 0x80]
call fcn.0040f5f0
test eax, eax
je 0x40e8fa
push 0x45396c
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 7
jmp 0x40e863
push dword [esi + 0x84]
call fcn.0040f5f0
test eax, eax
je 0x40e92d
mov ecx, esi
call fcn.0040d320
test eax, eax
je 0x40e92d
push 0x45329c
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 8
jmp 0x40e863
push dword [esi + 0x88]
call fcn.0040f5f0
test eax, eax
je 0x40e960
mov ecx, esi
call fcn.0040d320
test eax, eax
je 0x40e960
push 0x4532a0
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 9
jmp 0x40e863
push dword [esi + 0x64]
call fcn.0040f5f0
test eax, eax
je 0x40e990
mov ecx, esi
call fcn.0040d320
test eax, eax
je 0x40e990
push 0x4532a4
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0xa
jmp 0x40e863
push dword [esi + 0x8c]
call fcn.0040f5f0
test eax, eax
je 0x40e9c3
mov ecx, esi
call fcn.0040d8a0
test eax, eax
je 0x40e9c3
push 0x451500
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0xb
jmp 0x40e863
push dword [esi + 0x90]
call fcn.0040f5f0
test eax, eax
je 0x40e9f6
mov ecx, esi
call fcn.0040d8a0
test eax, eax
je 0x40e9f6
push 0x453638
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0xc
jmp 0x40e863
push dword [esi + 0x94]
call fcn.0040f5f0
test eax, eax
je 0x40ea29
mov ecx, esi
call fcn.0040d8a0
test eax, eax
je 0x40ea29
push 0x45363c
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0xd
jmp 0x40e863
push 0x70
call fcn.0040f5f0
test eax, eax
je 0x40ea8d
mov ecx, esi
call fcn.0040dbf0
test eax, eax
je 0x40ea8d
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 2
call fcn.00402a10
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0xf
jmp 0x40e863
push 0x71
call fcn.0040f5f0
test eax, eax
je 0x40eaf1
mov ecx, esi
call fcn.0040dbf0
test eax, eax
je 0x40eaf1
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x10
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 4
call fcn.00402a10
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x11
jmp 0x40e863
push 0x72
call fcn.0040f5f0
test eax, eax
je 0x40eb55
mov ecx, esi
call fcn.0040dbf0
test eax, eax
je 0x40eb55
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x12
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 8
call fcn.00402a10
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x13
jmp 0x40e863
push 0x73
call fcn.0040f5f0
test eax, eax
je 0x40ebb9
mov ecx, esi
call fcn.0040dbf0
test eax, eax
je 0x40ebb9
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x14
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 0x10
call fcn.00402a10
push str.MTP1
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x15
jmp 0x40e863
push 0x74
call fcn.0040f5f0
test eax, eax
je 0x40ec1d
mov ecx, esi
call fcn.0040de70
test eax, eax
je 0x40ec1d
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x16
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 2
call fcn.00402a10
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x17
jmp 0x40e863
push 0x75
call fcn.0040f5f0
test eax, eax
je 0x40ec81
mov ecx, esi
call fcn.0040de70
test eax, eax
je 0x40ec81
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x18
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 4
call fcn.00402a10
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x19
jmp 0x40e863
push 0x76
call fcn.0040f5f0
test eax, eax
je 0x40ece5
mov ecx, esi
call fcn.0040de70
test eax, eax
je 0x40ece5
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x1a
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 8
call fcn.00402a10
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x1b
jmp 0x40e863
push 0x77
call fcn.0040f5f0
test eax, eax
je 0x40ed49
mov ecx, esi
call fcn.0040de70
test eax, eax
je 0x40ed49
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x1c
push eax
mov ecx, esi
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x18], 0x10
call fcn.00402a10
push str.MTP2
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x1d
jmp 0x40e863
push 0x21
call fcn.0040f5f0
test eax, eax
je 0x40edbd
push str.PageUp
lea ecx, [ebp - 0x28]
call fcn.00409d00
sub esp, 0xc
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 0x28]
mov ecx, esi
push 0
sub esp, 0xc
push eax
call fcn.0040ee90
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00402a10
push str.PageDown
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040ff30
lea ecx, [ebp - 0x28]
mov dword [eax + 0x28], 0
call fcn.00402a10
jmp 0x40ee6f
push 0x22
call fcn.0040f5f0
test eax, eax
je 0x40ee14
push str.PageDown
lea ecx, [ebp - 0x28]
call fcn.00409d00
sub esp, 0xc
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0x28]
mov ecx, esi
push 0
sub esp, 0xc
push eax
call fcn.0040ee90
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00402a10
push str.PageUp
lea ecx, [ebp - 0x28]
call fcn.00409d00
mov dword [ebp - 4], 0x21
jmp 0x40ed9e
push 0x2d
call fcn.0040f5f0
test eax, eax
je 0x40ee5b
mov ecx, esi
call fcn.0040d690
test eax, eax
je 0x40ee5b
push str.Insert
lea ecx, [ebp - 0x40]
call fcn.00409d00
sub esp, 0xc
mov dword [ebp - 4], 0x22
lea eax, [ebp - 0x40]
mov ecx, esi
push 0
sub esp, 0xc
push eax
call fcn.0040ee90
lea ecx, [ebp - 0x40]
call fcn.00402a10
jmp 0x40ee6f
push 0x24
call fcn.0040f5f0
test eax, eax
je 0x40ee6f
push 0
mov ecx, esi
call fcn.0040f820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d3b0
mov esp, ebp
pop ebp
ret