Function at 0x4ada20
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x557558
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5b2920]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp ebx, 0x111
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
jne 0x4adaa8
mov eax, edi
shr eax, 0x10
cmp di, 0xbf6a
jne 0x4ada8e
cmp ax, 0x300
jne 0x4ae02b
call fcn.004ae8a0
jmp 0x4ae02b
cmp di, 0xc031
jne 0x4ae02b
push ecx
movzx ecx, ax
push esi
call fcn.004ae9c0
jmp 0x4ae039
cmp ebx, 0xa1
jne 0x4adadb
mov eax, dword [esi + 0x1d0]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4adad2
xor eax, eax
mov ecx, esi
call fcn.004b0000
jmp 0x4ae02b
mov ecx, dword [esi + 0xb4]
push ecx
jmp 0x4adafe
cmp ebx, 0x201
jne 0x4adb1e
mov eax, dword [esi + 0x1d0]
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4adac4
mov eax, dword [esi + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4ae02b
push 0
lea ecx, [esi + 0x94]
call fcn.004f3a53
jmp 0x4ae02b
cmp ebx, 0x20a
jne 0x4adbfd
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
shr edi, 0x10
movsx ecx, di
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0xb4]
push edx
movzx edi, cx
call ebx
test eax, eax
je 0x4adba0
test di, di
jle 0x4adb7e
mov eax, dword [esi + 0xb4]
push 0
push 0x26
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x4ae039
jge 0x4adbf3
mov ecx, dword [esi + 0xb4]
push 0
push 0x28
push 0x100
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x4ae039
mov eax, dword [esi + 0x1d0]
mov edx, dword [eax + 0x20]
push edx
call ebx
test eax, eax
je 0x4adbf3
test di, di
jle 0x4adbd8
mov eax, dword [esi + 0x1d0]
mov ecx, dword [eax + 0x20]
push 0
push 0x26
push 0x100
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x4ae039
jge 0x4adbf3
mov edx, dword [esi + 0x1d0]
mov eax, dword [edx + 0x20]
push 0
push 0x28
push 0x100
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x4ae039
cmp ebx, 0xbee
jne 0x4adc21
mov ecx, dword [esi + 0xb4]
push 0
push 0
push ebx
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x4ae039
cmp ebx, 0x2b1b
jne 0x4adcc9
test edi, edi
je 0x4adcc2
test ecx, ecx
je 0x4adcc2
push edi
lea ecx, [esp + 0x1c]
call fcn.00402580
mov dword [esp + 0x60], 0
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x38]
call fcn.00402580
sub esp, 0x1c
mov byte [esp + 0x7c], 1
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00402580
sub esp, 0x1c
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x9c], 2
call fcn.00402580
mov ecx, esi
mov byte [esp + 0x98], 1
call fcn.004aef10
mov ecx, esi
call fcn.004af140
lea ecx, [esp + 0x34]
call fcn.00402790
lea ecx, [esp + 0x18]
call fcn.00402790
mov eax, 1
jmp 0x4ae039
xor eax, eax
jmp 0x4ae039
cmp ebx, 0x2b1d
jne 0x4add05
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x4adce2
push 3
call fcn.00460a00
mov ecx, esi
call fcn.004af140
add esi, 0x94
mov eax, esi
call fcn.004735b0
call fcn.004b2510
mov eax, 1
jmp 0x4ae039
cmp ebx, 0x2b20
jne 0x4add1e
mov ecx, esi
call fcn.004af140
mov eax, 1
jmp 0x4ae039
cmp ebx, 0x2b1c
jne 0x4add65
test edi, edi
mov dword [esp + 0x10], edi
je 0x4adbf3
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
mov edi, eax
lea eax, [esi + 0x120]
call fcn.00473d90
cmp edi, eax
ja 0x4adbf3
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004afce0
mov eax, 1
jmp 0x4ae039
cmp ebx, 0x2b1f
jne 0x4addac
test edi, edi
mov dword [esp + 0x10], edi
je 0x4adbf3
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov edi, eax
lea eax, [esi + 0x1e8]
call fcn.00473d90
cmp edi, eax
ja 0x4adbf3
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004afe70
mov eax, 1
jmp 0x4ae039
cmp ebx, 0x2b1e
jne 0x4ade1f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
mov ebx, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, esi
call fcn.0045d1c0
push 0xbf6a
mov ecx, esi
call fcn.004f3841
test eax, eax
je 0x4ade15
mov ecx, eax
call fcn.004f3ab0
mov eax, 1
jmp 0x4ae039
cmp ebx, 0x2b21
jne 0x4aded2
call fcn.004b0e20
mov ebx, eax
test ebx, ebx
je 0x4ae028
push ebx
call fcn.004ad160
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x38]
mov eax, dword [0x5c2a18]
add eax, ecx
lea eax, [eax + edi + 1]
push 0x12
mov dword [esp + 0x44], eax
sub eax, ecx
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
push eax
push ecx
push 0
push 0
push 0
mov ecx, esi
call fcn.004f3c62
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004e9f4a
mov eax, dword [esi + 0x1e0]
mov edx, dword [esp + 0x1c]
push 1
add edx, edi
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], edx
call fcn.004242a0
mov ecx, dword [esi + 0x1e4]
push 1
push ecx
lea eax, [esp + 0x20]
call fcn.004242a0
mov eax, 1
jmp 0x4ae039
cmp ebx, 6
jne 0x4ae02b
cmp di, 1
je 0x4adf9c
cmp di, 2
je 0x4adf9c
test di, di
jne 0x4ae02b
mov eax, dword [esi + 0xb4]
cmp ecx, eax
je 0x4adbf3
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
mov byte [esi + 0x1d4], 0
call ebx
test eax, eax
je 0x4adf27
push 0
lea ecx, [esi + 0x94]
call fcn.004f3a53
mov eax, dword [esi + 0x1d0]
mov edx, dword [eax + 0x20]
push edx
call ebx
test eax, eax
je 0x4adf40
xor eax, eax
mov ecx, esi
call fcn.004b0000
cmp byte [esi + 0x1cd], 0
jne 0x4adbf3
mov eax, dword [esi + 0x1e0]
mov eax, dword [eax + 0x20]
push eax
call ebx
test eax, eax
jne 0x4adf6d
mov eax, dword [esi + 0x1e4]
mov ecx, dword [eax + 0x20]
push ecx
call ebx
test eax, eax
je 0x4adf84
mov edx, dword [esi + 0x20]
push 0
push 1
push 1
push edx
mov byte [esi + 0x1cf], 1
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi + 0x20]
push 2
push 0xc8
push 0
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x4ae028
mov ecx, dword [esi + 0x20]
push 2
push 0xff
push 0
push ecx
mov byte [esi + 0x1d4], 1
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
cmp byte [esi + 0x1cf], 0
je 0x4adfd2
mov eax, 1
mov ecx, esi
mov byte [esi + 0x1cf], 0
call fcn.004b0000
push 0
push 0x5bb19c
push 0x5baf34
push 0
push 0xbf6a
mov ecx, esi
call fcn.004f3841
push eax
call fcn.00513d6d
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4ae028
mov ecx, ebx
call fcn.004f3ab0
mov edx, dword [ebx + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0xb7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
push ecx
push edi
push ebx
mov ecx, esi
call fcn.004b0eb0
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0050fe87
mov esp, ebp
pop ebp
ret 0xc