Function at 0x100227da
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100741db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002292f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
push 3
lea ecx, [ebp - 0x14c]
call fcn.100157dc
and dword [ebp - 4], 0
mov dword [ebp - 0x28], 0x39beb064
push 3
lea ecx, [ebp - 0x108]
call fcn.100157dc
mov byte [ebp - 4], 1
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0x140], 0xd9ed
mov dword [ebp - 0x18], 0
jmp 0x10022863
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002287f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14c]
call fcn.1001587a
mov dword [eax], 0xbbca6318
jmp 0x1002285c
mov dword [ebp - 0x18], 0
jmp 0x1002288f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100228ab
push dword [ebp - 0x18]
lea ecx, [ebp - 0x108]
call fcn.1001587a
mov dword [eax], 0x9ae77ab3
jmp 0x10022888
mov dword [ebp - 0x28], 2
jmp 0x100228bb
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x100228dd
push 2
lea ecx, [ebp - 0x108]
call fcn.1001587a
and dword [eax], 0
mov dword [ebp - 0xc4], 0
jmp 0x100228b4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x108]
call fcn.1001585e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.1001585e
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
push 1
mov ecx, dword [ebp - 0xd0]
call fcn.1001587a
mov ecx, dword [ebp - 0xf8]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x10023033
push 1
lea ecx, [ebp - 0xc0]
call fcn.100157dc
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], 0
jmp 0x10022953
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1002296f
push dword [ebp - 0x30]
lea ecx, [ebp - 0xc0]
call fcn.1001587a
mov dword [eax], 0x91a049fe
jmp 0x1002294c
push 0
lea ecx, [ebp - 0xc0]
call fcn.1001587a
and dword [eax], 0
jmp 0x100229a5
push 0
lea ecx, [ebp - 0xc0]
call fcn.1001587a
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xc0]
call fcn.1001587a
cmp dword [eax], 0xfffffffa
je 0x10022a48
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x38], 0
jmp 0x100229d5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x100229eb
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x138], 0x80c170c
jmp 0x100229ce
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x138]
mov dword [ebp - 0x94], eax
push 0
lea ecx, [ebp - 0xc0]
call fcn.1001587a
mov ecx, dword [ebp - 0x94]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10022a43
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
jmp 0x10022981
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.1001585e
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x14], 0x4a6847df
mov dword [ebp - 0x2c], 0
jmp 0x10022a72
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x10022a85
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1c], 0x4ab274bf
jmp 0x10022a6b
mov dword [ebp - 0x14], 0
jmp 0x10022a95
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xa
jge 0x10022ab7
mov dword [ebp - 0xfc], 0x43250e6d
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + eax - 0x1c], ecx
jmp 0x10022a8e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jg 0x10022ad8
mov dword [ebp - 0x54], 1
jmp 0x10022adc
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0
jne 0x10022af5
cmp dword [ebp - 0x14], 0
jne 0x10022af5
and dword [ebp - 0x4c], 0
jmp 0x10022afc
mov dword [ebp - 0x4c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp eax, dword [ebp - 0x4c]
jle 0x10022b17
mov dword [ebp - 0x9c], 1
jmp 0x10022b1e
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0x30a4ccfd
jle 0x10022b36
mov dword [ebp - 0xa4], 1
jmp 0x10022b3d
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0xa4]
je 0x10022b51
mov dword [ebp - 0x5c], 1
jmp 0x10022b55
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x5c]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1c]
jl 0x10022b73
mov dword [ebp - 0xe8], 1
jmp 0x10022b7a
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x130], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0xd133
jne 0x10022ba6
mov dword [ebp - 0xac], 1
jmp 0x10022bad
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xac], eax
jl 0x10022bc1
mov dword [ebp - 0x64], 1
jmp 0x10022bc5
and dword [ebp - 0x64], 0
imul eax, dword [ebp - 0x64], 0x39e2
test eax, eax
jne 0x10022bdc
mov dword [ebp - 0xb4], 1
jmp 0x10022be3
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x1c], ecx
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10022cdd
push 4
lea ecx, [ebp - 0xe4]
call fcn.100157dc
mov dword [ebp - 4], 3
mov dword [ebp - 0x34], 0
jmp 0x10022c23
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x10022c3f
push dword [ebp - 0x34]
lea ecx, [ebp - 0xe4]
call fcn.1001587a
mov dword [eax], 1
jmp 0x10022c1c
push 2
lea ecx, [ebp - 0xe4]
call fcn.1001587a
and dword [eax], 0
jmp 0x10022c6c
push 2
lea ecx, [ebp - 0xe4]
call fcn.1001587a
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0xe4]
call fcn.1001587a
cmp dword [eax], 1
je 0x10022caa
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10022ca8
push 0x6bb
push 0x23ff
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x10022c51
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10022cbe
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.1001585e
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov dword [ebp - 0x24], 0xfffffff8
mov dword [ebp - 0x3c], 0xa137b189
mov dword [ebp - 0x50], 0xb61d
mov dword [ebp - 0xb0], 0x715ee56e
mov dword [ebp - 0xc8], 0xfffffff8
mov dword [ebp - 0x74], 6
push 3
lea ecx, [ebp - 0x120]
call fcn.100157dc
mov dword [ebp - 4], 4
push 3
lea ecx, [ebp - 0x12c]
call fcn.100157dc
mov byte [ebp - 4], 5
push 1
lea ecx, [ebp - 0x114]
call fcn.100157dc
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], 0
jmp 0x10022d53
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10022d69
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf4], 0x1836ccb0
jmp 0x10022d4c
mov dword [ebp - 0x10], 0
jmp 0x10022d79
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10022d95
push dword [ebp - 0x10]
lea ecx, [ebp - 0x120]
call fcn.1001587a
mov dword [eax], 0x53d2ae45
jmp 0x10022d72
mov dword [ebp - 0x10], 0
jmp 0x10022da5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10022dc1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x12c]
call fcn.1001587a
mov dword [eax], 0xdfeee83a
jmp 0x10022d9e
mov dword [ebp - 0x10], 0
jmp 0x10022dd1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10022ded
push dword [ebp - 0x10]
lea ecx, [ebp - 0x114]
call fcn.1001587a
mov dword [eax], 0xb017290b
jmp 0x10022dca
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], eax
jge 0x10022e04
mov dword [ebp - 0x6c], 1
jmp 0x10022e08
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0xf4], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x3c], eax
jle 0x10022e28
mov dword [ebp - 0x40], 1
jmp 0x10022e2c
and dword [ebp - 0x40], 0
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0xb0], 0
jb 0x10022e48
mov dword [ebp - 0x78], 1
jmp 0x10022e4c
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x78]
cmp eax, 0x3de4
jge 0x10022e66
mov dword [ebp - 0x98], 1
jmp 0x10022e6d
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xfffffff7
jle 0x10022e7f
mov dword [ebp - 0x80], 1
jmp 0x10022e83
and dword [ebp - 0x80], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x80], eax
jge 0x10022ea1
mov dword [ebp - 0xa8], 1
jmp 0x10022ea8
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xa8], eax
je 0x10022ebf
mov dword [ebp - 0xa0], 1
jmp 0x10022ec6
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x3c]
jl 0x10022ee0
mov dword [ebp - 0x90], 1
jmp 0x10022ee7
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x90], eax
jl 0x10022efe
mov dword [ebp - 0x68], 1
jmp 0x10022f02
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffff
jbe 0x10022f1a
mov dword [ebp - 0x7c], 1
jmp 0x10022f1e
and dword [ebp - 0x7c], 0
push 0
lea ecx, [ebp - 0x120]
call fcn.1001587a
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax]
jge 0x10022f3e
mov dword [ebp - 0x84], 1
jmp 0x10022f45
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x84], eax
jne 0x10022f5c
mov dword [ebp - 0x8c], 1
jmp 0x10022f63
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x8c], eax
jge 0x10022f8d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf4], 0
jne 0x10022f8d
and dword [ebp - 0x44], 0
jmp 0x10022f94
mov dword [ebp - 0x44], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x44], eax
je 0x10022fae
mov dword [ebp - 0x48], 1
jmp 0x10022fb2
and dword [ebp - 0x48], 0
push 1
lea ecx, [ebp - 0x12c]
call fcn.1001587a
mov ecx, dword [ebp - 0x48]
imul ecx, dword [eax]
cmp ecx, 0x4e5477a
jl 0x10022fd6
mov dword [ebp - 0x58], 1
jmp 0x10022fda
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x50]
add eax, 0x50db
cmp eax, dword [ebp - 0x58]
jne 0x10022ff0
mov dword [ebp - 0x60], 1
jmp 0x10022ff4
and dword [ebp - 0x60], 0
push 0
lea ecx, [ebp - 0x114]
call fcn.1001587a
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.1001585e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.1001585e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.1001585e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret