Function at 0x430487
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.0041955d
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 [0x4462dc], 0
mov dword [ebp - 0x14], eax
je 0x4305d3
mov ecx, ebx
call fcn.00419c08
cmp dword [0x4462d4], 0
mov ebx, eax
je 0x430500
test esi, 0x1000
je 0x430500
cmp ebx, 3
jne 0x4304ec
mov ebx, 2
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x430500
xor eax, eax
jmp 0x430813
cmp ebx, 0xa
jb 0x43050a
cmp ebx, 0x11
jbe 0x430516
cmp ebx, 4
je 0x430516
mov eax, ebx
jmp 0x430813
test esi, 0x800
je 0x430528
mov eax, 2
jmp 0x430813
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 0x4305cc
cmp ebx, 4
je 0x430560
cmp ebx, 0xd
je 0x43057b
cmp ebx, 0xe
je 0x430596
cmp ebx, 0x10
je 0x4305b1
cmp ebx, 0x11
jne 0x4305cc
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
mov eax, 0xf
jg 0x430813
mov eax, 0xb
jmp 0x430813
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
mov eax, 0xa
jge 0x430813
mov eax, 0xc
jmp 0x430813
mov eax, dword [ebp - 0xc]
cmp dword [ebp + 0xc], eax
mov eax, 0xb
jge 0x430813
mov eax, 0xc
jmp 0x430813
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
mov eax, 0xf
jg 0x430813
mov eax, 0xa
jmp 0x430813
mov eax, ebx
jmp 0x430813
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 0x4305ee
xor eax, eax
jmp 0x430813
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.00430419
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 0x430655
mov eax, 1
jmp 0x430813
test esi, 0x40600
je 0x4307c5
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edx, edi
imul eax, eax, 3
sub ecx, eax
mov eax, dword [ebp - 0x18]
add ecx, dword [0x446320]
add eax, eax
sub edx, eax
mov eax, dword [ebp - 0xc]
add edx, dword [0x446324]
add eax, edi
cmp eax, dword [ebp + 0xc]
jle 0x4306d0
test esi, 0x200
je 0x43069f
mov ebx, 0xc
jmp 0x43079d
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x4306b3
mov ebx, 0xd
jmp 0x43079d
mov eax, dword [ebp - 8]
mov ebx, 0xe
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x43079d
mov ebx, 0xc
jmp 0x43079d
mov eax, dword [ebp - 4]
sub eax, edi
cmp eax, dword [ebp + 0xc]
jg 0x43071d
test esi, 0x200
je 0x4306ec
mov ebx, 0xf
jmp 0x43079d
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x430700
mov ebx, 0x10
jmp 0x43079d
mov eax, dword [ebp - 8]
mov ebx, 0x11
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x43079d
mov ebx, 0xf
jmp 0x43079d
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jle 0x43075e
test esi, 0x200
je 0x430737
mov ebx, 0xa
jmp 0x43079d
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x430748
mov ebx, 0xd
jmp 0x43079d
mov eax, dword [ebp - 4]
mov ebx, 0x10
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x43079d
mov ebx, 0xa
jmp 0x43079d
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jg 0x43079d
test esi, 0x200
je 0x430778
mov ebx, 0xb
jmp 0x43079d
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x430789
mov ebx, 0xe
jmp 0x43079d
mov eax, dword [ebp - 4]
mov ebx, 0x11
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x43079d
mov ebx, 0xb
test ebx, ebx
je 0x4307b2
test esi, 0x800
mov eax, 2
jne 0x430813
mov eax, ebx
jmp 0x430813
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 [ebp - 0xc]
add eax, dword [ebp - 0x18]
add eax, dword [0x446324]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43080e
mov eax, dword [0x446320]
add eax, dword [ebp - 0x10]
sub eax, 2
cmp eax, dword [ebp + 8]
jle 0x430807
test esi, 0x80000
je 0x430807
mov eax, 3
jmp 0x430813
mov eax, 2
jmp 0x430813
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8