Function at 0x472404
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0xdc]
mov edi, dword [esp + 0xc]
test al, al
jne 0x472445
mov eax, dword [edi]
cmp eax, 8
jle 0x472445
cmp eax, 0x13
jge 0x472445
mov ecx, dword [esi + 0x9e0]
push edi
test ecx, ecx
je 0x472439
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x47266c
mov ecx, esi
call fcn.00472002
jmp 0x47266c
cmp dword [edi], 0x17
push ebx
push ebp
jne 0x47247d
xor ebx, ebx
cmp dword [esi + 0x538], ebx
jle 0x47247d
lea ebp, [esi + 0x53c]
push dword [edi + 0x10]
push dword [edi + 0xc]
push ebp
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x472507
inc ebx
add ebp, 0x10
cmp ebx, dword [esi + 0x538]
jl 0x47245c
cmp dword [edi], 0xe
jne 0x4724bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x4724bd
xor ebx, ebx
cmp dword [esi + 0x538], ebx
jle 0x4724bd
lea ebp, [esi + 0x53c]
push dword [edi + 0x10]
push dword [edi + 0xc]
push ebp
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x472520
inc ebx
add ebp, 0x10
cmp ebx, dword [esi + 0x538]
jl 0x4724a0
mov eax, dword [esi + 0x538]
test eax, eax
jle 0x47254d
cmp dword [edi], 9
jne 0x47254d
or ebp, 0xffffffff
xor ebx, ebx
test eax, eax
jle 0x47253a
lea eax, [esi + 0x53c]
mov dword [esp + 0x14], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x472538
add dword [esp + 0x14], 0x10
inc ebx
cmp ebx, dword [esi + 0x538]
jl 0x4724e3
jmp 0x47253a
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x47266a
mov ecx, dword [esi + 0x40]
push 0
push 0
push ebx
push str.link
push esi
call fcn.0046b8e6
jmp 0x47266a
mov ebp, ebx
lea ebx, [esi + 0x9dc]
cmp dword [ebx], ebp
je 0x47254d
mov ecx, esi
call fcn.00472e0e
mov dword [ebx], ebp
cmp dword [esi + 0x538], 0
jle 0x472570
cmp dword [edi], 0xa
jne 0x472570
lea ebx, [esi + 0x9dc]
cmp dword [ebx], 0xffffffff
je 0x472570
mov ecx, esi
call fcn.00472e0e
or dword [ebx], 0xffffffff
mov eax, dword [edi]
cmp eax, 0xd
je 0x472589
cmp eax, 0xf
je 0x472589
push edi
mov ecx, esi
call fcn.00472002
jmp 0x47266a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x47265e
mov ecx, dword [esi + 0x40]
xor ebx, ebx
push ebx
push ebx
push ebx
push str.itemclick
push esi
call fcn.0046b8e6
mov ecx, dword [esi + 0x9e0]
cmp ecx, ebx
je 0x472657
mov eax, dword [ecx]
call dword [eax + 0x30]
test al, al
jne 0x472636
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x472612
lea ecx, [esi + 0x524]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x4725fe
cmp dword [edi], 0xd
jne 0x472657
mov ecx, dword [esi + 0x9e0]
push dword [esi + 0x528]
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x472657
mov ecx, dword [esi + 0x9e0]
mov eax, dword [ecx]
push ebx
push dword [esi + 0x528]
call dword [eax + 0x28]
jmp 0x472657
mov ecx, dword [esi + 0x9e0]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp eax, 1
jne 0x472631
lea ecx, [esi + 0x524]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
jne 0x472657
cmp dword [edi], 0xf
jne 0x472645
lea ecx, [esi + 0x524]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
jne 0x472657
mov ecx, dword [esi + 0x9e0]
mov eax, dword [ecx]
push ebx
push dword [esi + 0x528]
call dword [eax + 8]
mov ecx, esi
call fcn.00472e0e
mov ecx, dword [esi + 0x9e0]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
pop ebp
pop ebx
pop edi
pop esi
ret 4