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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101fc8a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea esi, [ebx - 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x44]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], esi
je 0x101356de
push edi
push edi
push 2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x44], edi
cmp dword [ebx + 0x18], edi
mov byte [ebx - 0x7b], 0
mov dword [ebx - 0x74], edi
jne 0x101356f4
mov eax, 1
jmp 0x101359ed
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0xd8], edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0xd
push edx
call fcn.1019fef0
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x58], eax
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
push edi
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 4]
push 0x1111
push eax
mov dword [esp + 0x68], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x11
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
shr eax, 7
and al, 1
cmp ecx, edi
mov byte [esp + 0x2c], al
jne 0x1013578d
xor eax, eax
jmp 0x101357a4
mov esi, ebx
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
setbe byte [esp + 0x14]
cmp ecx, ebx
mov edi, ebx
jbe 0x101357c0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x18]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
lea esp, [esp]
cmp ecx, ebx
mov dword [esp + 0x34], ecx
jbe 0x101357de
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test esi, esi
je 0x101357ea
lea ecx, [esp + 0x18]
cmp esi, ecx
je 0x101357f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x34]
je 0x10135966
test esi, esi
mov ebx, esi
mov dword [esp + 0x38], edi
jne 0x1013580a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 4]
ja 0x10135815
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea esi, [edi - 0x1c]
cmp esi, dword [ebx + 8]
mov dword [esp + 0x34], esi
jb 0x10135827
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 8
jb 0x10135832
mov eax, dword [esi + 4]
jmp 0x10135835
lea eax, [esi + 4]
call fcn.1019c340
mov ebx, eax
mov eax, dword [esp + 0x10]
push ebx
call fcn.10134a50
mov edi, eax
call fcn.101a7380
mov esi, dword [eax]
test esi, esi
mov dword [esp + 0x48], esi
je 0x1013585f
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov byte [esp + 0xd8], 1
test edi, edi
jne 0x101358f6
lea ecx, [esp + 0x64]
push ecx
call fcn.1006bd00
mov byte [esp + 0xd8], 2
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x64]
push edx
push ebx
call eax
test al, al
jne 0x101358c6
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x64]
push ecx
call fcn.10007e40
mov byte [esp + 0xd8], 0
test esi, esi
je 0x10135938
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
jmp 0x10135938
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
call fcn.10134cf0
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x64]
push ecx
call fcn.10007e40
jmp 0x10135923
test esi, esi
je 0x10135923
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push 0
push 1
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [eax - 0x78]
push edi
push ecx
add eax, 0xc
push eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call edx
mov byte [esp + 0xd8], 0
test esi, esi
je 0x10135938
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp eax, dword [ecx + 4]
ja 0x1013594b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov edi, edx
jmp 0x101357d0
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
call edx
cmp byte [esp + 0x14], 0
jne 0x1013598e
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1013598e
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push 1
call edx
mov esi, dword [esp + 0x10]
push 1
mov ecx, esi
call fcn.10132fe0
push 1
mov ecx, esi
call fcn.10134ae0
push 0
call fcn.100f7430
add esp, 4
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x101359df
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x20]
push ecx
call fcn.10002b40
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 4