Function at 0x4a5230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x646384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
call dword [eax + 0x198]
test al, al
jne 0x4a5281
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x4a5281
mov ecx, dword [edi + 0xa0]
push esi
test ecx, ecx
je 0x4a5278
mov eax, dword [ecx]
call dword [eax + 0x200]
jmp 0x4a529f
mov ecx, edi
call fcn.00481466
jmp 0x4a529f
cmp dword [esi], 0x18
push ebx
je 0x4a528c
cmp dword [esi], 0x17
jne 0x4a52af
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1f0]
push esi
mov ecx, edi
call fcn.00464a6a
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004553ba
leave
ret 4
cmp dword [esi], 0xd
jne 0x4a5504
lea eax, [esi + 0xc]
mov ecx, edi
push eax
mov dword [ebp - 0x34], eax
call fcn.004a6389
mov dword [edi + 0x828], eax
lea esi, [edi + 0x330]
test eax, eax
jne 0x4a52e4
mov ecx, esi
call fcn.004b02bc
mov ecx, esi
call fcn.004b030f
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x1d0]
push dword [ebp - 0x28]
mov ecx, edi
call fcn.004a6d9f
test al, al
jne 0x4a529e
xor ebx, ebx
cmp dword [edi + 0x36c], ebx
je 0x4a5310
cmp dword [edi + 0x370], ebx
jne 0x4a534b
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
mov eax, dword [edx]
mov dword [edi + 0x80c], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x810], eax
mov eax, dword [edx]
mov dword [edi + 0x814], eax
mov eax, dword [ecx + 0x10]
lea ecx, [edi + 0x330]
mov dword [edi + 0x818], eax
mov eax, dword [ecx]
push ebx
push 0x5be724
call dword [eax + 4]
mov ecx, dword [edi + 0x828]
test ecx, ecx
je 0x4a529e
mov eax, dword [ecx + 0x374]
mov ecx, dword [ecx + 0x378]
mov dword [ebp - 0x28], ecx
mov ecx, edi
push eax
mov dword [ebp - 0x2c], eax
call fcn.004a6aa2
test eax, eax
je 0x4a5397
mov ebx, dword [ebp - 0x28]
mov ecx, edi
push ebx
call fcn.004a6a7e
test eax, eax
jne 0x4a58e1
push ebx
mov ecx, edi
call fcn.004a845c
jmp 0x4a58e1
cmp dword [edi + 0x36c], ebx
je 0x4a542a
cmp dword [edi + 0x370], ebx
je 0x4a53d6
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.004b04b2
test eax, eax
jne 0x4a53c6
push ebx
push 1
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.004b069f
push dword [ebp - 0x28]
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push dword [ebp - 0x2c]
jmp 0x4a5422
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, esi
test ax, ax
jns 0x4a5403
push dword [ebp - 0x2c]
call fcn.004b04b2
mov ecx, esi
push ebx
test eax, eax
je 0x4a540b
push ebx
push dword [ebp - 0x2c]
call fcn.004b069f
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x4a541a
call fcn.004b030f
push ebx
mov ecx, esi
mov ebx, dword [ebp - 0x2c]
push 1
push ebx
call fcn.004b069f
push dword [ebp - 0x28]
push ebx
mov eax, dword [edi + 0x330]
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x4a58e1
push dword [ebp - 0x28]
mov ecx, edi
call fcn.004a6a7e
test eax, eax
je 0x4a54c7
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.004a6aa2
test eax, eax
jne 0x4a54c7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4a545e
mov ecx, esi
call fcn.004b02bc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x4a58e1
lea ecx, [eax + 0x2c8]
mov dword [ebp - 0x28], 1
mov eax, dword [ecx]
mov dword [ebp - 0x34], ecx
call dword [eax + 0xc]
cmp eax, 1
jle 0x4a58e1
mov edi, dword [ebp - 0x34]
xor ecx, ecx
inc ecx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
push ebx
push 1
mov ecx, esi
push dword [eax + 0x378]
push dword [eax + 0x374]
call fcn.004b05c5
mov eax, dword [edi]
mov ecx, edi
inc dword [ebp - 0x28]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
jl 0x4a5491
mov edi, dword [ebp - 0x38]
jmp 0x4a58e1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, esi
test ax, ax
jns 0x4a54ea
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004b0454
neg eax
push ebx
sbb eax, eax
inc eax
push eax
jmp 0x4a54f2
call fcn.004b02bc
push ebx
push 1
push dword [ebp - 0x28]
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.004b05c5
jmp 0x4a58e1
cmp dword [esi], 0xe
jne 0x4a57a6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1cc]
xor ebx, ebx
test al, al
je 0x4a5528
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x1d0]
lea ecx, [edi + 0x80c]
call fcn.00457ed7
test al, al
jne 0x4a56c3
lea ecx, [edi + 0x80c]
call fcn.00457f22
push dword [edi + 0x810]
lea ecx, [ebp - 0xc]
push dword [edi + 0x80c]
call fcn.00457754
push eax
mov ecx, edi
call fcn.004a6389
push dword [edi + 0x818]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x34], eax
push dword [edi + 0x814]
call fcn.00457754
push eax
mov ecx, edi
call fcn.004a6389
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4a55b4
test eax, eax
je 0x4a55b4
cmp ecx, eax
je 0x4a55b4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4a55b4
lea esi, [edi + 0x330]
mov ecx, esi
call fcn.004b030f
mov ecx, esi
call fcn.004b02bc
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.004577b4
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 0x4a56c3
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 - 0x2c], eax
cmp dword [edi + 0x36c], ebx
je 0x4a5631
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xbc]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00457ebb
test eax, eax
je 0x4a56a1
mov ecx, dword [ebp - 0x2c]
push ebx
push 1
call fcn.004a1eef
push eax
lea ecx, [edi + 0x330]
call fcn.004b069f
jmp 0x4a56a1
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
mov dword [ebp - 8], ecx
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
add eax, 0x2c8
mov ecx, eax
mov dword [ebp - 0x34], eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp dword [ebp - 0x3c], eax
jge 0x4a56a1
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
push edi
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xbc]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00457ebb
test eax, eax
je 0x4a5691
mov ecx, dword [ebp - 0x2c]
push ebx
push 1
push edi
call fcn.004a1eef
mov ecx, dword [ebp - 8]
push eax
call fcn.004b05c5
mov ecx, dword [ebp - 0x34]
inc edi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp edi, eax
jl 0x4a565c
mov edi, dword [ebp - 0x38]
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 0x4a55e0
mov esi, dword [ebp - 0x28]
lea eax, [esi + 0xc]
mov ecx, edi
push eax
mov dword [ebp - 8], eax
call fcn.004a6389
mov esi, eax
test esi, esi
je 0x4a5751
cmp esi, dword [edi + 0x828]
jne 0x4a5751
push dword [esi + 0x378]
mov ecx, edi
push dword [esi + 0x374]
call fcn.004a61e5
cmp eax, 2
jne 0x4a5751
mov ecx, esi
call fcn.004a2c21
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x4a5751
mov edx, dword [esi]
mov ecx, esi
push str.CheckBox
call dword [edx + 0x34]
test eax, eax
je 0x4a5751
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, al
je 0x4a5751
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4a5751
mov esi, dword [esi]
mov ecx, dword [ebp - 0x38]
call dword [esi + 0x28c]
mov ecx, dword [ebp - 0x38]
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 0x4a577d
push ebx
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push ebx
push ebx
push str.click
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push ebx
push ebx
push str.endselchange
call dword [eax + 4]
lea ecx, [edi + 0x80c]
call fcn.00457abc
mov dword [edi + 0x828], ebx
jmp 0x4a58e1
cmp dword [esi], 9
jne 0x4a58f0
lea eax, [esi + 0xc]
mov ecx, edi
push eax
mov dword [ebp - 8], eax
call fcn.004a6389
xor ebx, ebx
mov dword [edi + 0x830], eax
test eax, eax
je 0x4a57d8
push dword [eax + 0x374]
mov ecx, edi
call fcn.004a665c
jmp 0x4a57da
mov eax, ebx
mov dword [edi + 0x82c], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1cc]
test al, al
je 0x4a5296
mov eax, dword [edi + 0x834]
cmp eax, 1
jne 0x4a5854
mov ecx, dword [edi + 0x828]
test ecx, ecx
je 0x4a58bb
push dword [ecx + 0x378]
lea esi, [edi + 0x330]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov ebx, dword [ebp - 8]
mov edx, dword [ebx]
sub edx, dword [edi + 0x170]
add eax, edx
test eax, eax
jle 0x4a529e
mov edx, dword [esi]
mov ecx, esi
push eax
mov eax, dword [edi + 0x828]
push dword [eax + 0x378]
call dword [edx + 0x40]
mov eax, dword [ebx]
mov dword [edi + 0x170], eax
mov eax, dword [ebx + 4]
jmp 0x4a58a9
cmp eax, 2
jne 0x4a58bb
mov ecx, dword [edi + 0x828]
test ecx, ecx
je 0x4a58bb
push dword [ecx + 0x374]
lea ebx, [edi + 0x330]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3c]
mov edx, dword [esi + 0x10]
sub edx, dword [edi + 0x174]
add eax, edx
test eax, eax
jle 0x4a529e
mov edx, dword [ebx]
mov ecx, ebx
push eax
mov eax, dword [edi + 0x828]
push dword [eax + 0x374]
call dword [edx + 0x38]
mov eax, dword [esi + 0xc]
mov dword [edi + 0x170], eax
mov eax, dword [esi + 0x10]
mov ecx, edi
mov dword [edi + 0x174], eax
call fcn.0045fff4
jmp 0x4a529e
cmp dword [edi + 0x36c], ebx
je 0x4a58cf
cmp dword [edi + 0x370], ebx
jne 0x4a5296
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 0x4a529e
cmp dword [esi], 0xf
jne 0x4a59d0
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004a6389
mov ecx, eax
test ecx, ecx
jne 0x4a5927
lea esi, [edi + 0x330]
mov ecx, esi
call fcn.004b02bc
mov ecx, esi
call fcn.004b030f
mov eax, dword [esi]
mov ecx, esi
jmp 0x4a5a02
mov eax, dword [ecx + 0x374]
mov ecx, dword [ecx + 0x378]
mov dword [ebp - 0x30], ecx
mov ecx, edi
push eax
mov dword [ebp - 0x28], eax
call fcn.004a6aa2
test eax, eax
jne 0x4a5296
xor ebx, ebx
lea eax, [edi + 0x330]
mov ecx, eax
cmp dword [edi + 0x36c], ebx
je 0x4a5999
push dword [ebp - 0x28]
call fcn.004b04b2
test eax, eax
jne 0x4a5983
lea ecx, [edi + 0x330]
call fcn.004b030f
push ebx
push 1
push dword [ebp - 0x28]
lea ecx, [edi + 0x330]
call fcn.004b069f
push dword [ebp - 0x30]
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push dword [ebp - 0x28]
call dword [eax + 0x4c]
jmp 0x4a5296
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.004b0454
test eax, eax
jne 0x4a5296
lea ecx, [edi + 0x330]
call fcn.004b02bc
push ebx
push 1
push dword [ebp - 0x30]
lea ecx, [edi + 0x330]
push dword [ebp - 0x28]
call fcn.004b05c5
jmp 0x4a5296
cmp dword [esi], 0x10
jne 0x4a5a28
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004a6389
mov ecx, eax
lea esi, [edi + 0x330]
test ecx, ecx
jne 0x4a5a0c
mov ecx, esi
call fcn.004b02bc
mov ecx, esi
call fcn.004b030f
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push 0
call dword [eax + 8]
jmp 0x4a529e
mov eax, dword [esi]
push 0
push dword [ecx + 0x378]
push dword [ecx + 0x374]
mov ecx, esi
push str.itemrclick
jmp 0x4a5b49
cmp dword [esi], 0x1a
jne 0x4a5b12
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004a6389
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x4a5296
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004a2aea
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x24]
add ecx, 0xfffffff8
mov dword [ebp - 0x14], ecx
mov ecx, ebx
push eax
call fcn.004a2aea
mov eax, dword [ebp - 0x18]
xor ebx, ebx
add eax, 0xfffffffc
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x354], ebx
je 0x4a5aaa
mov eax, dword [ebp - 0x30]
mov ecx, edi
push dword [eax + 0x374]
call fcn.004a6aa2
test eax, eax
je 0x4a5aaa
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 0x4a5aaa
push 0x7f84
jmp 0x4a5aff
cmp dword [edi + 0x358], ebx
je 0x4a5296
mov eax, dword [ebp - 0x30]
mov ecx, edi
push dword [eax + 0x378]
call fcn.004a6a7e
test eax, eax
jne 0x4a5ae2
mov eax, dword [ebp - 0x30]
mov ecx, edi
push dword [eax + 0x374]
call fcn.004a6aa2
test eax, eax
je 0x4a5296
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 0x4a5296
push 0x7f85
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4a529e
cmp dword [esi], 0x13
jne 0x4a5296
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 0x4a529e
push 1
xor ebx, ebx
lea ecx, [edi + 0x330]
mov eax, dword [ecx]
push ebx
push ebx
push str.dbclick
call dword [eax + 4]
jmp 0x4a529e