Function at 0x4932d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
cmp dword [0x4f9bd8], 0
push esi
jne 0x49332d
mov eax, dword [0x4c9360]
mov esi, dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push str.MENUACC
push eax
call esi
mov ecx, dword [0x4c9360]
push str.LISTACC
push ecx
mov dword [0x4f9bd8], eax
call esi
mov edx, dword [0x4c9360]
push str.FILEACC
push edx
mov dword [0x4f9bd4], eax
call esi
mov dword [0x4f9bd0], eax
mov eax, dword [0x4c9360]
push str.VIEWACC
push eax
call esi
mov dword [0x4f9bcc], eax
push 0
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x49334b
xor al, al
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esp + 8]
cmp edx, dword [0x4db844]
jne 0x493375
mov eax, dword [esp + 0x10]
push 0
push eax
mov esi, eax
call fcn.0048c9c0
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 0x4935cc
cmp dword [0x4dc164], 0
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
je 0x4933c7
cmp dword [0x4f9bcc], 0
je 0x4933c7
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [0x4dc164]
cmp eax, ecx
jne 0x4933c7
mov edx, dword [0x4f9bcc]
lea eax, [esp + 0xc]
push eax
push edx
push ecx
call edi
test eax, eax
jne 0x4935e2
mov eax, dword [0x4f9bd0]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0047fa10
test al, al
jne 0x4935e2
mov eax, dword [0x4db83c]
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x4933fe
lea edx, [esp + 0xc]
push edx
push eax
call ebx
test eax, eax
jne 0x4935e2
mov eax, dword [0x4dbd50]
test eax, eax
je 0x493417
lea ecx, [esp + 0xc]
push ecx
push eax
call ebx
test eax, eax
jne 0x4935e2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp dword [esp + 0x10], 0x100
jne 0x49344e
cmp dword [esp + 0x14], 9
jne 0x49344e
xor edx, edx
test al, al
sete dl
lea edx, [edx + edx - 1]
push edx
call fcn.004908b0
test al, al
jne 0x4935e2
call fcn.00486920
test eax, eax
mov eax, dword [esp + 0x10]
je 0x493486
cmp eax, 0x100
jne 0x493486
cmp dword [esp + 0x14], 0x70
jne 0x4934dc
mov eax, dword [0x4dc1c8]
push 0
push str.HELPArcComment
push eax
call fcn.0047e9c0
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
cmp eax, 0x205
jne 0x4934ae
mov ecx, dword [esp + 0xc]
cmp ecx, dword [0x4e2e80]
jne 0x4934dc
mov ecx, 0x4e2e80
call fcn.00469b60
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
cmp eax, 0x203
jne 0x4934dc
mov edx, dword [esp + 0xc]
cmp edx, dword [0x4e2e80]
jne 0x4934dc
mov eax, dword [0x4dc1c8]
push eax
mov ecx, 0x4e2e80
call fcn.0046b2d0
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [0x4dfee0]
cmp esi, ecx
je 0x49353d
cmp esi, dword [0x4dfebc]
je 0x49353d
mov ecx, dword [0x4dc164]
test ecx, ecx
je 0x493512
mov eax, dword [0x4f9bcc]
test eax, eax
je 0x493512
lea edx, [esp + 0xc]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x4935e2
mov ecx, dword [0x4db83c]
test ecx, ecx
je 0x493599
mov eax, dword [0x4f9bd0]
test eax, eax
je 0x493599
lea edx, [esp + 0xc]
push edx
push eax
push ecx
call edi
test eax, eax
je 0x493599
pop edi
pop ebx
mov al, 1
pop esi
add esp, 0x1c
ret 8
mov eax, dword [0x4f9bd4]
test eax, eax
je 0x493561
cmp esi, ecx
jne 0x493561
mov edx, dword [0x4dc1c8]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x4935e2
mov eax, dword [0x4f9bd8]
test eax, eax
je 0x49357d
mov edx, dword [0x4dc1c8]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x4935e2
mov eax, dword [0x4f9bd0]
test eax, eax
je 0x493599
mov edx, dword [0x4dc1c8]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call edi
test eax, eax
jne 0x4935e2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4935ad
lea ecx, [esp + 0xc]
push ecx
push eax
call ebx
test eax, eax
jne 0x4935e2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4935cc
lea edx, [esp + 0xc]
push edx
push 0
push 0x475
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4935e2
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