Function at 0x4b6472
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x717dac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
call dword [eax + 0x198]
test al, al
jne 0x4b64c3
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x4b64c3
mov ecx, dword [edi + 0xa0]
push esi
test ecx, ecx
je 0x4b64ba
mov eax, dword [ecx]
call dword [eax + 0x200]
jmp 0x4b64e1
mov ecx, edi
call fcn.00479357
jmp 0x4b64e1
cmp dword [esi], 0x18
push ebx
je 0x4b64ce
cmp dword [esi], 0x17
jne 0x4b64f1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1f0]
push esi
mov ecx, edi
call fcn.00494422
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0062f00e
leave
ret 4
cmp dword [esi], 0xd
jne 0x4b6739
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004b7588
mov dword [edi + 0x828], eax
test eax, eax
jne 0x4b6526
lea esi, [edi + 0x330]
mov ecx, esi
call fcn.004be95c
mov ecx, esi
call fcn.004be9af
mov esi, dword [ebp - 0x2c]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x1d0]
push esi
mov ecx, edi
call fcn.004b7e4c
test al, al
jne 0x4b64e0
xor ebx, ebx
cmp dword [edi + 0x36c], ebx
je 0x4b6550
cmp dword [edi + 0x370], ebx
jne 0x4b6596
mov eax, dword [esi + 0xc]
mov ecx, edi
mov dword [edi + 0x80c], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x810], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x814], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x818], eax
mov eax, dword [edi]
call dword [eax + 0x40]
test eax, eax
je 0x4b6596
mov eax, dword [edi]
mov ecx, edi
push ebx
push ebx
push ebx
push str.startselchange
push edi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00472e9d
mov eax, dword [edi + 0x828]
test eax, eax
je 0x4b64e0
mov esi, dword [eax + 0x374]
mov ecx, edi
mov eax, dword [eax + 0x378]
push esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
call fcn.004b7caf
test eax, eax
je 0x4b65e2
mov ebx, dword [ebp - 0x28]
mov ecx, edi
push ebx
call fcn.004b7c8b
test eax, eax
jne 0x4b6b36
push ebx
mov ecx, edi
call fcn.004b94b5
jmp 0x4b6b36
cmp dword [edi + 0x36c], ebx
je 0x4b6671
lea esi, [edi + 0x330]
cmp dword [edi + 0x370], ebx
je 0x4b6623
mov ebx, dword [ebp - 0x30]
mov ecx, esi
push ebx
call fcn.004beb4d
test eax, eax
jne 0x4b6615
push 1
push ebx
mov ecx, esi
call fcn.004bed00
push dword [ebp - 0x28]
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push ebx
jmp 0x4b6669
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, esi
test ax, ax
jns 0x4b664f
push dword [ebp - 0x30]
call fcn.004beb4d
mov ecx, esi
test eax, eax
je 0x4b6656
push ebx
push dword [ebp - 0x30]
call fcn.004bed00
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x4b6665
call fcn.004be9af
mov ecx, esi
mov ebx, dword [ebp - 0x30]
push 1
push ebx
call fcn.004bed00
push dword [ebp - 0x28]
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
jmp 0x4b6b36
mov ebx, dword [ebp - 0x28]
mov ecx, edi
push ebx
call fcn.004b7c8b
test eax, eax
je 0x4b66fe
push esi
mov ecx, edi
call fcn.004b7caf
test eax, eax
jne 0x4b66fe
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
lea ebx, [edi + 0x330]
test ax, ax
js 0x4b66a6
mov ecx, ebx
call fcn.004be95c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x4b6b36
lea esi, [eax + 0x2c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp eax, 1
jle 0x4b6b36
xor edi, edi
inc edi
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
push 1
mov ecx, ebx
push dword [eax + 0x378]
push dword [eax + 0x374]
call fcn.004bec52
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x4b66ce
mov edi, dword [ebp - 0x34]
jmp 0x4b6b36
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [edi + 0x330]
test ax, ax
jns 0x4b6720
push ebx
push esi
call fcn.004beaf4
neg eax
sbb eax, eax
inc eax
push eax
jmp 0x4b6727
call fcn.004be95c
push 1
push ebx
push esi
lea ecx, [edi + 0x330]
call fcn.004bec52
jmp 0x4b6b36
cmp dword [esi], 0xe
jne 0x4b6a01
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1cc]
xor ebx, ebx
test al, al
je 0x4b675d
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x1d0]
lea ecx, [edi + 0x80c]
call fcn.0046c85b
test al, al
jne 0x4b6900
lea ecx, [edi + 0x80c]
call fcn.0046c8a6
push dword [edi + 0x810]
lea ecx, [ebp - 0xc]
push dword [edi + 0x80c]
call fcn.0046c058
push eax
mov ecx, edi
call fcn.004b7588
push dword [edi + 0x818]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x38], eax
push dword [edi + 0x814]
call fcn.0046c058
push eax
mov ecx, edi
call fcn.004b7588
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4b67e9
test eax, eax
je 0x4b67e9
cmp ecx, eax
je 0x4b67e9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4b67e9
lea esi, [edi + 0x330]
mov ecx, esi
call fcn.004be9af
mov ecx, esi
call fcn.004be95c
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
call fcn.0046c0b8
mov ecx, dword [edi + 0x400]
add ecx, 0x2c8
mov dword [ebp - 0x30], ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4b6900
lea esi, [edi + 0x80c]
mov edx, ebx
mov ecx, dword [edi + 0x400]
add ecx, 0x2c8
push edx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x36c], ebx
je 0x4b6865
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xbc]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.0046c83f
test eax, eax
je 0x4b68de
mov ecx, dword [ebp - 0x28]
push 1
call fcn.004b37b1
push eax
lea ecx, [edi + 0x330]
call fcn.004bed00
jmp 0x4b68de
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
mov dword [ebp - 8], ecx
call dword [eax + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x2c8]
lea ecx, [eax + 0x2c8]
call dword [edx + 0xc]
cmp dword [ebp - 0x38], eax
jge 0x4b68de
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x28]
lea ecx, [ebx + 0x2c8]
mov eax, dword [ecx]
push edi
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xbc]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.0046c83f
test eax, eax
je 0x4b68c9
push 1
push edi
mov ecx, ebx
call fcn.004b37b1
mov ecx, dword [ebp - 8]
push eax
call fcn.004bec52
lea ecx, [ebx + 0x2c8]
inc edi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp edi, eax
jl 0x4b6893
mov edi, dword [ebp - 0x34]
xor ebx, ebx
mov ecx, dword [edi + 0x400]
inc dword [ebp - 0x30]
add ecx, 0x2c8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x30]
cmp edx, eax
jl 0x4b6815
mov esi, dword [ebp - 0x2c]
lea eax, [esi + 0xc]
mov ecx, edi
push eax
mov dword [ebp - 8], eax
call fcn.004b7588
mov esi, eax
test esi, esi
je 0x4b698e
cmp esi, dword [edi + 0x828]
jne 0x4b698e
push dword [esi + 0x378]
mov ecx, edi
push dword [esi + 0x374]
call fcn.004b73ec
cmp eax, 2
jne 0x4b698e
mov ecx, esi
call fcn.004b450b
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x4b698e
mov edx, dword [esi]
mov ecx, esi
push str.CheckBox
call dword [edx + 0x34]
test eax, eax
je 0x4b698e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, al
je 0x4b698e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4b698e
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
call dword [esi + 0x28c]
mov ecx, dword [ebp - 0x34]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call dword [esi + 0x288]
mov eax, dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
lea eax, [edi + 0xb0]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4b69c9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x4b69c9
mov eax, dword [edi]
mov ecx, edi
push ebx
push ebx
push ebx
push str.click
push edi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00472e9d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x4b69eb
mov eax, dword [edi]
mov ecx, edi
push ebx
push ebx
push ebx
push str.endselchange
push edi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00472e9d
lea ecx, [edi + 0x80c]
call fcn.0046c458
mov dword [edi + 0x828], ebx
jmp 0x4b6b36
cmp dword [esi], 9
jne 0x4b6b45
lea eax, [esi + 0xc]
mov ecx, edi
push eax
mov dword [ebp - 8], eax
call fcn.004b7588
xor ebx, ebx
mov dword [edi + 0x830], eax
test eax, eax
je 0x4b6a33
push dword [eax + 0x374]
mov ecx, edi
call fcn.004b785f
jmp 0x4b6a35
mov eax, ebx
mov dword [edi + 0x82c], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1cc]
test al, al
je 0x4b64d8
mov eax, dword [edi + 0x834]
cmp eax, 1
jne 0x4b6aa9
mov ecx, dword [edi + 0x828]
test ecx, ecx
je 0x4b6b10
push dword [ecx + 0x378]
lea esi, [edi + 0x330]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ebx, dword [ebp - 8]
mov edx, dword [ebx]
sub edx, dword [edi + 0x170]
add eax, edx
test eax, eax
jle 0x4b64e0
mov edx, dword [esi]
mov ecx, esi
push eax
mov eax, dword [edi + 0x828]
push dword [eax + 0x378]
call dword [edx + 0x3c]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
jmp 0x4b6af8
cmp eax, 2
jne 0x4b6b10
mov ecx, dword [edi + 0x828]
test ecx, ecx
je 0x4b6b10
push dword [ecx + 0x374]
lea ebx, [edi + 0x330]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
mov edx, dword [esi + 0x10]
sub edx, dword [edi + 0x174]
add eax, edx
test eax, eax
jle 0x4b64e0
mov edx, dword [ebx]
mov ecx, ebx
push eax
mov eax, dword [edi + 0x828]
push dword [eax + 0x374]
call dword [edx + 0x34]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x174], ecx
mov ecx, edi
mov dword [edi + 0x170], eax
call fcn.00475bd8
jmp 0x4b64e0
cmp dword [edi + 0x36c], ebx
je 0x4b6b24
cmp dword [edi + 0x370], ebx
jne 0x4b64d8
mov eax, dword [esi + 0xc]
mov dword [edi + 0x814], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x818], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1f0]
jmp 0x4b64e0
cmp dword [esi], 0xf
jne 0x4b6bf8
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004b7588
mov ecx, eax
test ecx, ecx
je 0x4b6c0c
mov eax, dword [ecx + 0x374]
mov ecx, dword [ecx + 0x378]
mov dword [ebp - 0x2c], ecx
mov ecx, edi
push eax
mov dword [ebp - 0x28], eax
call fcn.004b7caf
test eax, eax
jne 0x4b64d8
lea ebx, [edi + 0x330]
mov ecx, ebx
cmp dword [edi + 0x36c], eax
je 0x4b6bca
push dword [ebp - 0x28]
call fcn.004beb4d
test eax, eax
jne 0x4b6bb4
mov ecx, ebx
call fcn.004be9af
push 1
push dword [ebp - 0x28]
mov ecx, ebx
call fcn.004bed00
push dword [ebp - 0x2c]
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x48]
jmp 0x4b64d8
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call fcn.004beaf4
test eax, eax
jne 0x4b64d8
mov ecx, ebx
call fcn.004be95c
push 1
push dword [ebp - 0x2c]
mov ecx, ebx
push dword [ebp - 0x28]
call fcn.004bec52
jmp 0x4b64d8
cmp dword [esi], 0x10
jne 0x4b6c57
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004b7588
test eax, eax
jne 0x4b6c2e
lea esi, [edi + 0x330]
mov ecx, esi
call fcn.004be95c
mov ecx, esi
call fcn.004be9af
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x4b64e0
mov esi, dword [eax + 0x374]
mov ecx, edi
mov ebx, dword [eax + 0x378]
mov eax, dword [edi]
call dword [eax + 0x40]
test eax, eax
je 0x4b64e0
push 0
push ebx
push esi
push str.itemrclick
jmp 0x4b6d7f
cmp dword [esi], 0x1a
jne 0x4b6d41
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004b7588
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x4b64d8
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004b43d2
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x24]
add ecx, 0xfffffff8
mov dword [ebp - 0x14], ecx
mov ecx, ebx
push eax
call fcn.004b43d2
mov eax, dword [ebp - 0x18]
xor ebx, ebx
add eax, 0xfffffffc
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x354], ebx
je 0x4b6cd9
mov eax, dword [ebp - 0x2c]
mov ecx, edi
push dword [eax + 0x374]
call fcn.004b7caf
test eax, eax
je 0x4b6cd9
push dword [esi + 0x10]
lea eax, [ebp - 0x14]
push dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4b6cd9
push 0x7f84
jmp 0x4b6d2e
cmp dword [edi + 0x358], ebx
je 0x4b64d8
mov eax, dword [ebp - 0x2c]
mov ecx, edi
push dword [eax + 0x378]
call fcn.004b7c8b
test eax, eax
jne 0x4b6d11
mov eax, dword [ebp - 0x2c]
mov ecx, edi
push dword [eax + 0x374]
call fcn.004b7caf
test eax, eax
je 0x4b64d8
push dword [esi + 0x10]
lea eax, [ebp - 0x24]
push dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4b64d8
push 0x7f85
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4b64e0
cmp dword [esi], 0x13
jne 0x4b64d8
push dword [esi + 0x10]
lea eax, [edi + 0xb0]
push dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4b64e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x4b64e0
push 1
xor ebx, ebx
push ebx
push ebx
push str.dbclick
mov eax, dword [edi]
mov ecx, edi
push edi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00472e9d
jmp 0x4b64e0