Function at 0x4831f0
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 [0x65eb68]
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 0x48351c
cmp word [ebp + 0xc], 0x43
jne 0x48351c
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x483506
push ebx
push 0x4000
call fcn.005649e3
mov ebx, eax
mov ecx, 0x5f84a8
mov edx, ebx
add esp, 4
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x483251
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483266
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]
jmp 0x483290
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x483290
mov eax, dword [0x5f84e4]
mov dword [ecx], eax
mov ax, word [0x5f84e8]
push edi
mov word [ecx + 4], ax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4832b1
push 0x3e9
push dword [ebp - 0x3a0]
mov ecx, 0xf
mov esi, 0x5f84a8
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 0x48334a
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4832f0
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 0x483312
mov eax, dword [0x5f84e4]
lea edi, [ebx - 2]
mov dword [ecx], eax
mov ax, word [0x5f84e8]
mov word [ecx + 4], ax
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x483332
mov ecx, 0xf
mov esi, 0x5f84a8
rep movsd dword es:[edi], dword [esi]
push 5
push dword [ebp - 0x3a0]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x48342e
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48341b
push 0x102
lea eax, [ebp - 0x39c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x39c]
push 0x5eca5c
push eax
call fcn.005a9b4b
add esp, 8
test eax, eax
jne 0x48341b
push 0xc7
lea eax, [ebp - 0x194]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4833b4
mov ax, word [ebp - 0x194]
lea esi, [ebp - 0x194]
sub ecx, edx
sar ecx, 1
test ax, ax
je 0x4833f1
movzx edx, ax
cmp dx, 0x26
je 0x4833e3
mov word [ebx + ecx*2], dx
inc ecx
movzx eax, word [esi + 2]
add esi, 2
mov edx, eax
test ax, ax
jne 0x4833d8
xor eax, eax
mov word [ebx + ecx*2], ax
lea ecx, [ebx - 2]
lea ebx, [ebx]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x483400
mov eax, dword [0x5f84ec]
mov dword [ecx], eax
mov eax, dword [0x5f84f0]
mov dword [ecx + 4], eax
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x483362
lea ecx, [ebx - 2]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x483431
mov eax, dword [0x5f84e4]
lea edi, [ebx - 2]
mov dword [ecx], eax
mov ax, word [0x5f84e8]
mov word [ecx + 4], ax
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x483451
mov ecx, 0xf
mov esi, 0x5f84a8
rep movsd dword es:[edi], dword [esi]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
pop edi
test eax, eax
je 0x4834e6
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 0x483481
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 0x4834e0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x4834e0
mov ecx, ebx
sub edx, ebx
jmp 0x4834c0
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4834c0
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.005649de
add esp, 4
mov eax, 1
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00599f9c
mov esp, ebp
pop ebp
ret 0xc