Function at 0x411f6f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20dc
call fcn.004179b0
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 0x411fd1
cmp dword [ebp - 4], edi
je 0x411ff7
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x50
mov dword [esi + 0x40ec], eax
jmp 0x411fda
cmp dword [ebp - 4], edi
jne 0x411ff7
cmp eax, edi
jne 0x411ff7
cmp dword [esi + 0x825c], edi
je 0x411ffe
mov eax, dword [esi]
push edi
push 0x420860
push 0x4217f4
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 0x41201c
or dword [esi + 0x40ec], 0x100200
push 0x3ed
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x412031
or byte [esi + 0x40ed], 0x80
mov eax, dword [esi + 0x40d0]
cmp eax, edi
je 0x412047
cmp dword [eax + 0x1c], edi
je 0x412047
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 0x411ff7
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
push eax
call fcn.004171cc
cmp eax, ebx
pop ecx
je 0x41209c
mov dword [eax], edi
dec edi
lea ecx, [eax + 4]
cmp edi, ebx
mov eax, ecx
jl 0x41209e
lea edx, [edi + 1]
mov dword [eax + 0xc], ebx
mov dword [eax], ebx
add eax, 0x14
dec edx
jne 0x41208f
jmp 0x41209e
xor ecx, ecx
cmp ecx, ebx
mov dword [esi + 0x40e4], ecx
je 0x411ff7
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 0x4120eb
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 0x412115
cmp dword [eax + 0x2b0], ebx
jne 0x41210c
cmp dword [eax + 0x298], ebx
je 0x412115
mov dword [ebp - 4], 0x400000
jmp 0x412118
mov dword [ebp - 4], ebx
cmp dword [esi + 0x40e0], ebx
mov dword [ebp - 8], ebx
jle 0x4121f4
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x40e8]
jge 0x4121f4
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 0x4121e2
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.0040b37d
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 0x4121c6
xor eax, eax
cmp dword [edi + 0xe0], eax
setne al
jmp 0x4121c9
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 0x41212a
mov eax, dword [ebp - 0xc]
and byte [esi + 0x1ecc], 0
test dword [ebp - 4], eax
je 0x41220a
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 0x41228c
cmp dword [eax + 0x1c], ebx
je 0x41228c
lea ecx, [ebp - 0x20dc]
push 0x2000
push ecx
push eax
call fcn.00415742
lea eax, [ebp - 0x20dc]
push eax
call fcn.004178b0
inc eax
push eax
call fcn.004171cc
lea ecx, [ebp - 0x20dc]
mov dword [esi + 0x40f0], eax
push ecx
push eax
call fcn.00417620
add esp, 0x1c
mov ecx, dword [esi + 0x40cc]
push dword [esi + 0x40e8]
push dword [esi + 0x40e4]
push dword [esi + 0x40d0]
call fcn.00413df4
mov ecx, esi
call fcn.00412694
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 0x4122c9
push esi
push ebx
push 0x47b
call fcn.00409876
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push esi
push ebx
push 0x47c
call fcn.00409876
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, esi
call fcn.00416a8e
push 1
pop eax
jmp 0x411ff9