Function at 0x404a30
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
mov edi, ecx
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICA]
mov esi, dword [edi + 0xc]
mov ebp, eax
mov eax, dword [edi + 0x10]
mov ebx, 3
cmp esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
je 0x404af4
mov al, byte [esi + 8]
mov dword [esi], ebx
test al, 1
jne 0x404ad8
test al, 4
jne 0x404a7d
mov eax, dword [edi + 0x7c]
jmp 0x404a83
mov eax, dword [edi + 0x80]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x14]
mov ebx, eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x404a9c
mov eax, 0x41da00
lea edx, [esp + 0x18]
push edx
push ecx
push eax
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x404aba
mov dword [esp + 0x14], eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov eax, 0x11
add ecx, eax
mov dword [esi + 4], eax
mov dword [esp + 0x10], ecx
mov ebx, ecx
jmp 0x404ae6
add ebx, 5
mov dword [esi + 4], 5
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x10]
add esi, 0x28
cmp esi, eax
jne 0x404a6b
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 0
push ecx
add eax, 0x2a
push 0
push 0x30
mov dword [edi + 0x58], eax
mov dword [edi + 0x6c], 0xffffffff
mov dword [edi + 0x70], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [edi + 0x58]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
lea edx, [eax + ebp]
cmp edx, esi
jle 0x404b45
sub esi, eax
mov ecx, 0
sets cl
dec ecx
and ecx, esi
mov ebp, ecx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
lea esi, [ebx + edx + 2]
cmp esi, ecx
jle 0x404b64
sub ecx, ebx
xor edx, edx
lea esi, [ecx - 2]
test esi, esi
setl dl
dec edx
and edx, esi
mov ecx, dword [edi]
push edi
push ecx
push 0
add ebx, 2
push 0
push ebx
push eax
push edx
push ebp
push 0x90000000
push 0x427af4
push str.fpmMenuClass
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [edi + 0x64], eax
je 0x404c4e
mov cl, byte [esp + 0x60]
test cl, cl
je 0x404bb1
mov byte [edi + 0x75], 0
mov byte [edi + 0x74], 0
mov dword [edi + 0x54], 1
jmp 0x404bdd
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov dword [edi + 0x54], 2
call esi
shr eax, 0xf
and al, 1
push 2
mov byte [edi + 0x75], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0x74], al
mov al, byte [esp + 0x5c]
mov edx, dword [esp + 0x58]
test al, al
mov byte [edi + 0x76], al
mov dword [edi + 0x68], edx
je 0x404c4e
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea eax, [esp + 0x38]
push 0
push eax
call esi
cmp eax, 1
jne 0x404c41
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [edi + 0x64]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404c41
lea edx, [esp + 0x30]
push edx
call ebx
lea eax, [esp + 0x30]
push eax
call ebp
push 0
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
call esi
cmp eax, 1
je 0x404c13
mov eax, dword [edi + 0x70]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret 0x14