Function at 0x4c82e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
cmp dword [0x5792e4], 0
push esi
jne 0x4c833d
mov eax, dword [0x531154]
mov esi, dword [0x501478]
push str.MENUACC
push eax
call esi
mov ecx, dword [0x531154]
push str.LISTACC
push ecx
mov dword [0x5792e4], eax
call esi
mov edx, dword [0x531154]
push str.FILEACC
push edx
mov dword [0x5792e0], eax
call esi
mov dword [0x5792dc], eax
mov eax, dword [0x531154]
push str.VIEWACC
push eax
call esi
mov dword [0x5792d8], eax
push 0
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [0x5015c0]
test eax, eax
jne 0x4c835b
xor al, al
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esp + 8]
cmp edx, dword [0x53d32c]
jne 0x4c838f
cmp dword [esp + 0xc], 0
mov eax, dword [esp + 0x10]
setne cl
movzx edx, cl
push edx
push eax
mov esi, eax
call fcn.004c2610
push esi
call dword [0x5011c4]
mov al, 1
pop esi
add esp, 0x1c
ret 8
push ebx
push ebp
push edi
call dword [0x5014e4]
mov esi, eax
test esi, esi
je 0x4c8648
cmp dword [0x53f3f4], 0
mov edi, dword [0x5015d4]
je 0x4c83e2
cmp dword [0x5792d8], 0
je 0x4c83e2
push esi
call dword [0x501644]
mov ecx, dword [0x53f3f4]
cmp eax, ecx
jne 0x4c83e2
mov edx, dword [0x5792d8]
lea eax, [esp + 0x10]
push eax
push edx
push ecx
call edi
test eax, eax
jne 0x4c865e
mov eax, dword [0x5792dc]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004b58a0
test al, al
jne 0x4c865e
mov eax, dword [0x53d324]
mov ebp, dword [0x5015d8]
test eax, eax
je 0x4c8419
lea edx, [esp + 0x10]
push edx
push eax
call ebp
test eax, eax
jne 0x4c865e
mov eax, dword [0x53e3d8]
test eax, eax
je 0x4c8432
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
test eax, eax
jne 0x4c865e
push 0x10
call dword [0x501548]
shr eax, 0xf
and al, 1
cmp dword [esp + 0x14], 0x100
jne 0x4c8469
cmp dword [esp + 0x18], 9
jne 0x4c8469
xor edx, edx
test al, al
sete dl
lea edx, [edx + edx - 1]
push edx
call fcn.004c6970
test al, al
jne 0x4c865e
call fcn.004bbd70
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4c84a2
cmp eax, 0x100
jne 0x4c84a2
cmp dword [esp + 0x18], 0x70
jne 0x4c84bd
mov eax, dword [0x53f484]
push 0
push str.HELPArcComment
push eax
call fcn.004b4710
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
cmp eax, 0x205
jne 0x4c8562
mov ecx, dword [esp + 0x10]
cmp ecx, dword [0x54f7d4]
je 0x4c8574
mov eax, dword [0x549ce8]
mov ebx, dword [0x5016a4]
cmp esi, eax
je 0x4c85c1
cmp esi, dword [0x549ca4]
je 0x4c85c1
mov eax, dword [0x53f3f4]
test eax, eax
je 0x4c8500
mov ecx, dword [0x5792d8]
test ecx, ecx
je 0x4c8500
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call edi
test eax, eax
jne 0x4c865e
mov ecx, dword [0x53d324]
test ecx, ecx
je 0x4c8524
mov eax, dword [0x5792dc]
test eax, eax
je 0x4c8524
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x4c865e
mov eax, dword [0x53e3e0]
test eax, eax
je 0x4c8619
mov edx, dword [0x5792d8]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call edi
test eax, eax
jne 0x4c865e
mov ecx, dword [0x53e3e0]
lea eax, [esp + 0x10]
push eax
push 0
push 0x8009
push ecx
call ebx
jmp 0x4c8619
cmp eax, 0xa5
jne 0x4c858a
cmp dword [esp + 0x18], 5
jne 0x4c84bd
mov ecx, 0x54f7d4
call fcn.004a6aa0
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
cmp eax, 0x203
jne 0x4c84bd
mov edx, dword [esp + 0x10]
cmp edx, dword [0x54f7d4]
jne 0x4c84bd
mov eax, dword [0x53f484]
push eax
mov ecx, 0x54f7d4
call fcn.004a8800
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [0x5792e0]
test ecx, ecx
je 0x4c85e1
cmp esi, eax
jne 0x4c85e1
mov eax, dword [0x53f484]
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call edi
test eax, eax
jne 0x4c865e
mov eax, dword [0x5792e4]
test eax, eax
je 0x4c85fd
mov edx, dword [0x53f484]
lea ecx, [esp + 0x10]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x4c865e
mov eax, dword [0x5792dc]
test eax, eax
je 0x4c8619
mov edx, dword [0x53f484]
lea ecx, [esp + 0x10]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x4c865e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c862d
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
test eax, eax
jne 0x4c865e
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4c8648
lea edx, [esp + 0x10]
push edx
push 0
push 0x475
push eax
call ebx
test eax, eax
jne 0x4c865e
lea eax, [esp + 0x10]
push eax
call dword [0x5015c4]
lea ecx, [esp + 0x10]
push ecx
call dword [0x5015c8]
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8