Function at 0x4939d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
cmp dword [0x4f9c50], 0
push esi
jne 0x493a2d
mov eax, dword [0x4c93a8]
mov esi, dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push str.MENUACC
push eax
call esi
mov ecx, dword [0x4c93a8]
push str.LISTACC
push ecx
mov dword [0x4f9c50], eax
call esi
mov edx, dword [0x4c93a8]
push str.FILEACC
push edx
mov dword [0x4f9c4c], eax
call esi
mov dword [0x4f9c48], eax
mov eax, dword [0x4c93a8]
push str.VIEWACC
push eax
call esi
mov dword [0x4f9c44], eax
push 0
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x493a4b
xor al, al
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esp + 8]
cmp edx, dword [0x4db88c]
jne 0x493a75
mov eax, dword [esp + 0x10]
push 0
push eax
mov esi, eax
call fcn.0048cb60
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, 1
pop esi
add esp, 0x1c
ret 8
push ebx
push edi
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
test esi, esi
je 0x493ccc
cmp dword [0x4dc1ac], 0
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
je 0x493ac7
cmp dword [0x4f9c44], 0
je 0x493ac7
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [0x4dc1ac]
cmp eax, ecx
jne 0x493ac7
mov edx, dword [0x4f9c44]
lea eax, [esp + 0xc]
push eax
push edx
push ecx
call edi
test eax, eax
jne 0x493ce2
mov eax, dword [0x4f9c48]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0047fa80
test al, al
jne 0x493ce2
mov eax, dword [0x4db884]
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x493afe
lea edx, [esp + 0xc]
push edx
push eax
call ebx
test eax, eax
jne 0x493ce2
mov eax, dword [0x4dbd9c]
test eax, eax
je 0x493b17
lea ecx, [esp + 0xc]
push ecx
push eax
call ebx
test eax, eax
jne 0x493ce2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp dword [esp + 0x10], 0x100
jne 0x493b4e
cmp dword [esp + 0x14], 9
jne 0x493b4e
xor edx, edx
test al, al
sete dl
lea edx, [edx + edx - 1]
push edx
call fcn.00490d40
test al, al
jne 0x493ce2
call fcn.00486a60
test eax, eax
mov eax, dword [esp + 0x10]
je 0x493b86
cmp eax, 0x100
jne 0x493b86
cmp dword [esp + 0x14], 0x70
jne 0x493bdc
mov eax, dword [0x4dc210]
push 0
push str.HELPArcComment
push eax
call fcn.0047ea30
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
cmp eax, 0x205
jne 0x493bae
mov ecx, dword [esp + 0xc]
cmp ecx, dword [0x4e2ed8]
jne 0x493bdc
mov ecx, 0x4e2ed8
call fcn.00469bb0
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
cmp eax, 0x203
jne 0x493bdc
mov edx, dword [esp + 0xc]
cmp edx, dword [0x4e2ed8]
jne 0x493bdc
mov eax, dword [0x4dc210]
push eax
mov ecx, 0x4e2ed8
call fcn.0046b320
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [0x4dff38]
cmp esi, ecx
je 0x493c3d
cmp esi, dword [0x4dff14]
je 0x493c3d
mov ecx, dword [0x4dc1ac]
test ecx, ecx
je 0x493c12
mov eax, dword [0x4f9c44]
test eax, eax
je 0x493c12
lea edx, [esp + 0xc]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x493ce2
mov ecx, dword [0x4db884]
test ecx, ecx
je 0x493c99
mov eax, dword [0x4f9c48]
test eax, eax
je 0x493c99
lea edx, [esp + 0xc]
push edx
push eax
push ecx
call edi
test eax, eax
je 0x493c99
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
mov eax, dword [0x4f9c4c]
test eax, eax
je 0x493c61
cmp esi, ecx
jne 0x493c61
mov edx, dword [0x4dc210]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x493ce2
mov eax, dword [0x4f9c50]
test eax, eax
je 0x493c7d
mov edx, dword [0x4dc210]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x493ce2
mov eax, dword [0x4f9c48]
test eax, eax
je 0x493c99
mov edx, dword [0x4dc210]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x493ce2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x493cad
lea ecx, [esp + 0xc]
push ecx
push eax
call ebx
test eax, eax
jne 0x493ce2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x493ccc
lea edx, [esp + 0xc]
push edx
push 0
push 0x475
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x493ce2
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8