Function at 0x411690
Capabilities:
Get graphical window text
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x440440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x11
mov dword [ebp - 0x3a0], esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4119cc
cmp word [ebp + 0xc], 0x43
jne 0x4119cc
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4119b6
push ebx
push 0x4000
call fcn.0041c757
mov ebx, eax
mov ecx, str.____________________________r_n
mov edx, ebx
add esp, 4
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x4116f1
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411706
sub ecx, edx
sar ecx, 1
push 0x3e8
lea eax, [ebx + ecx*2]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebx - 2]
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x411730
mov eax, dword [0x4325c8]
mov dword [ecx], eax
mov ax, word [0x4325cc]
push edi
mov word [ecx + 4], ax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411751
push 0x3e9
push dword [ebp - 0x3a0]
mov ecx, 0xf
mov esi, str.____________________________r_n
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4117ea
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411790
sub ecx, edx
sar ecx, 1
push 0xfa0
lea eax, [ebx + ecx*2]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebx - 2]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4117b2
mov eax, dword [0x4325c8]
lea edi, [ebx - 2]
mov dword [ecx], eax
mov ax, word [0x4325cc]
mov word [ecx + 4], ax
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4117d2
mov ecx, 0xf
mov esi, str.____________________________r_n
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [ebp - 0x3a0]
call esi
mov edi, eax
test edi, edi
je 0x4118da
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4118cb
push 0x102
lea eax, [ebp - 0x39c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x39c]
push 0x432898
push eax
call fcn.004201a7
add esp, 8
test eax, eax
jne 0x4118cb
push 0xc7
lea eax, [ebp - 0x194]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411860
mov ax, word [ebp - 0x194]
sub ecx, edx
sar ecx, 1
lea edx, [ebp - 0x194]
test ax, ax
je 0x4118a6
movzx esi, ax
cmp si, 0x26
je 0x411892
mov ax, word [edx]
mov word [ebx + ecx*2], ax
inc ecx
movzx eax, word [edx + 2]
add edx, 2
mov esi, eax
test ax, ax
jne 0x411884
mov esi, dword [sym.imp.USER32.dll_GetWindow]
xor eax, eax
mov word [ebx + ecx*2], ax
lea ecx, [ebx - 2]
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4118b0
mov eax, dword [0x432920]
mov dword [ecx], eax
mov eax, dword [0x432924]
mov dword [ecx + 4], eax
push 2
push edi
call esi
mov edi, eax
test edi, edi
jne 0x411804
lea ecx, [ebx - 2]
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4118e0
mov eax, dword [0x4325c8]
lea edi, [ebx - 2]
mov dword [ecx], eax
mov ax, word [0x4325cc]
mov word [ecx + 4], ax
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411900
mov ecx, 0xf
mov esi, str.____________________________r_n
rep movsd dword es:[edi], dword [esi]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
pop edi
test eax, eax
je 0x411996
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411930
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x411990
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x411990
mov ecx, ebx
sub edx, ebx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x411970
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
call fcn.0041cd1a
add esp, 4
mov eax, 1
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cd0c
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041cd0c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041cd0c
mov esp, ebp
pop ebp
ret 0xc