Function at 0x10055a40
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 0x10055a54
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
test eax, eax
push ebx
push ebp
push edi
jne 0x10055a76
push eax
push eax
push 0x10
push esi
call fcn.10033a90
mov ecx, ecx
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 1
jne 0x10055b24
push esi
call fcn.100262e0
add esp, 4
mov esi, eax
mov cl, cl
push 4
push esi
call fcn.100339a0
add esp, 8
mov ebx, ebx
push 5
push esi
call fcn.100339a0
add esp, 8
mov dh, dh
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call fcn.100339c0
add esp, 0x1c
mov dh, dh
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call ebp
mov eax, eax
mov ah, ah
mov edx, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
push ebx
pop ebx
push 0
push esi
call fcn.10033a60
add esp, 8
mov ebx, eax
mov edx, edx
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov bh, bh
push esi
call ebp
mov al, al
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edx, edx
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call fcn.100339c0
add esp, 0x1c
mov edx, edx
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 2
jne 0x10055b41
push 7
push esi
call fcn.100339a0
add esp, 8
push ebx
pop ebx
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 3
jne 0x10055b68
push 0
push 0xf020
push 0x112
push esi
call fcn.100339f0
add esp, 0x10
push eax
pop eax
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 4
jne 0x10055b85
push 3
push esi
call fcn.100339a0
add esp, 8
push eax
pop eax
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 5
jne 0x10055ba2
push 4
push esi
call fcn.100339a0
add esp, 8
mov ah, ah
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 6
jne 0x10055bbf
push 0
push esi
call fcn.100339a0
add esp, 8
mov eax, eax
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 7
jne 0x10055bdc
push 5
push esi
call fcn.100339a0
add esp, 8
push edx
pop edx
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 8
jne 0x10055c1c
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov bh, bh
or eax, 8
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call fcn.100339c0
add esp, 0x1c
mov ecx, ecx
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 9
jne 0x10055c5d
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ah, ah
and eax, 0xfffffff7
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, eax
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call fcn.100339c0
add esp, 0x1c
mov dl, dl
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xa
jne 0x10055c78
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xchg ebx, eax
xchg ebx, eax
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xb
jne 0x10055c92
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
nop
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xc
jne 0x10055d09
push esi
call fcn.100262e0
add esp, 4
mov esi, eax
mov ebx, ebx
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.10055860
add esp, 8
mov edi, edi
mov ebp, dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call ebp
nop
push edx
pop edx
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov ah, ah
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.10033a60
add esp, 8
mov ebx, eax
mov edx, edx
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push edx
pop edx
push esi
call ebp
mov al, al
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push eax
pop eax
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xd
jne 0x10055d68
mov edi, edi
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.10033a60
add esp, 8
mov ebx, ebx
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
push 0
push 1
call fcn.100334a0
add esp, 0x14
mov esi, eax
push edx
pop edx
test esi, esi
je 0x10055d60
push 0
push esi
call fcn.100335a0
add esp, 8
mov esi, esi
push esi
call fcn.10022dc0
add esp, 4
mov ecx, ecx
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 0x10055d92
push esi
call fcn.100262e0
add esp, 4
push edx
pop edx
push 0
push 0
push eax
call fcn.10055930
add esp, 0xc
mov edx, edx
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret
cmp eax, 0xf
jne 0x10055dd3
mov ch, ch
push edx
pop edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov ebx, ebx
push 0
push esi
call fcn.10033a60
add esp, 8
mov ebx, eax
mov ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push ebx
push edi
call ebp
mov cl, cl
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, ebx
push 0
push ebx
push edi
call ebp
mov ebp, ebp
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
pop ecx
ret