Function at 0x100b0cf0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x34
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
test ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 4], ecx
jne 0x100b0d24
push eax
call fcn.100b0170
add esp, 4
mov ebp, eax
push ecx
pop ecx
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100b0d3f
pop ebp
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x34
ret
push ebx
push esi
push edi
push 5
push ebp
call fcn.100724c0
add esp, 8
test eax, eax
je 0x100b0de7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
cmp dword [0x101d08fc], 0xfffff233
push 0
push ebp
call fcn.10072480
add esp, 8
mov edi, eax
mov ebp, ebp
push 1
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
pop ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
mov edi, edi
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [0x101d08f8], 0xffff8d29
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push ebx
call edi
test eax, eax
je 0x100b0de7
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100b0de7
mov esi, ebx
mov edx, edx
push ebx
call edi
test eax, eax
je 0x100b0de7
cmp esi, ebp
je 0x100b0de3
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
cmp dword [0x101d08e4], 0xffff85c3
push esi
call edi
test eax, eax
jne 0x100b0dc3
jmp 0x100b0de7
mov ebp, ebx
mov edi, edi
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100b0df0
sub eax, edx
mov esi, eax
mov eax, eax
lea edi, [esi + esi + 2]
push edi
call fcn.1012de1c
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
push ecx
pop ecx
test ebx, ebx
jne 0x100b0e2b
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x34
ret
push edi
push 0
push ebx
call fcn.1012ea60
add esp, 0xc
push eax
pop eax
mov edx, dword [esp + 0x10]
add esi, 1
push esi
push ebx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [0x101d08e0], 0x6e83
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100b0e60
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
cmp dword [0x101d0900], 0x4b3e
push eax
pop eax
xor ebx, ebx
test eax, eax
jle 0x100b0f55
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, eax
xor eax, 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 dword [esp + 0x3c], eax
cmp dword [0x101d08ec], 0x2e72
push eax
push eax
push 0x20
lea eax, [esp + 0x2c]
push eax
push 1
push esi
push 0
push 0
call edi
mov ebx, ebx
mov dword [esp + 0x10], 0
cmp dword [0x101d0904], 0xffffcfe4
mov eax, dword [esp + 0x20]
xor edx, edx
mov dh, al
lea ecx, [esp + 0x10]
push ecx
push 0x9c4
push 1
movzx eax, ah
push 1
or edx, eax
push edx
push 0x286
push ebp
call fcn.10072430
add esp, 0x1c
cmp dword [0x101d08e4], 0x7a3c
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x380c]
test eax, eax
je 0x100b0f45
mov edx, dword [esp + 0x18]
add edx, 0xffffffff
cmp ebx, edx
jge 0x100b0f45
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x101d08fc], 0xfffff233
add ebx, 1
add esi, 2
cmp ebx, dword [esp + 0x18]
jl 0x100b0e93
mov eax, dword [esp + 0x14]
push eax
call fcn.1012dedf
add esp, 4
cmp dword [0x101d08fc], 0xdcc
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
mov eax, 1
call fcn.1012e3ba
add esp, 0x34
ret