Function at 0x42dc40
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42dc52
pop esi
ret
mov eax, dword [esp + 0x10]
push ebx
push ebp
push edi
test eax, eax
jne 0x42dc72
push eax
push eax
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret
cmp eax, 1
jne 0x42dcfc
push esi
call fcn.004235d0
mov esi, eax
push 4
push esi
call fcn.0042ccc0
push 5
push esi
call fcn.0042ccc0
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call fcn.0042cce0
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0x30
push esi
call ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push esi
mov edi, eax
call fcn.0042cd50
add esp, 8
mov ebx, eax
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
call ebp
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call fcn.0042cce0
add esp, 0x1c
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 2
jne 0x42dd16
push 7
push esi
call fcn.0042ccc0
add esp, 8
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 3
jne 0x42dd3a
push 0
push 0xf020
push 0x112
push esi
call fcn.0042cd30
add esp, 0x10
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 4
jne 0x42dd54
push 3
push esi
call fcn.0042ccc0
add esp, 8
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 5
jne 0x42dd6e
push 4
push esi
call fcn.0042ccc0
add esp, 8
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 6
jne 0x42dd88
push 0
push esi
call fcn.0042ccc0
add esp, 8
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 7
jne 0x42dda2
push 5
push esi
call fcn.0042ccc0
add esp, 8
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 8
jne 0x42dddb
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or al, 8
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call fcn.0042cce0
add esp, 0x1c
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 9
jne 0x42ddfa
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and al, 0xf7
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x42dcdd
cmp eax, 0xa
jne 0x42de12
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret
cmp eax, 0xb
jne 0x42de2a
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret
cmp eax, 0xc
jne 0x42de84
push esi
call fcn.004235d0
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.0042daa0
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0xc
push esi
call ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push esi
mov edi, eax
call fcn.0042cd50
add esp, 8
mov ebx, eax
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
call ebp
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret
cmp eax, 0xd
je 0x42dede
cmp eax, 0xe
jne 0x42deab
push esi
call fcn.004235d0
push 0
push 0
push eax
call fcn.0042db50
add esp, 0x10
mov eax, 1
pop edi
pop ebp
pop ebx
pop esi
ret
cmp eax, 0xf
jne 0x42dede
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push esi
mov edi, eax
call fcn.0042cd50
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
add esp, 8
mov ebx, eax
push 1
push ebx
push edi
call ebp
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push ebx
push edi
call ebp
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
ret