Function at 0x40b6c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov ecx, dword [eax + 4]
push edi
cmp ecx, 0x100
jne case.0x40b878.3
mov eax, dword [eax + 8]
lea ecx, [eax - 9]
cmp ecx, 0x1f
ja case.0x40b878.3
mov esi, dword [0x432184]
mov edi, dword [0x43218c]
mov ebp, dword [0x432180]
mov eax, dword [0x4326e8]
xor edx, edx
mov dl, byte [ecx + 0x40b9e0]
jmp dword [edx*4 + 0x40b9c0]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x40b728
call fcn.00414fd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
call fcn.004150b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov eax, dword [0x4326e8]
mov edi, dword [0x43218c]
cmp eax, edi
jae case.0x40b878.3
mov esi, dword [0x432184]
cmp byte [esi + eax], 0
je case.0x40b705.14
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 4
cmp dword [ecx + ebp + 8], 9
jne case.0x40b705.14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
cmp eax, edi
jae case.0x40b878.3
cmp byte [esi + eax], 0
je case.0x40b878.3
lea edx, [eax*8]
sub edx, eax
shl edx, 4
mov eax, dword [edx + ebp + 8]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x40b878.3
xor ecx, ecx
mov cl, byte [eax + 0x40ba08]
jmp dword [ecx*4 + 0x40ba00]
call fcn.004151c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
cmp eax, edi
jae case.0x40b878.3
cmp byte [esi + eax], 0
je case.0x40b705.12
lea edx, [eax*8]
sub edx, eax
shl edx, 4
cmp dword [edx + ebp + 8], 9
jne case.0x40b705.12
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
cmp eax, edi
jae case.0x40b878.3
cmp byte [esi + eax], 0
je case.0x40b878.3
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 4
mov eax, dword [ecx + ebp + 8]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x40b878.3
xor edx, edx
mov dl, byte [eax + 0x40ba18]
jmp dword [edx*4 + 0x40ba10]
call fcn.00415350
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov eax, dword [0x4326e8]
mov ecx, dword [0x43218c]
mov edx, dword [0x432180]
cmp eax, ecx
jae case.0x40b878.4
mov ecx, dword [0x432184]
cmp byte [ecx + eax], 0
je case.0x40b878.4
lea esi, [eax*8]
sub esi, eax
shl esi, 4
add esi, edx
mov eax, dword [esi + 8]
add eax, 0xfffffffe
cmp eax, 0x11
ja case.0x40b878.4
xor ecx, ecx
mov cl, byte [eax + 0x40ba2c]
jmp dword [ecx*4 + 0x40ba20]
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x20
push 0x100
push edx
call edi
mov eax, dword [esi]
push 0
push 0x20
push 0x101
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov esi, dword [0x4326e4]
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 4
mov eax, dword [ecx + edx + 0x10]
cmp eax, esi
je case.0x40b878.3
mov edi, 3
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 4
add ecx, edx
cmp dword [ecx + 8], edi
jne 0x40b8e4
mov bl, byte [ecx + 0x41]
test bl, bl
je 0x40b8f2
mov eax, dword [ecx + 0x10]
cmp eax, esi
jne 0x40b8ca
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea esi, [eax*8]
mov dword [0x4326e8], eax
sub esi, eax
shl esi, 4
mov edx, dword [esi + edx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x432180]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x20
mov ecx, dword [esi + eax]
push 0x100
push ecx
call edi
mov edx, dword [0x432180]
push 0
push 0x20
push 0x101
mov eax, dword [esi + edx]
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov eax, dword [0x4318d4]
mov ecx, dword [0x43218c]
cmp eax, ecx
jae case.0x40b878.3
mov ecx, dword [0x432184]
cmp byte [ecx + eax], 0
je case.0x40b878.3
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x432180]
shl edx, 4
lea ecx, [edx + eax]
mov al, byte [edx + eax + 0x41]
test al, al
jne case.0x40b878.3
mov eax, dword [ecx + 8]
test eax, eax
je 0x40b9af
cmp eax, 1
je 0x40b9af
cmp eax, 2
je 0x40b9af
cmp eax, 3
je 0x40b9af
cmp eax, 4
je 0x40b9af
cmp eax, 0x10
je 0x40b9af
cmp eax, 0x11
je 0x40b9af
cmp eax, 0x12
jne case.0x40b878.3
pop edi
pop esi
pop ebp
mov byte [ecx + 0x42], 1
mov eax, 1
pop ebx
ret