Function at 0x42f2b9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [0x433ffc], 0
mov dword [ebp - 4], eax
je 0x42f40b
mov ecx, esi
call fcn.004234d5
cmp dword [0x433ff4], 0
mov esi, eax
je 0x42f338
test edi, 0x1000
je 0x42f338
cmp esi, 3
jne 0x42f324
mov esi, 2
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x42f338
xor eax, eax
jmp 0x42f64e
cmp esi, 0xa
jb 0x42f342
cmp esi, 0x11
jbe 0x42f34e
cmp esi, 4
je 0x42f34e
mov eax, esi
jmp 0x42f64e
test edi, 0x800
je 0x42f360
mov eax, 2
jmp 0x42f64e
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
neg ebx
neg eax
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x42f404
cmp esi, 4
je 0x42f398
cmp esi, 0xd
je 0x42f3b3
cmp esi, 0xe
je 0x42f3ce
cmp esi, 0x10
je 0x42f3e9
cmp esi, 0x11
jne 0x42f404
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
mov eax, 0xf
jl 0x42f64e
mov eax, 0xb
jmp 0x42f64e
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x18], eax
mov eax, 0xa
jle 0x42f64e
mov eax, 0xc
jmp 0x42f64e
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x18], eax
mov eax, 0xb
jle 0x42f64e
mov eax, 0xc
jmp 0x42f64e
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
mov eax, 0xf
jl 0x42f64e
mov eax, 0xa
jmp 0x42f64e
mov eax, esi
jmp 0x42f64e
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x42f426
xor eax, eax
jmp 0x42f64e
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
push 0
mov ecx, esi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], eax
call fcn.0042f24e
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42f48d
mov eax, 1
jmp 0x42f64e
test edi, 0x40600
je 0x42f5ff
xor edx, edx
mov ecx, dword [0x434218]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
imul eax, eax, 3
sub ecx, eax
mov eax, dword [0x43421c]
add esi, ecx
mov ecx, dword [ebp - 8]
add ecx, ecx
sub eax, ecx
lea ecx, [eax + ebx]
mov eax, dword [ebp - 0x18]
add eax, ebx
cmp eax, dword [ebp + 0xc]
jle 0x42f50a
test edi, 0x200
je 0x42f4d9
mov edx, 0xc
jmp 0x42f5d7
mov eax, dword [ebp - 0x1c]
add eax, esi
cmp eax, dword [ebp + 8]
jl 0x42f4ed
mov edx, 0xd
jmp 0x42f5d7
mov eax, dword [ebp - 0x14]
mov edx, 0xe
sub eax, esi
cmp eax, dword [ebp + 8]
jle 0x42f5d7
mov edx, 0xc
jmp 0x42f5d7
mov eax, dword [ebp - 0x10]
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jg 0x42f557
test edi, 0x200
je 0x42f526
mov edx, 0xf
jmp 0x42f5d7
mov eax, dword [ebp - 0x1c]
add eax, esi
cmp eax, dword [ebp + 8]
jl 0x42f53a
mov edx, 0x10
jmp 0x42f5d7
mov eax, dword [ebp - 0x14]
mov edx, 0x11
sub eax, esi
cmp eax, dword [ebp + 8]
jle 0x42f5d7
mov edx, 0xf
jmp 0x42f5d7
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jle 0x42f598
test edi, 0x200
je 0x42f571
mov edx, 0xa
jmp 0x42f5d7
mov eax, dword [ebp - 0x18]
add eax, ecx
cmp eax, dword [ebp + 0xc]
jl 0x42f582
mov edx, 0xd
jmp 0x42f5d7
mov eax, dword [ebp - 0x10]
mov edx, 0x10
sub eax, ecx
cmp eax, dword [ebp + 0xc]
jle 0x42f5d7
mov edx, 0xa
jmp 0x42f5d7
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jg 0x42f5d7
test edi, 0x200
je 0x42f5b2
mov edx, 0xb
jmp 0x42f5d7
mov eax, dword [ebp - 0x18]
add eax, ecx
cmp eax, dword [ebp + 0xc]
jl 0x42f5c3
mov edx, 0xe
jmp 0x42f5d7
mov eax, dword [ebp - 0x10]
mov edx, 0x11
sub eax, ecx
cmp eax, dword [ebp + 0xc]
jle 0x42f5d7
mov edx, 0xb
test edx, edx
je 0x42f5ec
test edi, 0x800
mov eax, 2
jne 0x42f64e
mov eax, edx
jmp 0x42f64e
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
neg ebx
neg eax
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
add eax, dword [0x43421c]
add eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42f649
mov eax, dword [ebp - 0x1c]
add eax, dword [0x434218]
sub eax, 2
cmp eax, dword [ebp + 8]
jle 0x42f642
test edi, 0x80000
je 0x42f642
mov eax, 3
jmp 0x42f64e
mov eax, 2
jmp 0x42f64e
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8