Function at 0x100959a0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x30
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x40]
test edi, edi
mov dword [esp + 8], esi
jne 0x100959d1
push eax
call fcn.10094a50
add esp, 4
mov edi, eax
mov ch, ch
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100959ed
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x30
ret
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100959f2
push ebx
sub eax, edx
push ebp
mov esi, eax
mov ebp, ebp
lea ebx, [esi + esi + 2]
push ebx
call fcn.1010df39
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
mov dh, dh
test ebp, ebp
jne 0x10095a2f
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x30
ret
push ebx
push 0
push ebp
call fcn.1010efd0
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x10]
add esi, 1
push esi
push ebp
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov cl, cl
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10095a60
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov edx, edx
push 5
push edi
call fcn.10059690
add esp, 8
test eax, eax
je 0x10095b0d
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov esi, eax
push edx
pop edx
push 0
push edi
call fcn.10059650
add esp, 8
mov ebx, eax
mov eax, eax
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, ebp
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x10], eax
push ebx
pop ebx
push 0
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov dh, dh
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
call ebx
test eax, eax
je 0x10095b0d
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10095b0d
xchg ebx, eax
xchg ebx, eax
mov ecx, esi
push ecx
call ebx
test eax, eax
je 0x10095b0d
lea esp, [esp]
cmp esi, edi
je 0x10095b08
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov ch, ch
push esi
call ebx
test eax, eax
jne 0x10095af0
jmp 0x10095b0d
mov edi, dword [esp + 0x10]
nop
mov ecx, ecx
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x10095b9f
mov ebx, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, ebp
mov ebp, eax
push ecx
pop ecx
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dh, dh
push eax
push eax
push 0x20
lea edx, [esp + 0x28]
push edx
push 1
push esi
push eax
push eax
call ebx
push eax
pop eax
mov dword [esp + 0x10], 0
mov edi, edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov ch, al
push 0x9c4
push 1
movzx edx, ah
push 1
or ecx, edx
push ecx
push 0x286
push edi
call fcn.10059600
add esp, 0x1c
mov al, al
add esi, 2
sub ebp, 1
jne 0x10095b25
mov ebp, dword [esp + 0x18]
push ebp
call fcn.1010dffc
add esp, 4
mov edx, edx
mov ecx, dword [esp + 0x3c]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.1010e4d7
add esp, 0x30
ret