Function at 0x10088370
Capabilities:
Log keystrokes

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10088384
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
test eax, eax
push ebx
push ebp
push edi
jne 0x100883a4
push eax
push eax
push 0x10
push esi
call fcn.10054340
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 1
jne 0x10088410
push esi
call fcn.1003ed80
mov esi, eax
push 4
push esi
call fcn.10054230
push 5
push esi
call fcn.10054230
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call fcn.10054250
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.10054310
add esp, 8
push 1
mov ebx, eax
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]
jmp 0x10088512
cmp eax, 2
jne 0x1008842b
push 7
push esi
call fcn.10054230
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 3
jne 0x10088450
push 0
push 0xf020
push 0x112
push esi
call fcn.100542a0
add esp, 0x10
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 4
jne 0x1008846b
push 3
push esi
call fcn.10054230
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 5
jne 0x10088486
push 4
push esi
call fcn.10054230
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 6
jne 0x100884a1
push 0
push esi
call fcn.10054230
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 7
jne 0x100884bc
push 5
push esi
call fcn.10054230
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 8
jne 0x100884f7
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 8
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call fcn.10054250
add esp, 0x1c
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 9
jne 0x10088532
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffffff7
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call fcn.10054250
add esp, 0x1c
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xa
jne 0x1008854b
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xb
jne 0x10088564
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xc
jne 0x100885c5
push esi
call fcn.1003ed80
mov esi, eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.100881a0
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0xc
push esi
call ebp
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10054310
add esp, 8
push 1
mov ebx, eax
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
pop ecx
ret
cmp eax, 0xd
jne 0x10088614
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.10054310
mov edx, dword [esp + 0x18]
push 0
push 0
push edx
push 0
push 1
call fcn.10053db0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x1008860c
push 0
push esi
call fcn.10053e90
push esi
call fcn.10039240
add esp, 0xc
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret
cmp eax, 0xe
jne 0x10088637
push esi
call fcn.1003ed80
push 0
push 0
push eax
call fcn.10088270
add esp, 0x10
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xf
jne 0x1008866a
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
push esi
mov edi, eax
call fcn.10054310
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
add esp, 8
push 1
mov ebx, eax
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
pop ecx
ret