Function at 0x419e40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
add eax, 0x2bc
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0041bae0
test eax, eax
jne 0x419e77
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00429990
jmp 0x41a81e
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x2bc]
mov eax, dword [ecx + 0x2c0]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je case.0x419ed7.1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
sub eax, 0x2d
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x3e
ja case.0x419ed7.1
mov ecx, dword [ebp - 0x60]
movzx edx, byte [ecx + 0x41a83c]
jmp dword [edx*4 + 0x41a824]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x194]
call eax
jmp case.0x419ed7.1
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.004224f0
push 1
mov ecx, dword [ebp - 0x5c]
call fcn.00429890
jmp case.0x419ed7.1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x188]
call eax
jmp case.0x419ed7.1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x18c]
call eax
jmp case.0x419ed7.1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x190]
call eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x419f63
cmp dword [ebp + 8], 0x2d
jne 0x419f63
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [eax + 0x190]
call edx
cmp dword [ebp + 8], 0x2e
jne 0x419f6e
jmp 0x41a59e
cmp dword [ebp + 8], 0x28
jne 0x419fcc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
cmp dword [ebp - 0x18], eax
jge 0x419fbb
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00421ff0
test eax, eax
jle 0x419fb0
mov dword [ebp - 4], 1
jmp 0x419fbb
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x419f8a
cmp dword [ebp - 4], 0
jne 0x419fc7
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
jmp 0x41a59e
cmp dword [ebp + 8], 0x26
jne 0x41a02b
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x110]
jl 0x41a01a
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00421ff0
test eax, eax
jle 0x41a00f
mov dword [ebp - 4], 1
jmp 0x41a01a
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x419fe8
cmp dword [ebp - 4], 0
jne 0x41a026
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
jmp 0x41a59e
cmp dword [ebp + 8], 0x27
je 0x41a04f
cmp dword [ebp + 8], 9
jne 0x41a163
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
jne 0x41a163
cmp dword [ebp + 8], 9
jne 0x41a081
mov ecx, dword [ebp - 0x5c]
movzx edx, byte [ecx + 0x496]
test edx, edx
je 0x41a081
mov ecx, dword [ebp - 0x5c]
call fcn.00405a00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x41a07c
mov ecx, dword [ebp - 0x20]
call fcn.004299d0
jmp 0x41a81e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 9
jne 0x41a121
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0e0
cmp dword [ebp - 0x14], eax
jne 0x41a10d
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
sub eax, 1
cmp dword [ebp - 0x18], eax
jge 0x41a10d
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
cmp dword [ebp - 0x18], eax
jge 0x41a0f8
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00421ff0
test eax, eax
jle 0x41a0ed
mov dword [ebp - 4], 1
jmp 0x41a0f8
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x41a0c7
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x118]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 1
jmp 0x41a121
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00429990
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0e0
cmp dword [ebp - 0x14], eax
jge 0x41a152
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00422030
test eax, eax
jle 0x41a147
mov dword [ebp - 4], 1
jmp 0x41a152
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x41a121
cmp dword [ebp - 4], 0
jne 0x41a15e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
jmp 0x41a59e
cmp dword [ebp + 8], 0x25
je 0x41a18a
cmp dword [ebp + 8], 9
jne 0x41a26f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x41a26f
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 9
jne 0x41a22c
mov ecx, dword [ebp - 0x5c]
call fcn.0040e120
sub eax, 1
cmp dword [ebp - 0x14], eax
jne 0x41a218
mov ecx, dword [ebp - 0x5c]
call fcn.0040e100
cmp dword [ebp - 0x18], eax
jle 0x41a218
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x5c]
call fcn.0040e100
cmp dword [ebp - 0x18], eax
jle 0x41a201
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00421ff0
test eax, eax
jle 0x41a1f6
mov dword [ebp - 4], 1
jmp 0x41a201
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x41a1d0
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0e0
sub eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 1
jmp 0x41a22c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00429990
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x118]
jl 0x41a25e
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00422030
test eax, eax
jle 0x41a253
mov dword [ebp - 4], 1
jmp 0x41a25e
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x41a22c
cmp dword [ebp - 4], 0
jne 0x41a26a
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
jmp 0x41a59e
cmp dword [ebp + 8], 0x22
jne 0x41a2f0
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0041e7a0
push 0
push 3
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 0x10], 1
push 0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.0041e7a0
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
je 0x41a2dd
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
sub eax, 1
cmp dword [ebp - 0x18], eax
jle 0x41a2db
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x41a2eb
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x41a59e
cmp dword [ebp + 8], 0x21
jne 0x41a36b
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.0041e7a0
push 0
push 2
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 0x10], 1
push 0
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.0041e7a0
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
je 0x41a35a
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x110]
jge 0x41a358
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x110]
mov dword [ebp - 0x18], edx
jmp 0x41a366
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x110]
mov dword [ebp - 0x18], ecx
jmp 0x41a59e
cmp dword [ebp + 8], 0x24
jne 0x41a455
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x41a3d2
push 0
push 6
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
push 0
push 6
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x110]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x118]
mov dword [ebp - 0x14], eax
jmp 0x41a3f6
push 0
push 6
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x118]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0e0
sub eax, 1
cmp dword [ebp - 0x14], eax
jge 0x41a423
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00422030
test eax, eax
jle 0x41a418
jmp 0x41a423
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x41a3f6
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
sub eax, 1
cmp dword [ebp - 0x18], eax
jge 0x41a450
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00421ff0
test eax, eax
jle 0x41a445
jmp 0x41a450
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x41a423
jmp 0x41a59e
cmp dword [ebp + 8], 0x23
jne 0x41a544
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x41a4c0
push 0
push 7
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
push 0
push 7
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0c0
sub eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0e0
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x41a4e6
push 0
push 7
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x5c]
call fcn.0040e0e0
sub eax, 1
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x118]
add eax, 1
cmp dword [ebp - 0x14], eax
jle 0x41a514
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.00422030
test eax, eax
jle 0x41a509
jmp 0x41a514
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x41a4e6
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x110]
add ecx, 1
cmp dword [ebp - 0x18], ecx
jle 0x41a542
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00421ff0
test eax, eax
jle 0x41a537
jmp 0x41a542
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x41a514
jmp 0x41a59e
cmp dword [ebp + 8], 0x71
jne 0x41a585
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.0040e640
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x2c0]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x2bc]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x1c4]
call eax
jmp 0x41a59e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00429990
jmp 0x41a81e
mov ecx, dword [ebp - 0x5c]
add ecx, 0x2bc
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042a2d0
test eax, eax
je 0x41a81e
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x290], 0
jne 0x41a657
mov ecx, dword [ebp - 0x5c]
add ecx, 0x300
call fcn.0040ea60
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0xb8]
neg ecx
sbb ecx, ecx
add ecx, 4
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x290], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x41a605
cmp dword [ebp + 8], 9
jne 0x41a61a
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x2b4], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x2b8], eax
push 0xffffffffffffff9c
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00418e10
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0041cb20
push 0xffffffffffffff9b
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00418e10
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x290], 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0041bed0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00422b20
test eax, eax
jne 0x41a7e4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
sub ecx, 9
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x1f
ja case.0x41a6a6.1
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 0x41a894]
jmp dword [eax*4 + 0x41a87c]
push 0
push 1
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 8], 1
jmp case.0x41a6a6.1
push 0
push 0
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 8], 1
jmp case.0x41a6a6.1
push 0
push 1
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 0x10], 1
jmp case.0x41a6a6.1
push 0
push 0
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 0x10], 1
jmp case.0x41a6a6.1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x41a786
cmp dword [ebp - 0x1c], 0
je 0x41a76c
push 0
push 0
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 0x10], 1
push 1
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x148]
push eax
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.0041ee00
jmp case.0x41a6a6.1
push 0
push 0
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 8], 1
jmp case.0x41a6a6.1
cmp dword [ebp - 0x1c], 0
je 0x41a7b6
push 0
push 1
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 0x10], 1
push 1
push 0
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.0041ee00
jmp case.0x41a6a6.1
push 0
push 1
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.0042a660
push 1
mov ecx, dword [ebp - 0x5c]
call fcn.00429890
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.0042a660
cmp dword [ebp - 8], 0
je 0x41a807
push 0
push 8
push 0x114
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
cmp dword [ebp - 0x10], 0
je 0x41a81e
push 0
push 8
push 0x115
mov ecx, dword [ebp - 0x5c]
call fcn.00411710
mov esp, ebp
pop ebp
ret 0xc