Function at 0x411de3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20dc
call fcn.00417790
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 0x411e45
cmp dword [ebp - 4], edi
je 0x411e6b
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x50
mov dword [esi + 0x40ec], eax
jmp 0x411e4e
cmp dword [ebp - 4], edi
jne 0x411e6b
cmp eax, edi
jne 0x411e6b
cmp dword [esi + 0x822c], edi
je 0x411e72
mov eax, dword [esi]
push edi
push 0x420860
push 0x4217e4
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 0x411e90
or dword [esi + 0x40ec], 0x100200
push 0x3ed
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x411ea5
or byte [esi + 0x40ed], 0x80
mov eax, dword [esi + 0x40d0]
cmp eax, edi
je 0x411ebb
cmp dword [eax + 0x1c], edi
je 0x411ebb
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 0x411e6b
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
push eax
call fcn.00416fae
cmp eax, ebx
pop ecx
je 0x411f10
mov dword [eax], edi
dec edi
lea ecx, [eax + 4]
cmp edi, ebx
mov eax, ecx
jl 0x411f12
lea edx, [edi + 1]
mov dword [eax + 0xc], ebx
mov dword [eax], ebx
add eax, 0x14
dec edx
jne 0x411f03
jmp 0x411f12
xor ecx, ecx
cmp ecx, ebx
mov dword [esi + 0x40e4], ecx
je 0x411e6b
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.004048ca
mov ecx, dword [esi + 0x40e8]
cmp ecx, 1
jle 0x411f5f
or byte [esi + 0x40ed], 8
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
cmp ecx, dword [eax + 0x310]
jg 0x411f89
cmp dword [eax + 0x2b0], ebx
jne 0x411f80
cmp dword [eax + 0x298], ebx
je 0x411f89
mov dword [ebp - 4], 0x400000
jmp 0x411f8c
mov dword [ebp - 4], ebx
cmp dword [esi + 0x40e0], ebx
mov dword [ebp - 8], ebx
jle 0x412068
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x40e8]
jge 0x412068
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 0x412056
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.0040b384
mov ecx, dword [esi + 0x40]
add esp, 0xc
lea eax, [ebp - 0xdc]
push eax
call fcn.004048cf
mov eax, dword [ebp - 4]
mov dword [ebx], edi
inc dword [edi + 0xdc]
test dword [edi + 0xd0], eax
je 0x41203a
xor eax, eax
cmp dword [edi + 0xe0], eax
setne al
jmp 0x41203d
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 0x411f9e
mov eax, dword [ebp - 0xc]
and byte [esi + 0x1ecc], 0
test dword [ebp - 4], eax
je 0x41207e
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.00404906
mov eax, dword [esi + 0x40d0]
cmp eax, ebx
je 0x412100
cmp dword [eax + 0x1c], ebx
je 0x412100
lea ecx, [ebp - 0x20dc]
push 0x2000
push ecx
push eax
call fcn.00415522
lea eax, [ebp - 0x20dc]
push eax
call fcn.00417690
inc eax
push eax
call fcn.00416fae
lea ecx, [ebp - 0x20dc]
mov dword [esi + 0x40f0], eax
push ecx
push eax
call fcn.00417400
add esp, 0x1c
mov ecx, dword [esi + 0x40cc]
push dword [esi + 0x40e8]
push dword [esi + 0x40e4]
push dword [esi + 0x40d0]
call fcn.00413bf0
mov ecx, esi
call fcn.00412508
mov ecx, dword [esi + 0x3c]
mov eax, 0x102
push ebx
mov dword [esi + 0x8130], eax
push dword [ecx + 0x398]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x41213d
push esi
push ebx
push 0x47b
call fcn.00409861
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push esi
push ebx
push 0x47c
call fcn.00409861
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, esi
call fcn.0041686b
push 1
pop eax
jmp 0x411e6d