Function at 0x4367ae
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004259f1
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [0x44b6a0], 0
mov dword [ebp - 0x14], eax
je 0x4368fa
mov ecx, ebx
call fcn.004227d1
cmp dword [0x44b698], 0
mov ebx, eax
je 0x436827
test esi, 0x1000
je 0x436827
cmp ebx, 3
jne 0x436813
mov ebx, 2
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x436827
xor eax, eax
jmp 0x436b39
cmp ebx, 0xa
jb 0x436831
cmp ebx, 0x11
jbe 0x43683d
cmp ebx, 4
je 0x43683d
mov eax, ebx
jmp 0x436b39
test esi, 0x800
je 0x43684f
mov eax, 2
jmp 0x436b39
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
test esi, 0x200
je 0x4368f3
cmp ebx, 4
je 0x436887
cmp ebx, 0xd
je 0x4368a2
cmp ebx, 0xe
je 0x4368bd
cmp ebx, 0x10
je 0x4368d8
cmp ebx, 0x11
jne 0x4368f3
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
mov eax, 0xf
jg 0x436b39
mov eax, 0xb
jmp 0x436b39
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
mov eax, 0xa
jge 0x436b39
mov eax, 0xc
jmp 0x436b39
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
mov eax, 0xb
jge 0x436b39
mov eax, 0xc
jmp 0x436b39
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
mov eax, 0xf
jg 0x436b39
mov eax, 0xa
jmp 0x436b39
mov eax, ebx
jmp 0x436b39
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x436915
xor eax, eax
jmp 0x436b39
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
push 0
mov ecx, ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], eax
call fcn.00436740
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 0x43697c
mov eax, 1
jmp 0x436b39
test esi, 0x40600
je 0x436aec
xor ecx, ecx
mov edx, dword [0x44b858]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
imul eax, eax, 3
sub edx, eax
add ebx, ebx
add edx, dword [ebp - 0x14]
mov eax, dword [0x44b85c]
sub eax, ebx
lea ebx, [eax + edi]
mov eax, dword [ebp - 0xc]
add eax, edi
cmp eax, dword [ebp + 0xc]
jle 0x4369f7
test esi, 0x200
je 0x4369c6
mov ecx, 0xc
jmp 0x436ac4
mov eax, dword [ebp - 0x10]
add eax, edx
cmp eax, dword [ebp + 8]
jl 0x4369da
mov ecx, 0xd
jmp 0x436ac4
mov eax, dword [ebp - 8]
mov ecx, 0xe
sub eax, edx
cmp eax, dword [ebp + 8]
jle 0x436ac4
mov ecx, 0xc
jmp 0x436ac4
mov eax, dword [ebp - 4]
sub eax, edi
cmp eax, dword [ebp + 0xc]
jg 0x436a44
test esi, 0x200
je 0x436a13
mov ecx, 0xf
jmp 0x436ac4
mov eax, dword [ebp - 0x10]
add eax, edx
cmp eax, dword [ebp + 8]
jl 0x436a27
mov ecx, 0x10
jmp 0x436ac4
mov eax, dword [ebp - 8]
mov ecx, 0x11
sub eax, edx
cmp eax, dword [ebp + 8]
jle 0x436ac4
mov ecx, 0xf
jmp 0x436ac4
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jle 0x436a85
test esi, 0x200
je 0x436a5e
mov ecx, 0xa
jmp 0x436ac4
mov eax, dword [ebp - 0xc]
add eax, ebx
cmp eax, dword [ebp + 0xc]
jl 0x436a6f
mov ecx, 0xd
jmp 0x436ac4
mov eax, dword [ebp - 4]
mov ecx, 0x10
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jle 0x436ac4
mov ecx, 0xa
jmp 0x436ac4
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jg 0x436ac4
test esi, 0x200
je 0x436a9f
mov ecx, 0xb
jmp 0x436ac4
mov eax, dword [ebp - 0xc]
add eax, ebx
cmp eax, dword [ebp + 0xc]
jl 0x436ab0
mov ecx, 0xe
jmp 0x436ac4
mov eax, dword [ebp - 4]
mov ecx, 0x11
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jle 0x436ac4
mov ecx, 0xb
test ecx, ecx
je 0x436ad9
test esi, 0x800
mov eax, 2
jne 0x436b39
mov eax, ecx
jmp 0x436b39
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x44b85c]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x436b34
mov eax, dword [0x44b858]
add eax, dword [ebp - 0x10]
sub eax, 2
cmp eax, dword [ebp + 8]
jle 0x436b2d
test esi, 0x80000
je 0x436b2d
mov eax, 3
jmp 0x436b39
mov eax, 2
jmp 0x436b39
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8