Function at 0x455e20
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ada35
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x4e54fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0043bb00
mov ecx, eax
call fcn.0043ceb0
test al, al
je 0x455e85
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x4e6144
mov byte [ebp - 0x18], 0
mov byte [ebp - 4], 2
push 0x4e6144
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 0x18], 1
neg ecx
lea eax, [edi + 4]
sbb ecx, ecx
and ecx, eax
mov dword [0x4fc904], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [0x4fc9bc]
push 0x4540d0
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push dword [ebp + 0x18]
mov dword [0x4fc900], eax
lea ecx, [ebp - 0x10]
push dword [edi + 4]
mov al, byte [edi + 0x84]
push dword [ebp + 0x14]
and al, 0xf7
push dword [ebp + 0x10]
or al, 1
push dword [ebp + 0xc]
mov byte [edi + 0x84], al
call fcn.00467660
and byte [edi + 0x84], 0xfe
push dword [0x4fc900]
mov dword [ebp + 0x18], eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push 0x4e6144
mov dword [0x4fc900], 0
mov dword [0x4fc904], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 4]
mov byte [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x455f64
push eax
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x455f57
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
test byte [edi + 0x84], 4
jne 0x455f94
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + 0x18]
lea ecx, [edx - 1]
test ecx, ecx
js 0x455f74
mov eax, dword [edi + 0x14]
mov esi, dword [eax + ecx*4]
mov dword [ebp + 8], esi
cmp ecx, edx
jge 0x455f74
mov dword [edi + 0x18], ecx
test esi, esi
je 0x455f74
push esi
mov dword [ebp - 0x10], esi
xor edi, edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x455f91
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x30
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x32
push 1
push edi
push esi
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4560a4
push 0x1c
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x38], 0
je 0x4560a4
test byte [ebp - 0x24], 6
je 0x4560a4
cmp dword [esi], 0x1313
jne 0x4560a4
mov dword [ebp - 0x64], 0x31
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x44], eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x68]
push eax
push 1
push edi
push dword [ebp + 8]
mov dword [ebp - 0x48], 0
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push dword [esi + 4]
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x58]
or eax, dword [ebp - 0x60]
or eax, 0x400
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ModifyMenuW]
push dword [esi + 4]
call fcn.0047dfa3
push 0x14
push esi
call fcn.0047dc2a
add esp, 0xc
mov esi, dword [ebp + 8]
inc edi
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x455fc2
jmp 0x455f91