Function at 0x407231
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
sub esp, 0x24
mov eax, 0x44e64e
call fcn.0044d07c
sub esp, 0x80
push ebx
push esi
push edi
lea ecx, [ebp - 0x8c]
call fcn.00404d3d
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x34]
mov byte [ebp + 0x10], bl
mov dword [ebp + 0x14], ebx
mov dword [ebp], eax
mov byte [ebp - 4], 1
mov ecx, 0x461c84
call fcn.00406fe3
xor edi, edi
cmp dword [ebp + 0x3c], ebx
jbe 0x40741f
mov esi, edi
imul esi, esi, 0x14
add esi, dword [ebp + 0x38]
movzx eax, word [esi]
cmp ax, word [0x461c84]
jne 0x4073c1
push esi
lea ecx, [ebp]
call fcn.004071a5
test eax, eax
jne 0x407415
lea ecx, [ebp - 0x5c]
call fcn.00407131
mov byte [ebp - 4], 2
push 0x10
mov byte [ebp - 0x50], 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 4]
setl byte [ebp + 0x37]
add esi, eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x24], ebx
cmp dword [eax], ebx
jbe 0x407394
lea edi, [eax + 8]
mov eax, dword [edi]
add eax, dword [ebp + 0x1c]
push ebx
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0043d3fa
add esp, 0x10
test al, al
je 0x407380
cmp byte [ebp + 0x37], bl
jne 0x407368
push ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x5c]
call fcn.0043d771
add esp, 0x10
neg al
sbb al, al
inc al
jne 0x407368
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042c837
cmp byte [ebp + 0x48], bl
jne 0x407368
push 0xffffffffffffffff
push str..lnk
lea ecx, [ebp - 0x5c]
call fcn.0042b1cb
test al, al
je 0x407368
push ebx
push dword [ebp - 0x5c]
call fcn.00430a25
pop ecx
pop ecx
test al, al
jne 0x407368
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00431b70
add esp, 0x28
cmp dword [ebp + 0x44], ebx
je 0x407380
push dword [ebp - 0x5c]
push str._s_r_n
push dword [ebp + 0x44]
call fcn.00404b89
add esp, 0xc
inc dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
add edi, 4
cmp ecx, dword [eax]
jb 0x4072de
mov esi, dword [ebp + 0x44]
cmp esi, ebx
je 0x4073b0
push 0x451ebc
mov ecx, esi
call fcn.0042aeba
cmp dword [esi + 4], ebx
jne 0x40746b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00407145
mov edi, dword [ebp + 0x24]
jmp 0x407415
cmp ax, word [0x461c86]
je 0x4073d3
cmp ax, word [0x461c88]
jne 0x407415
cmp dword [ebp - 0x88], ebx
jne 0x407415
push esi
lea ecx, [ebp]
call fcn.004071a5
test eax, eax
jne 0x407415
mov ax, word [esi]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x8c]
cmp ax, word [0x461c86]
jne 0x407404
call fcn.0042c85a
jmp 0x407409
call fcn.0042beae
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00406f7d
inc edi
cmp edi, dword [ebp + 0x3c]
jb 0x40727d
cmp dword [ebp - 0x88], ebx
je 0x407496
mov ecx, dword [ebp + 0x44]
cmp ecx, ebx
je 0x40743a
lea eax, [ebp - 0x8c]
push eax
call fcn.0042c837
push 4
pop esi
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00406fb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00404d51
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x28
leave
ret
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00407145
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00406fb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00404d51
push 4
pop eax
jmp 0x407459
xor esi, esi
jmp 0x40743d