Function at 0x4e5d30
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x641ac0
push eax
mov eax, dword [0x79eb58]
mov dword fs:[0], esp
sub esp, 0x30
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
je 0x4e5d6d
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov ecx, dword [esi + 0x14c]
push ebp
push edi
push 1
call fcn.004c6860
mov eax, dword [esi + 0x14c]
push 0x10
mov eax, dword [eax + 0x48]
mov dword [eax + 0x14], esi
call fcn.00617dd8
call fcn.006306d8
mov ebp, dword [eax + 4]
cmp ebp, ebx
mov dword [esp + 0x18], ebp
je 0x4e5da7
push ebx
mov ecx, ebp
call fcn.00621a6d
mov eax, dword [esi + 0x148]
cmp eax, ebx
jne 0x4e5db7
mov dword [esp + 0x14], ebx
jmp 0x4e5dbe
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x4e61e0
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x4e6400
mov dword [esp + 0x30], esi
push 0x4e64a0
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], 1
call fcn.004e6040
lea edx, [esp + 0x1c]
mov dword [0x79eb58], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], 2
cmp eax, ebx
je 0x4e5e53
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
mov ebp, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push ebx
push 0x4e60f0
push 7
call ebp
mov dword [esp + 0x1c], eax
call edi
push eax
push ebx
push 0x4e6140
push 2
call ebp
mov dword [esp + 0x28], eax
call edi
push eax
push ebx
push 0x4e6190
push 4
call ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, ebx
je 0x4e5e68
push ebx
push ebx
push 0x1f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x50]
or ecx, 0x10
push ebx
mov dword [esi + 0x24], ecx
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [esi + 0x2c], ebx
call fcn.005844a0
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x4e5e8e
cmp eax, 0xffffffff
jne 0x4e5e96
mov eax, dword [esi + 0x24]
and al, 0xef
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0x14c]
call fcn.004c6060
test eax, eax
je 0x4e5ee3
push 0x20
push 0x500000
push ebx
mov ecx, esi
call fcn.00618307
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
call dword [edx + 0x18]
push eax
call fcn.00615238
mov edi, eax
cmp edi, ebx
je 0x4e5ee3
push ebx
push 0x400000
push ebx
mov ecx, edi
call fcn.00618307
mov eax, dword [edi + 0x1c]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi]
mov dword [esp + 0x18], ecx
mov ecx, esi
call dword [edx + 0x70]
test eax, eax
je 0x4e5f17
mov ecx, esi
mov edi, 4
call fcn.006182a2
test ah, 1
je 0x4e5f0b
mov edi, 5
push edi
mov ecx, esi
call fcn.00617b96
mov dword [esp + 0x18], eax
cmp dword [esi + 0x1c], ebx
je 0x4e5f2d
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0061842e
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp eax, ebx
je 0x4e5f42
push eax
call edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4e5f51
push eax
call edi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4e5f60
push eax
call edi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x13], bl
cmp eax, ebx
je 0x4e5f7c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4e5f7c
mov byte [esp + 0x13], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
cmp byte [esp + 0x13], bl
je 0x4e5f94
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp ebp, ebx
je 0x4e5fa1
push 1
mov ecx, ebp
call fcn.00621a6d
mov ecx, dword [esi + 0x14c]
push ebx
call fcn.004c6860
mov edx, dword [esi + 0x14c]
mov eax, dword [edx + 0x48]
mov dword [eax + 0x14], ebx
mov ecx, dword [esi + 0x14c]
call fcn.004c5ac0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 5
cmp eax, ebx
je 0x4e5fdb
push eax
call edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4e5fea
push eax
call edi
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x34]
call fcn.004e6060
mov eax, dword [esp + 0x34]
mov dword [0x79eb58], ebx
cmp eax, ebx
je 0x4e6008
push eax
call edi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4e6017
push eax
call edi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4e6022
push eax
call edi
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret