Function at 0x4786d3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4d0018]
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 0x478731
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x478731
mov ecx, dword [edi + 0xa0]
push esi
test ecx, ecx
je 0x478725
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x478fab
mov ecx, edi
call fcn.0044b74c
jmp 0x478fab
cmp dword [esi], 0x18
je 0x478f9c
cmp dword [esi], 0x17
je 0x478f9c
cmp dword [esi], 0xd
jne 0x478972
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.00477e71
mov dword [edi + 0x13a8], eax
test eax, eax
jne 0x478779
lea esi, [edi + 0x830]
mov ecx, esi
call fcn.0047e186
mov ecx, esi
call fcn.0047e001
mov esi, dword [esp + 0x14]
or dword [edi + 0x80c], 0x40
mov ecx, edi
push esi
call fcn.00478fbf
test al, al
jne 0x478fab
xor ebx, ebx
cmp dword [edi + 0x86c], ebx
je 0x4787a2
cmp dword [edi + 0x870], ebx
jne 0x4787c6
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 0x478fab
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.00478125
test eax, eax
je 0x478815
mov ebx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.00478149
test eax, eax
jne 0x478966
push ebx
mov ecx, edi
call fcn.00478207
jmp 0x478966
cmp dword [edi + 0x86c], ebx
je 0x4788aa
lea esi, [edi + 0x830]
cmp dword [edi + 0x870], ebx
je 0x478858
mov ebx, dword [esp + 0x10]
mov ecx, esi
push ebx
call fcn.0047e126
test eax, eax
jne 0x478849
push 1
push ebx
mov ecx, esi
call fcn.0047e073
push dword [esp + 0xc]
lea ecx, [edi + 0x830]
mov eax, dword [ecx]
push ebx
jmp 0x4788a2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, esi
test ax, ax
jns 0x478886
push dword [esp + 0x10]
call fcn.0047e126
mov ecx, esi
test eax, eax
je 0x47888d
push ebx
push dword [esp + 0x14]
call fcn.0047e073
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x47889e
call fcn.0047e001
mov ecx, esi
mov ebx, dword [esp + 0x10]
push 1
push ebx
call fcn.0047e073
push dword [esp + 0xc]
push ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
jmp 0x478966
mov ebx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.00478149
test eax, eax
je 0x47892e
push esi
mov ecx, edi
call fcn.00478125
test eax, eax
jne 0x47892e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
lea ebx, [edi + 0x830]
test ax, ax
js 0x4788e0
mov ecx, ebx
call fcn.0047e186
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x478966
lea esi, [eax + 0x6b8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp eax, 1
jle 0x478966
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.0047e1fa
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0xc]
cmp edi, eax
jl 0x478900
mov edi, dword [esp + 0x18]
jmp 0x478966
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [edi + 0x830]
test ax, ax
jns 0x478952
push ebx
push esi
call fcn.0047e2e2
xor edx, edx
test eax, eax
sete dl
push edx
jmp 0x478959
call fcn.0047e186
push 1
push ebx
push esi
lea ecx, [edi + 0x830]
call fcn.0047e1fa
mov ecx, edi
call fcn.0041dfde
jmp 0x478fab
cmp dword [esi], 0xe
jne 0x478c50
mov eax, dword [edi + 0x80c]
test al, 0x40
je 0x47898e
and eax, 0xffffffbf
mov dword [edi + 0x80c], eax
lea esi, [edi + 0x138c]
mov ecx, esi
call fcn.00424dcf
xor ebx, ebx
test al, al
jne 0x478b65
call fcn.00424e1a
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.00477e71
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.00477e71
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x478a21
test eax, eax
je 0x478a21
cmp ecx, eax
je 0x478a21
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x478a21
lea esi, [edi + 0x830]
mov ecx, esi
call fcn.0047e001
mov ecx, esi
call fcn.0047e186
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 0x478b65
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 0x478aad
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 0x478b3d
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.0047e073
jmp 0x478b3d
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 0x478b3d
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 0x478b23
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.0047e1fa
mov ecx, dword [esp + 0x10]
inc ebx
add ecx, 0x6b8
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp ebx, eax
jl 0x478ae1
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 0x478a4e
mov eax, dword [esp + 0x14]
mov ecx, edi
add eax, 0xc
push eax
mov dword [esp + 0x1c], eax
call fcn.00477e71
mov esi, eax
test esi, esi
je 0x478bf8
cmp esi, dword [edi + 0x13a8]
jne 0x478bf8
push dword [esi + 0x11f8]
mov ecx, edi
push dword [esi + 0x11f4]
call fcn.00477af0
cmp eax, 2
jne 0x478bf8
mov esi, dword [esi + 0x11fc]
mov dword [esp + 0x14], esi
test esi, esi
je 0x478bf8
mov eax, dword [esi]
mov ecx, esi
push str.CheckBox
call dword [eax + 0x34]
test eax, eax
je 0x478bf8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x184]
test al, al
je 0x478bf8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x478bf8
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 [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x478c34
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x478c34
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.00416e1c
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 0x478966
cmp dword [esi], 9
jne 0x478d87
lea eax, [esi + 0xc]
mov ecx, edi
push eax
mov dword [esp + 0x18], eax
call fcn.00477e71
xor ebx, ebx
mov dword [edi + 0x13b0], eax
test eax, eax
je 0x478c83
push dword [eax + 0x11f4]
mov ecx, edi
call fcn.00478082
jmp 0x478c85
mov eax, ebx
mov dword [edi + 0x13ac], eax
test byte [edi + 0x80c], 0x40
je 0x478fa3
mov eax, dword [edi + 0x13b4]
cmp eax, 1
jne 0x478d0b
mov ecx, dword [edi + 0x13a8]
test ecx, ecx
je 0x478d5c
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 0x478fab
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.0041e07e
jmp 0x478fab
cmp eax, 2
jne 0x478d5c
mov ecx, dword [edi + 0x13a8]
test ecx, ecx
je 0x478d5c
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 0x478fab
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 0x478cf3
cmp dword [edi + 0x86c], ebx
je 0x478d70
cmp dword [edi + 0x870], ebx
jne 0x478fa3
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1394], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1398], eax
jmp 0x478966
cmp dword [esi], 0xf
jne 0x478e62
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.00477e71
mov ecx, eax
test ecx, ecx
jne 0x478dc3
lea esi, [edi + 0x830]
mov ecx, esi
call fcn.0047e186
mov ecx, esi
call fcn.0047e001
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x478fab
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.00478125
test eax, eax
jne 0x478fa3
lea ebx, [edi + 0x830]
mov ecx, ebx
cmp dword [edi + 0x86c], eax
je 0x478e30
push dword [esp + 0xc]
call fcn.0047e126
test eax, eax
jne 0x478e18
mov ecx, ebx
call fcn.0047e001
push 1
push dword [esp + 0x10]
mov ecx, ebx
call fcn.0047e073
push dword [esp + 0x10]
lea ecx, [edi + 0x830]
mov eax, dword [ecx]
push dword [esp + 0x10]
call dword [eax + 0x48]
jmp 0x478fa3
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0047e2e2
test eax, eax
jne 0x478fa3
mov ecx, ebx
call fcn.0047e186
push 1
push dword [esp + 0x14]
mov ecx, ebx
push dword [esp + 0x14]
call fcn.0047e1fa
jmp 0x478fa3
cmp dword [esi], 0x10
je 0x478fab
cmp dword [esi], 0x1a
jne 0x478f59
lea eax, [esi + 0xc]
mov ecx, edi
push eax
call fcn.00477e71
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x478fa3
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.0047584e
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
add ecx, 0xfffffff8
mov dword [esp + 0x34], ecx
mov ecx, ebx
push eax
call fcn.0047584e
mov eax, dword [esp + 0x30]
xor ebx, ebx
add eax, 0xfffffffc
mov dword [esp + 0x28], eax
cmp dword [edi + 0x854], ebx
je 0x478f07
mov eax, dword [esp + 0xc]
mov ecx, edi
push dword [eax + 0x11f4]
call fcn.00478125
test eax, eax
je 0x478f07
push dword [esi + 0x10]
lea eax, [esp + 0x38]
push dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x478f07
push 0x7f84
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x478fab
cmp dword [edi + 0x858], ebx
je 0x478fa3
mov eax, dword [esp + 0xc]
mov ecx, edi
push dword [eax + 0x11f8]
call fcn.00478149
test eax, eax
jne 0x478f3d
mov eax, dword [esp + 0xc]
mov ecx, edi
push dword [eax + 0x11f4]
call fcn.00478125
test eax, eax
je 0x478fa3
push dword [esi + 0x10]
lea eax, [esp + 0x28]
push dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x478fa3
push 0x7f85
jmp 0x478ef4
cmp dword [esi], 0x13
jne 0x478fa3
push dword [esi + 0x10]
lea eax, [edi + 0x1b0]
push dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x478fab
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
test eax, eax
je 0x478fab
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.00416e1c
jmp 0x478fab
mov ecx, edi
call fcn.0041dfde
push esi
mov ecx, edi
call fcn.00451686
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047ecc2
mov esp, ebp
pop ebp
ret 4