Function at 0x433020
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x470638
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x492bec]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [esp + 0x90]
mov eax, dword [edi + 4]
xor ebp, ebp
mov esi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ebp
cmp eax, 0x200
ja 0x4333bc
je 0x4332ef
sub eax, 0x100
je 0x4330b3
sub eax, 0x1f
jne 0x433436
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push 0x11f
mov ecx, esi
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x43342e
mov al, byte [edi + 8]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
cmp al, 0x25
jne 0x433105
mov edx, dword [esi + 0xb8]
push 0
push edx
call fcn.00432c30
dec dword [esi + 0xb8]
push 0
push 0
push 0x1f
mov ecx, esi
call fcn.00422e20
push eax
call ebp
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
push eax
call ebx
push 0
push 0
push 0x87f
mov ecx, esi
call fcn.00422e20
push eax
call ebp
push eax
call ebx
jmp 0x433142
cmp al, 0x27
jne 0x43311f
mov eax, dword [esi + 0xb8]
push 0
push eax
call fcn.00432c30
inc dword [esi + 0xb8]
jmp 0x4330d4
cmp al, 0x1b
jne 0x43314a
push 0
push 0
push 0x1f
call fcn.00422e20
push eax
call ebp
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esi + 0xc4], 0
mov dword [esp + 0x14], 1
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x433436
push 0x12
call ebx
mov edx, 0x8000
test dx, ax
jne 0x433436
mov edi, dword [edi + 8]
cmp edi, 0x41
jb 0x433181
cmp edi, 0x5a
jbe 0x43319d
cmp edi, 0x61
jb 0x43318b
cmp edi, 0x7a
jbe 0x43319d
cmp edi, 0x30
jb 0x433436
cmp edi, 0x39
ja 0x433436
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xac]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebx, eax
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x433436
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor edi, edi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x433436
jmp 0x4331e4
mov ebx, dword [esp + 0x24]
push 0x400
push 0x50
lea edx, [esp + 0x34]
push edx
push edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuStringA]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00413760
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
mov dword [esp + 0x88], 0
jg 0x433220
or ebx, 0xffffffff
jmp 0x43323b
push 0x26
push eax
call dword [sym.imp.MSVCR90.dll__mbschr]
add esp, 8
test eax, eax
jne 0x433235
or ebx, 0xffffffff
jmp 0x43323b
sub eax, dword [esp + 0x18]
mov ebx, eax
lea ecx, [esp + 0x18]
call fcn.00432f10
test ebx, ebx
jl 0x43326b
inc ebx
push ebx
lea ecx, [esp + 0x1c]
call fcn.0041b2c0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
push edx
movsx ebx, al
call dword [sym.imp.MSVCR90.dll_toupper]
add esp, 4
cmp eax, ebx
je 0x43328f
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], 0xffffffff
call fcn.0041df50
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x4331e0
jmp 0x433436
mov eax, dword [esp + 0x24]
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
push eax
push 0x111
mov ecx, esi
call fcn.00422e20
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push eax
call edi
mov ecx, dword [esi + 0xb8]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.00432c30
push 0
push 0
push 0x1f
mov ecx, esi
call fcn.00422e20
push eax
call ebp
push eax
call edi
lea ecx, [esp + 0x18]
call fcn.0041df50
jmp 0x433436
movzx edx, word [edi + 0xc]
movzx eax, word [edi + 0xe]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0xbc], eax
jne 0x433334
cmp dword [esi + 0xc0], ecx
jne 0x433334
mov eax, 1
jmp 0x43343a
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x1c]
push edx
push ebp
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0xc]
push 0x445
push eax
mov dword [esi + 0xc0], ecx
call ebx
mov edi, eax
cmp edi, ebp
jl 0x433436
push ebp
push ebp
push 0x418
mov ecx, esi
call fcn.00422e20
push eax
call ebx
cmp edi, eax
jge 0x433436
mov eax, dword [esi + 0xb8]
cmp edi, eax
je 0x433436
push ebp
push eax
mov ecx, esi
call fcn.00432c30
push ebp
push ebp
push 0x1f
mov ecx, esi
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
push ebp
push ebp
push 0x87f
mov ecx, esi
mov dword [esi + 0xb8], edi
call fcn.00422e20
jmp 0x433427
cmp eax, 0x201
jne 0x433436
movzx ecx, word [edi + 0xc]
movzx edx, word [edi + 0xe]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x445
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
jge 0x433407
mov dword [esi + 0xc4], ebp
jmp 0x433436
cmp eax, dword [esi + 0xb8]
jne 0x433436
push ebp
push ebp
push 0x1f
mov ecx, esi
mov dword [esi + 0xc4], ebp
call fcn.00422e20
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0046d6fc
add esp, 0x78
ret 4