Function at 0x412c7e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11720
call fcn.00418810
and dword [ebp - 0x18], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, ecx
push edi
push 0x11
mov dword [ebx + 0x80f0], 0x120
call esi
mov di, ax
push 0x10
shr edi, 0xf
and edi, 1
call esi
shr eax, 0xf
and eax, 1
push 2
mov dword [ebp - 4], eax
call esi
shr eax, 0xf
xor esi, esi
and eax, 1
cmp edi, esi
je 0x412ce4
cmp dword [ebp - 4], esi
je 0x412d0a
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x50
mov dword [ebx + 0x80f0], eax
jmp 0x412ced
cmp dword [ebp - 4], esi
jne 0x412d0a
cmp eax, esi
jne 0x412d0a
cmp dword [ebx + 0xc230], esi
je 0x412d11
mov eax, dword [ebx]
push esi
push 0x422908
push str.Busy...try_again
mov ecx, ebx
call dword [eax + 0x90]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3ec
push dword [ebx + 0x20]
call edi
test eax, eax
je 0x412d2f
or dword [ebx + 0x80f0], 0x100200
push 0x3ed
push dword [ebx + 0x20]
call edi
test eax, eax
je 0x412d44
or byte [ebx + 0x80f1], 0x80
mov eax, dword [ebx + 0x80d4]
cmp eax, esi
je 0x412d5a
cmp dword [eax + 0x1c], esi
je 0x412d5a
or byte [ebx + 0x80f2], 0x20
mov eax, dword [ebx]
push esi
push esi
push 0x1032
push 0x415
mov ecx, ebx
call dword [eax + 0xa8]
mov edi, eax
cmp edi, esi
mov dword [ebx + 0x80ec], edi
jle 0x412d0a
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
push eax
call fcn.0041802e
cmp eax, esi
pop ecx
je 0x412dad
lea ecx, [edi - 1]
lea edx, [eax + 4]
mov dword [eax], edi
cmp ecx, esi
mov eax, edx
jl 0x412daf
inc ecx
mov dword [eax + 0xc], esi
mov dword [eax], esi
add eax, 0x14
dec ecx
jne 0x412da0
jmp 0x412daf
xor edx, edx
cmp edx, esi
mov dword [ebx + 0x80e8], edx
je 0x412d0a
mov eax, dword [ebx]
lea ecx, [ebp - 0x11720]
push 0x7531
mov esi, 0x3e9
push ecx
push esi
mov ecx, ebx
mov dword [ebx + 0xc134], 0x107
call dword [eax + 0x84]
mov edx, dword [ebx]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x40d0]
push 0x4000
push eax
push esi
mov ecx, ebx
call dword [edx + 0x84]
mov edx, dword [ebx + 0x80ec]
cmp edx, 1
jle 0x412e0f
or byte [ebx + 0x80f1], 8
mov esi, str._To_
lea edi, [ebp - 0x61ec]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xffe
xor eax, eax
lea edi, [ebp - 0x61e7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
cmp edx, dword [eax + 0x424]
jg 0x412e5a
cmp dword [eax + 0x3b8], ecx
jne 0x412e51
cmp dword [eax + 0x3a0], ecx
je 0x412e5a
mov dword [ebp - 0x10], 0x400000
jmp 0x412e5d
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 0x80e4], ecx
mov dword [ebp - 0xc], ecx
jle 0x412f42
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x80ec]
jge 0x412f42
mov eax, dword [ebx]
push 2
push dword [ebp - 0xc]
mov ecx, ebx
push 0x102c
push 0x415
call dword [eax + 0xa8]
test al, 2
je 0x412f30
mov eax, dword [ebx + 0x80e0]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebx + 0x80e8]
mov edi, dword [eax + ecx*4]
add esi, dword [ebp - 4]
inc dword [ebp - 0x14]
add dword [ebp - 4], 0x14
mov eax, dword [edi + 0xd0]
and eax, 0x400000
or dword [ebp - 8], eax
cmp dword [ebx + 0x80ec], 1
jle 0x412ef6
lea eax, [edi + 0x6c]
push eax
lea eax, [ebp - 0x61ec]
push eax
call fcn.00418490
lea eax, [ebp - 0x61ec]
push 0x422bf8
push eax
call fcn.00418490
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov dword [esi], edi
inc dword [edi + 0xdc]
test dword [edi + 0xd0], eax
je 0x412f16
xor eax, eax
cmp dword [edi + 0xe0], eax
setne al
jmp 0x412f19
push 2
pop eax
mov dword [esi + 4], eax
dec eax
dec eax
neg eax
sbb eax, eax
and eax, 0x400000
or eax, dword [ebx + 0x80f0]
mov dword [esi + 8], eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x80e4]
jl 0x412e6f
cmp dword [ebx + 0x80ec], 1
jle 0x412fb9
lea eax, [ebp - 0x61ec]
push eax
lea eax, [ebp - 0xa1ec]
push eax
call fcn.00418480
lea eax, [ebp - 0xa1ec]
push eax
call fcn.00418790
lea ecx, [ebp - 0xa1ec]
push 0x422b88
dec ecx
dec ecx
and byte [eax + ecx], 0
lea eax, [ebp - 0xa1ec]
push eax
call fcn.00418490
lea eax, [ebp - 0xa1ec]
push eax
call fcn.00418790
mov dword [ebp - 0x18], eax
lea esi, [ebx + 0x40d0]
lea eax, [ebp - 0xa1ec]
push esi
push eax
call fcn.00418490
lea eax, [ebp - 0xa1ec]
push eax
push esi
call fcn.00418480
add esp, 0x28
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
and esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], esi
neg esi
sbb esi, esi
add eax, edi
and si, 0xde01
add esi, 0x3fff
cmp eax, esi
jle 0x413047
lea eax, [ebp - 0x124]
push 0x423b9c
push eax
call fcn.00418480
sub edi, esi
lea eax, [ebp - 0x28]
add edi, dword [ebp - 0x18]
push 0xa
push eax
push edi
call fcn.004196aa
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00418490
lea eax, [ebp - 0x124]
push 0x423b90
push eax
call fcn.00418490
mov eax, dword [ebx]
add esp, 0x24
lea ecx, [ebp - 0x124]
push 0
push 0x423b8c
push ecx
mov ecx, ebx
call dword [eax + 0x90]
and dword [ebx + 0xc134], 0
jmp 0x412d0a
mov ecx, dword [ebx + 0x40]
call fcn.00404adc
xor edi, edi
xor esi, esi
cmp dword [ebx + 0x80e4], edi
jle 0x4130b2
cmp edi, dword [ebx + 0x80ec]
jge 0x4130b2
mov eax, dword [ebx]
push 2
push esi
push 0x102c
push 0x415
mov ecx, ebx
call dword [eax + 0xa8]
test al, 2
je 0x4130a9
lea eax, [ebp - 0x1ec]
inc edi
push eax
mov eax, dword [ebx + 0x80e0]
push dword [eax + esi*4]
push dword [ebx + 0x3c]
call fcn.0040ba45
mov ecx, dword [ebx + 0x40]
add esp, 0xc
lea eax, [ebp - 0x1ec]
push eax
call fcn.00404ae1
inc esi
cmp esi, dword [ebx + 0x80e4]
jl 0x41305b
mov eax, dword [ebp - 8]
test dword [ebp - 0x10], eax
je 0x4130c8
and byte [ebx + 0x5ed0], 0
or byte [ebx + 0x80f2], 0x40
push dword [ebx + 0x80d4]
mov ecx, dword [ebx + 0x40]
lea eax, [ebx + 0x40d0]
push dword [ebx + 0x80f0]
push eax
call fcn.00404b18
mov eax, dword [ebx + 0x80d4]
xor esi, esi
cmp eax, esi
je 0x41314c
cmp dword [eax + 0x1c], esi
je 0x41314c
lea ecx, [ebp - 0x21ec]
push 0x2000
push ecx
push eax
call fcn.004165b0
lea eax, [ebp - 0x21ec]
push eax
call fcn.00418790
inc eax
push eax
call fcn.0041802e
lea ecx, [ebp - 0x21ec]
mov dword [ebx + 0x80f4], eax
push ecx
push eax
call fcn.00418480
add esp, 0x1c
mov ecx, dword [ebx + 0x80d0]
push dword [ebx + 0x80ec]
push dword [ebx + 0x80e8]
push dword [ebx + 0x80d4]
call fcn.00414c74
mov ecx, ebx
call fcn.00413535
mov ecx, dword [ebx + 0x3c]
mov eax, 0x102
push esi
mov dword [ebx + 0xc134], eax
push dword [ecx + 0x4ac]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x413189
push ebx
push esi
push 0x47b
call fcn.00409ea4
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push ebx
push esi
push 0x47c
call fcn.00409ea4
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov ecx, ebx
call fcn.004178f4
push 1
pop eax
jmp 0x412d0c