Function at 0x41bb60
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
sub esp, 0x224
xor eax, eax
mov ecx, 0x40
push ebx
push esi
push edi
lea edi, [esp + 0x130]
push ebp
rep stosd dword es:[edi], eax
mov esi, 0xffffffff
mov eax, dword [esp + 0x240]
movzx ecx, ax
shr eax, 0x10
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push edx
movzx ecx, ax
lea eax, [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x23c]
push eax
push ecx
call fcn.0041b020
mov ecx, dword [esp + 0x244]
mov dword [esp + 0x20], eax
add esp, 0xc
mov edi, eax
push 0
push edi
push 0x187
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x41bc1e
mov eax, dword [esp + 0x238]
push esi
push 0
push 0x185
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x238]
push eax
push 1
push 0x185
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x238]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0x42f7d0]
push ecx
call fcn.00414060
add esp, 4
mov ebx, dword [esp + 0x238]
push 0
mov eax, dword [esp + 0x23c]
push edi
push 0x187
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x41c0fc
mov eax, dword [esp + 0x238]
push eax
call fcn.0041f030
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jle 0x41c0fc
push str.DRAG
mov eax, dword [0x438580]
push eax
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
call edi
push str.NODROP
mov ecx, dword [0x438580]
mov dword [esp + 0x20], eax
push ecx
call edi
mov dword [esp + 0x20], eax
push str.DRAGMULT
mov eax, dword [0x438580]
push eax
call edi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetCursor]
mov ebp, dword [sym.imp.USER32.dll_SetCapture]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x238]
push eax
call ebp
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edi, eax
cmp esi, 0xffffffff
je 0x41bcf4
cmp edi, ebx
je 0x41bcf4
push esi
push 0
push 0x185
mov esi, 0xffffffff
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41beb8
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 0x10
je 0x41beb8
cmp edi, dword [esp + 0x238]
jne 0x41bde3
lea eax, [esp + 0x28]
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
call fcn.0041b020
add esp, 0xc
mov ebp, eax
cmp esi, 0xffffffff
je 0x41bd5a
cmp esi, ebp
je 0x41bd5a
push esi
push 0
push 0x185
mov esi, 0xffffffff
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp ebp, dword [esp + 0x14]
jne 0x41bd6b
xor ebp, ebp
mov eax, dword [esp + 0x18]
jmp 0x41bebe
cmp dword [esp + 0x28], 4
jne 0x41beb8
cmp esi, ebp
je 0x41bdc7
push 0
push ebp
push 0x187
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x41beb8
push ebp
mov esi, ebp
push 1
mov ebx, edi
push 0x185
mov ebp, 1
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x10], ebp
jg 0x41bebe
mov eax, dword [esp + 0x1c]
jmp 0x41bebe
mov ebp, 1
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x10], ebp
jg 0x41bebe
mov eax, dword [esp + 0x1c]
jmp 0x41bebe
mov eax, dword [esp + 0x238]
cmp eax, dword [0x4376f8]
jne 0x41bdfa
cmp edi, dword [0x437710]
je 0x41be11
mov eax, dword [esp + 0x238]
cmp eax, dword [0x437710]
jne 0x41be84
cmp edi, dword [0x4376f8]
jne 0x41be84
lea eax, [esp + 0x28]
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
call fcn.0041b020
add esp, 0xc
mov ebp, eax
cmp esi, 0xffffffff
je 0x41be4a
cmp esi, ebp
je 0x41be4a
push esi
push 0
push 0x185
mov esi, 0xffffffff
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esp + 0x28], 4
jne 0x41be6f
cmp esi, ebp
je 0x41be6f
push ebp
mov ebx, edi
push 1
mov esi, ebp
push 0x185
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, 1
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x10], ebp
jg 0x41bebe
mov eax, dword [esp + 0x1c]
jmp 0x41bebe
mov eax, dword [esp + 0x238]
cmp eax, dword [0x437710]
jne 0x41bea3
cmp edi, dword [0x437710]
je 0x41bea3
cmp edi, dword [0x4376f8]
jne 0x41beb8
mov ebp, 1
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x10], ebp
jg 0x41bebe
mov eax, dword [esp + 0x1c]
jmp 0x41bebe
xor ebp, ebp
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
jne 0x41bcb3
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp esi, 0xffffffff
je 0x41bf18
push esi
push 0
push 0x185
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp edi, dword [esp + 0x238]
jne 0x41bfb9
lea eax, [esp + 0x28]
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
call fcn.0041b020
add esp, 0xc
cmp eax, dword [esp + 0x14]
jne 0x41bfb9
cmp dword [esp + 0x10], 0
jle 0x41bf72
mov esi, 0x433f20
mov edi, dword [esp + 0x10]
mov eax, dword [esi]
cmp dword [esp + 0x14], eax
je 0x41bf6c
push eax
push 0
mov eax, dword [esp + 0x240]
push 0x185
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 4
dec edi
jne 0x41bf4e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x238]
push eax
push 1
push 0x185
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x238]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0x42f7d0]
push ecx
call fcn.00414060
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x224
ret
test ebp, ebp
je 0x41c0e2
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov eax, ebx
shl eax, 8
push eax
push 0x2040
call ebp
mov dword [esp + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [eax], 0x14
mov ebp, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x84
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
lea ecx, [esp + 0x2c]
push ecx
cmp eax, 1
sbb eax, eax
push edi
inc eax
mov dword [ebp + 0xc], eax
add ebp, 0x14
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov dword [ebp - 0x10], ecx
mov eax, dword [esp + 0x30]
mov dword [ebp - 0xc], eax
jle 0x41c09f
mov esi, 0x433f20
mov eax, dword [esp + 0x238]
cmp eax, dword [0x4376f8]
jne 0x41c07a
push 0x100
mov eax, dword [0x437350]
push ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add ebp, eax
cmp byte [ebp - 1], 0x5c
je 0x41c07a
mov byte [ebp], 0x5c
inc ebp
mov eax, dword [esi]
push ebp
mov ecx, dword [esp + 0x23c]
push eax
push ecx
add esi, 4
call fcn.0041f050
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [eax + ebp + 1]
dec ebx
jne 0x41c045
mov eax, dword [esp + 0x18]
mov byte [ebp], 0
mov byte [ebp + 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x238]
push 0
mov eax, dword [esp + 0x1c]
mov dword [0x431714], ecx
push eax
push 0x233
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x224
ret
mov eax, 1
pop ebp
mov dword [0x431714], 0
pop edi
pop esi
pop ebx
add esp, 0x224
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x224
ret