Function at 0x4cc050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xe0]
call eax
mov edx, dword [ebp + 8]
test al, al
jne 0x4cc09f
mov eax, dword [edx]
cmp eax, 8
jle 0x4cc09f
cmp eax, 0x13
jge 0x4cc09f
mov ecx, dword [ebx + 0x174]
push edx
test ecx, ecx
je 0x4cc091
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call sym.WnPicViewer.exe_public_virtual:_void___thiscall_UiLib::CVerticalLayoutUI::DoEvent_struct_UiLib::tagTEventUI__
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edx]
cmp eax, 0x15
jne 0x4cc0b4
mov byte [ebx + 0x2ca], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x14
jne 0x4cc0c7
mov byte [ebx + 0x2ca], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push edi
cmp eax, 3
je 0x4cc18c
cmp eax, 0x12
jne case.0x4cc1a3.37
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x4cc12f
dec eax
jne case.0x4cc1a3.37
cmp byte [ebx + 0x73c], al
je 0x4cc11c
cmp byte [ebx + 0x73d], al
je 0x4cc11c
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x738]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x740]
push 0
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::GetAt_int_const
inc eax
jmp 0x4cc160
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x204]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x73c], 0
je 0x4cc179
cmp byte [ebx + 0x73d], 0
je 0x4cc179
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x738]
mov ebx, dword [edi]
push 1
push 0
mov esi, dword [eax]
lea ecx, [eax + 0x740]
push 0
call sym.WnPicViewer.exe_public:_void____thiscall_UiLib::CStdPtrArray::GetAt_int_const
dec eax
mov ecx, dword [ebp - 4]
push eax
call dword [esi + 0x1e8]
push eax
mov ecx, edi
call dword [ebx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x200]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [edx + 0x14]
add eax, 0xffffffdf
cmp eax, 0x20
ja case.0x4cc1a3.37
movzx eax, byte [eax + 0x4cc370]
jmp dword [eax*4 + 0x4cc350]
lea ecx, [ebx + 0x740]
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4cc345
mov ecx, ebx
call sym.WnPicViewer.exe_protected:_int___thiscall_UiLib::CListUI::GetMinSelItemIndex_void_
mov edx, dword [ebx + 0x738]
add ebx, 0x738
mov ecx, ebx
lea esi, [eax - 1]
call dword [edx + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push 1
test esi, esi
jle 0x4cc2ba
push esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebx + 0x740]
call sym.WnPicViewer.exe_public:_struct_HWND______thiscall_UiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4cc345
mov ecx, ebx
call sym.WnPicViewer.exe_protected:_int___thiscall_UiLib::CListUI::GetMaxSelItemIndex_void_
mov edx, dword [ebx + 0x738]
lea edi, [ebx + 0x738]
mov ecx, edi
lea esi, [eax + 1]
call dword [edx + 0x3c]
mov ecx, dword [ebx + 0x754]
add ecx, 0x6e0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x4cc25c
mov eax, dword [ebx + 0x6e0]
lea ecx, [ebx + 0x6e0]
mov esi, dword [edi]
call dword [eax + 0xc]
dec eax
mov ecx, edi
push eax
call dword [esi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x208]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x754]
add ecx, 0x6e0
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4cc345
mov eax, dword [ebx + 0x738]
lea ecx, [ebx + 0x738]
push 1
push 0
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x754]
add ecx, 0x6e0
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4cc345
mov ecx, dword [ebx + 0x754]
mov edi, dword [ebx + 0x738]
add ecx, 0x6e0
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
lea ecx, [ebx + 0x738]
push eax
call dword [edi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x73d], 0
jne 0x4cc345
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4cc345
mov eax, dword [ebx + 0x738]
lea ecx, [ebx + 0x738]
call dword [eax + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edx
mov ecx, ebx
call sym.WnPicViewer.exe_public_virtual:_void___thiscall_UiLib::CVerticalLayoutUI::DoEvent_struct_UiLib::tagTEventUI__
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4