Function at 0x411e3f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20dc
call fcn.004177d0
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 0x411ea1
cmp dword [ebp - 4], edi
je 0x411ec7
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x50
mov dword [esi + 0x40ec], eax
jmp 0x411eaa
cmp dword [ebp - 4], edi
jne 0x411ec7
cmp eax, edi
jne 0x411ec7
cmp dword [esi + 0x822c], edi
je 0x411ece
mov eax, dword [esi]
push edi
push 0x42085c
push 0x421828
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 0x411eec
or dword [esi + 0x40ec], 0x100200
push 0x3ed
push dword [esi + 0x20]
call ebx
test eax, eax
je 0x411f01
or byte [esi + 0x40ed], 0x80
mov eax, dword [esi + 0x40d0]
cmp eax, edi
je 0x411f17
cmp dword [eax + 0x1c], edi
je 0x411f17
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 0x411ec7
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
push eax
call fcn.00416ff4
cmp eax, ebx
pop ecx
je 0x411f6c
mov dword [eax], edi
dec edi
lea ecx, [eax + 4]
cmp edi, ebx
mov eax, ecx
jl 0x411f6e
lea edx, [edi + 1]
mov dword [eax + 0xc], ebx
mov dword [eax], ebx
add eax, 0x14
dec edx
jne 0x411f5f
jmp 0x411f6e
xor ecx, ecx
cmp ecx, ebx
mov dword [esi + 0x40e4], ecx
je 0x411ec7
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 0x411fbb
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 0x411fe5
cmp dword [eax + 0x2b0], ebx
jne 0x411fdc
cmp dword [eax + 0x298], ebx
je 0x411fe5
mov dword [ebp - 4], 0x400000
jmp 0x411fe8
mov dword [ebp - 4], ebx
cmp dword [esi + 0x40e0], ebx
mov dword [ebp - 8], ebx
jle 0x4120c4
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x40e8]
jge 0x4120c4
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 0x4120b2
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.0040b3d2
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 0x412096
xor eax, eax
cmp dword [edi + 0xe0], eax
setne al
jmp 0x412099
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 0x411ffa
mov eax, dword [ebp - 0xc]
and byte [esi + 0x1ecc], 0
test dword [ebp - 4], eax
je 0x4120da
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 0x41215c
cmp dword [eax + 0x1c], ebx
je 0x41215c
lea ecx, [ebp - 0x20dc]
push 0x2000
push ecx
push eax
call fcn.00415572
lea eax, [ebp - 0x20dc]
push eax
call fcn.004176d0
inc eax
push eax
call fcn.00416ff4
lea ecx, [ebp - 0x20dc]
mov dword [esi + 0x40f0], eax
push ecx
push eax
call fcn.00417440
add esp, 0x1c
mov ecx, dword [esi + 0x40cc]
push dword [esi + 0x40e8]
push dword [esi + 0x40e4]
push dword [esi + 0x40d0]
call fcn.00413c24
mov ecx, esi
call fcn.00412545
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 0x412199
push esi
push ebx
push 0x47b
call fcn.004098cb
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push esi
push ebx
push 0x47c
call fcn.004098cb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, esi
call fcn.004168b0
push 1
pop eax
jmp 0x411ec9