Function at 0x411b22
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20dc
call fcn.004174a0
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
mov dword [esi + 0x40ec], 0x120
call edi
mov bx, ax
push 0x10
shr ebx, 0xf
and ebx, 1
call edi
shr eax, 0xf
and eax, 1
push 2
mov dword [ebp - 4], eax
call edi
shr eax, 0xf
xor edi, edi
and eax, 1
cmp ebx, edi
je 0x411b84
cmp dword [ebp - 4], edi
je 0x411baa
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x50
mov dword [esi + 0x40ec], eax
jmp 0x411b8d
cmp dword [ebp - 4], edi
jne 0x411baa
cmp eax, edi
jne 0x411baa
cmp dword [esi + 0x823c], edi
je 0x411bb1
mov eax, dword [esi]
push edi
push 0x420890
push 0x421a28
mov ecx, esi
call dword [eax + 0x90]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3ec
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x411bcf
or dword [esi + 0x40ec], 0x100200
push 0x3ed
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x411be4
or byte [esi + 0x40ed], 0x80
mov eax, dword [esi + 0x40d0]
cmp eax, edi
je 0x411bfa
cmp dword [eax + 0x1c], edi
je 0x411bfa
or byte [esi + 0x40ee], 0x20
mov eax, dword [esi]
push edi
push edi
push 0x1032
push 0x415
mov ecx, esi
call dword [eax + 0xa8]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esi + 0x40e8], edi
jle 0x411baa
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
push eax
call fcn.00416cc4
cmp eax, ebx
pop ecx
je 0x411c4f
mov dword [eax], edi
dec edi
lea ecx, [eax + 4]
cmp edi, ebx
mov eax, ecx
jl 0x411c51
lea edx, [edi + 1]
mov dword [eax + 0xc], ebx
mov dword [eax], ebx
add eax, 0x14
dec edx
jne 0x411c42
jmp 0x411c51
xor ecx, ecx
cmp ecx, ebx
mov dword [esi + 0x40e4], ecx
je 0x411baa
mov edx, dword [esi]
lea eax, [esi + 0xcc]
push 0x4000
push eax
push 0x3e9
mov ecx, esi
mov dword [esi + 0x8130], 0x107
call dword [edx + 0x84]
mov ecx, dword [esi + 0x40]
call fcn.0040470e
mov eax, dword [esi + 0x40e8]
cmp eax, 1
jle 0x411c9e
or byte [esi + 0x40ed], 8
cmp eax, 0xa
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
jg 0x411cc5
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x29c], ebx
jne 0x411cbc
cmp dword [eax + 0x2ac], ebx
je 0x411cc5
mov dword [ebp - 4], 0x400000
jmp 0x411cc8
mov dword [ebp - 4], ebx
cmp dword [esi + 0x40e0], ebx
mov dword [ebp - 8], ebx
jle 0x411da4
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x40e8]
jge 0x411da4
mov eax, dword [esi]
push 2
push dword [ebp - 8]
mov ecx, esi
push 0x102c
push 0x415
call dword [eax + 0xa8]
test al, 2
je 0x411d92
mov eax, dword [esi + 0x40dc]
mov ecx, dword [ebp - 8]
mov ebx, dword [esi + 0x40e4]
mov edi, dword [eax + ecx*4]
add ebx, dword [ebp - 0x10]
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x14
mov eax, dword [edi + 0xd0]
and eax, 0x400000
or dword [ebp - 0xc], eax
lea eax, [ebp - 0xdc]
push eax
push edi
push dword [esi + 0x3c]
call fcn.0040b04b
mov ecx, dword [esi + 0x40]
add esp, 0xc
lea eax, [ebp - 0xdc]
push eax
call fcn.00404713
mov eax, dword [ebp - 4]
mov dword [ebx], edi
inc dword [edi + 0xdc]
test dword [edi + 0xd0], eax
je 0x411d76
xor eax, eax
cmp dword [edi + 0xe0], eax
setne al
jmp 0x411d79
push 2
pop eax
mov dword [ebx + 4], eax
dec eax
dec eax
neg eax
sbb eax, eax
and eax, 0x400000
or eax, dword [esi + 0x40ec]
mov dword [ebx + 8], eax
xor ebx, ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x40e0]
jl 0x411cda
mov eax, dword [ebp - 0xc]
and byte [esi + 0x1ecc], 0
test dword [ebp - 4], eax
je 0x411dba
or byte [esi + 0x40ee], 0x40
push dword [esi + 0x40d0]
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0xcc]
push dword [esi + 0x40ec]
push eax
call fcn.0040474a
mov eax, dword [esi + 0x40d0]
cmp eax, ebx
je 0x411e3c
cmp dword [eax + 0x1c], ebx
je 0x411e3c
lea ecx, [ebp - 0x20dc]
push 0x2000
push ecx
push eax
call fcn.004152a0
lea eax, [ebp - 0x20dc]
push eax
call fcn.004173a0
inc eax
push eax
call fcn.00416cc4
lea ecx, [ebp - 0x20dc]
mov dword [esi + 0x40f0], eax
push ecx
push eax
call fcn.00417110
add esp, 0x1c
mov ecx, dword [esi + 0x40cc]
push dword [esi + 0x40e8]
push dword [esi + 0x40e4]
push dword [esi + 0x40d0]
call fcn.0041398d
mov ecx, esi
call fcn.0041226e
mov ecx, dword [esi + 0x3c]
mov eax, 0x102
push ebx
mov dword [esi + 0x8130], eax
push dword [ecx + 0x37c]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x411e79
push esi
push ebx
push 0x47b
call fcn.00409479
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push esi
push ebx
push 0x47c
call fcn.00409479
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, esi
call fcn.0041654f
xor eax, eax
inc eax
jmp 0x411bac