Function at 0x4db32a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x58a06c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov eax, dword [edi]
call dword [eax + 0x184]
test al, al
jne 0x4db388
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x4db388
mov ecx, dword [edi + 0xa0]
push esi
test ecx, ecx
je 0x4db37c
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x4dbc02
mov ecx, edi
call fcn.00475d97
jmp 0x4dbc02
cmp dword [esi], 0x18
je 0x4dbbf3
cmp dword [esi], 0x17
je 0x4dbbf3
cmp dword [esi], 0xd
jne 0x4db5c9
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004daac8
mov dword [edi + 0x13a8], eax
test eax, eax
jne 0x4db3d0
lea esi, [edi + 0x830]
mov ecx, esi
call fcn.004e07b7
mov ecx, esi
call fcn.004e0632
mov esi, dword [esp + 0x14]
or dword [edi + 0x80c], 0x40
mov ecx, edi
push esi
call fcn.004dbc16
test al, al
jne 0x4dbc02
xor ebx, ebx
cmp dword [edi + 0x86c], ebx
je 0x4db3f9
cmp dword [edi + 0x870], ebx
jne 0x4db41d
mov eax, dword [esi + 0xc]
mov dword [edi + 0x138c], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1390], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1394], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1398], eax
mov eax, dword [edi + 0x13a8]
test eax, eax
je 0x4dbc02
mov esi, dword [eax + 0x11f4]
mov ecx, edi
mov eax, dword [eax + 0x11f8]
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
call fcn.004dad7c
test eax, eax
je 0x4db46c
mov ebx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004dada0
test eax, eax
jne 0x4db5bd
push ebx
mov ecx, edi
call fcn.004dae5e
jmp 0x4db5bd
cmp dword [edi + 0x86c], ebx
je 0x4db501
lea esi, [edi + 0x830]
cmp dword [edi + 0x870], ebx
je 0x4db4af
mov ebx, dword [esp + 0x10]
mov ecx, esi
push ebx
call fcn.004e0757
test eax, eax
jne 0x4db4a0
push 1
push ebx
mov ecx, esi
call fcn.004e06a4
push dword [esp + 0xc]
lea ecx, [edi + 0x830]
mov eax, dword [ecx]
push ebx
jmp 0x4db4f9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, esi
test ax, ax
jns 0x4db4dd
push dword [esp + 0x10]
call fcn.004e0757
mov ecx, esi
test eax, eax
je 0x4db4e4
push ebx
push dword [esp + 0x14]
call fcn.004e06a4
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x4db4f5
call fcn.004e0632
mov ecx, esi
mov ebx, dword [esp + 0x10]
push 1
push ebx
call fcn.004e06a4
push dword [esp + 0xc]
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
jmp 0x4db5bd
mov ebx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004dada0
test eax, eax
je 0x4db585
push esi
mov ecx, edi
call fcn.004dad7c
test eax, eax
jne 0x4db585
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
lea ebx, [edi + 0x830]
test ax, ax
js 0x4db537
mov ecx, ebx
call fcn.004e07b7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x4db5bd
lea esi, [eax + 0x6b8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp eax, 1
jle 0x4db5bd
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 + 0x11f8]
push dword [eax + 0x11f4]
call fcn.004e082b
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x4db557
mov edi, dword [esp + 0x18]
jmp 0x4db5bd
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [edi + 0x830]
test ax, ax
jns 0x4db5a9
push ebx
push esi
call fcn.004e0913
xor edx, edx
test eax, eax
sete dl
push edx
jmp 0x4db5b0
call fcn.004e07b7
push 1
push ebx
push esi
lea ecx, [edi + 0x830]
call fcn.004e082b
mov ecx, edi
call fcn.00470647
jmp 0x4dbc02
cmp dword [esi], 0xe
jne 0x4db8a7
mov eax, dword [edi + 0x80c]
test al, 0x40
je 0x4db5e5
and eax, 0xffffffbf
mov dword [edi + 0x80c], eax
lea esi, [edi + 0x138c]
mov ecx, esi
call fcn.0047c992
xor ebx, ebx
test al, al
jne 0x4db7bc
call fcn.0047c9dd
mov eax, dword [esi]
mov ecx, edi
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x1390]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
call fcn.004daac8
mov ecx, dword [edi + 0x1394]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x1398]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, edi
push eax
call fcn.004daac8
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4db678
test eax, eax
je 0x4db678
cmp ecx, eax
je 0x4db678
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4db678
lea esi, [edi + 0x830]
mov ecx, esi
call fcn.004e0632
mov ecx, esi
call fcn.004e07b7
lea esi, [edi + 0x138c]
mov ecx, dword [edi + 0xf80]
add ecx, 0x6b8
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [ecx]
mov dword [esp + 0xc], ebx
call dword [eax + 0xc]
test eax, eax
jle 0x4db7bc
mov ecx, dword [edi + 0xf80]
push dword [esp + 0xc]
add ecx, 0x6b8
mov eax, dword [ecx]
call dword [eax]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x86c], ebx
je 0x4db704
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x9c]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4db794
lea esi, [edi + 0x830]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x20]
add eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.004e06a4
jmp 0x4db794
lea ecx, [edi + 0x830]
mov eax, dword [ecx]
mov dword [esp + 0x24], ecx
call dword [eax + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x6b8]
lea ecx, [eax + 0x6b8]
call dword [edx + 0xc]
cmp dword [esp + 0x1c], eax
jge 0x4db794
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add ecx, 0x6b8
push ebx
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x9c]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4db77a
mov ecx, dword [esp + 0x24]
push 1
push ebx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esp + 0x2c]
add eax, edi
push eax
call fcn.004e082b
mov ecx, dword [esp + 0x10]
inc ebx
add ecx, 0x6b8
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp ebx, eax
jl 0x4db738
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov ecx, dword [edi + 0xf80]
mov esi, dword [esp + 0xc]
add ecx, 0x6b8
inc esi
mov dword [esp + 0xc], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp esi, eax
lea esi, [edi + 0x138c]
jl 0x4db6a5
mov eax, dword [esp + 0x14]
mov ecx, edi
add eax, 0xc
push eax
mov dword [esp + 0x1c], eax
call fcn.004daac8
mov esi, eax
test esi, esi
je 0x4db84f
cmp esi, dword [edi + 0x13a8]
jne 0x4db84f
push dword [esi + 0x11f8]
mov ecx, edi
push dword [esi + 0x11f4]
call fcn.004da747
cmp eax, 2
jne 0x4db84f
mov esi, dword [esi + 0x11fc]
mov dword [esp + 0x14], esi
test esi, esi
je 0x4db84f
mov eax, dword [esi]
mov ecx, esi
push str.CheckBox
call dword [eax + 0x34]
test eax, eax
je 0x4db84f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x184]
test al, al
je 0x4db84f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x4db84f
mov esi, dword [esi]
mov ecx, dword [esp + 0x14]
call dword [esi + 0x28c]
mov ecx, dword [esp + 0x14]
neg al
sbb al, al
inc al
movzx eax, al
push eax
call dword [esi + 0x288]
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [eax]
lea eax, [edi + 0x1b0]
push eax
call dword [0x53e600]
test eax, eax
je 0x4db88b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x4db88b
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.00483447
lea eax, [edi + 0x138c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [edi + 0x13a8], ebx
jmp 0x4db5bd
cmp dword [esi], 9
jne 0x4db9de
lea eax, [esi + 0xc]
mov ecx, edi
push eax
mov dword [esp + 0x18], eax
call fcn.004daac8
xor ebx, ebx
mov dword [edi + 0x13b0], eax
test eax, eax
je 0x4db8da
push dword [eax + 0x11f4]
mov ecx, edi
call fcn.004dacd9
jmp 0x4db8dc
mov eax, ebx
mov dword [edi + 0x13ac], eax
test byte [edi + 0x80c], 0x40
je 0x4dbbfa
mov eax, dword [edi + 0x13b4]
cmp eax, 1
jne 0x4db962
mov ecx, dword [edi + 0x13a8]
test ecx, ecx
je 0x4db9b3
push dword [ecx + 0x11f8]
lea esi, [edi + 0x830]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx]
sub edx, dword [edi + 0x810]
add eax, edx
test eax, eax
jle 0x4dbc02
mov edx, dword [esi]
mov ecx, esi
push eax
mov eax, dword [edi + 0x13a8]
push dword [eax + 0x11f8]
call dword [edx + 0x3c]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edi + 0x814], ecx
mov ecx, edi
mov dword [edi + 0x810], eax
call fcn.004706e7
jmp 0x4dbc02
cmp eax, 2
jne 0x4db9b3
mov ecx, dword [edi + 0x13a8]
test ecx, ecx
je 0x4db9b3
push dword [ecx + 0x11f4]
lea ebx, [edi + 0x830]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
mov edx, dword [esi + 0x10]
sub edx, dword [edi + 0x814]
add eax, edx
test eax, eax
jle 0x4dbc02
mov edx, dword [ebx]
mov ecx, ebx
push eax
mov eax, dword [edi + 0x13a8]
push dword [eax + 0x11f4]
call dword [edx + 0x34]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
jmp 0x4db94a
cmp dword [edi + 0x86c], ebx
je 0x4db9c7
cmp dword [edi + 0x870], ebx
jne 0x4dbbfa
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1394], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1398], eax
jmp 0x4db5bd
cmp dword [esi], 0xf
jne 0x4dbab9
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004daac8
mov ecx, eax
test ecx, ecx
jne 0x4dba1a
lea esi, [edi + 0x830]
mov ecx, esi
call fcn.004e07b7
mov ecx, esi
call fcn.004e0632
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x4dbc02
mov eax, dword [ecx + 0x11f4]
mov ecx, dword [ecx + 0x11f8]
mov dword [esp + 0x10], ecx
mov ecx, edi
push eax
mov dword [esp + 0x10], eax
call fcn.004dad7c
test eax, eax
jne 0x4dbbfa
lea ebx, [edi + 0x830]
mov ecx, ebx
cmp dword [edi + 0x86c], eax
je 0x4dba87
push dword [esp + 0xc]
call fcn.004e0757
test eax, eax
jne 0x4dba6f
mov ecx, ebx
call fcn.004e0632
push 1
push dword [esp + 0x10]
mov ecx, ebx
call fcn.004e06a4
push dword [esp + 0x10]
lea ecx, [edi + 0x830]
mov eax, dword [ecx]
push dword [esp + 0x10]
call dword [eax + 0x48]
jmp 0x4dbbfa
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004e0913
test eax, eax
jne 0x4dbbfa
mov ecx, ebx
call fcn.004e07b7
push 1
push dword [esp + 0x14]
mov ecx, ebx
push dword [esp + 0x14]
call fcn.004e082b
jmp 0x4dbbfa
cmp dword [esi], 0x10
je 0x4dbc02
cmp dword [esi], 0x1a
jne 0x4dbbb0
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.004daac8
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x4dbbfa
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.004d84b1
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
add ecx, 0xfffffff8
mov dword [esp + 0x34], ecx
mov ecx, ebx
push eax
call fcn.004d84b1
mov eax, dword [esp + 0x30]
xor ebx, ebx
add eax, 0xfffffffc
mov dword [esp + 0x28], eax
cmp dword [edi + 0x854], ebx
je 0x4dbb5e
mov eax, dword [esp + 0xc]
mov ecx, edi
push dword [eax + 0x11f4]
call fcn.004dad7c
test eax, eax
je 0x4dbb5e
push dword [esi + 0x10]
lea eax, [esp + 0x38]
push dword [esi + 0xc]
push eax
call dword [0x53e600]
test eax, eax
je 0x4dbb5e
push 0x7f84
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4dbc02
cmp dword [edi + 0x858], ebx
je 0x4dbbfa
mov eax, dword [esp + 0xc]
mov ecx, edi
push dword [eax + 0x11f8]
call fcn.004dada0
test eax, eax
jne 0x4dbb94
mov eax, dword [esp + 0xc]
mov ecx, edi
push dword [eax + 0x11f4]
call fcn.004dad7c
test eax, eax
je 0x4dbbfa
push dword [esi + 0x10]
lea eax, [esp + 0x28]
push dword [esi + 0xc]
push eax
call dword [0x53e600]
test eax, eax
je 0x4dbbfa
push 0x7f85
jmp 0x4dbb4b
cmp dword [esi], 0x13
jne 0x4dbbfa
push dword [esi + 0x10]
lea eax, [edi + 0x1b0]
push dword [esi + 0xc]
push eax
call dword [0x53e600]
test eax, eax
je 0x4dbc02
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x4dbc02
mov eax, dword [edi]
xor ebx, ebx
push 1
push ebx
push ebx
push str.dbclick
push edi
mov ecx, edi
call dword [eax + 0x40]
mov ecx, eax
call fcn.00483447
jmp 0x4dbc02
mov ecx, edi
call fcn.00470647
push esi
mov ecx, edi
call fcn.00478bc4
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005000f2
mov esp, ebp
pop ebp
ret 4