Function at 0x40700e
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
mov eax, 0x42d34c
call fcn.004113f0
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
push 0x43cd48
lea ecx, [ebp - 0x10]
call fcn.00424d0c
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
cmp dword [esi + 0x298], ebx
mov dword [ebp - 4], ebx
je 0x40712c
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
jle 0x4070ef
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x43a0d8]
push 0x10
movzx eax, byte [ecx + eax]
mov ecx, eax
shr ecx, 4
mov cl, byte [ecx + edx]
mov byte [ebp - 0x28], cl
pop ecx
cdq
idiv ecx
mov eax, dword [0x43a0d8]
mov al, byte [edx + eax]
mov byte [ebp - 0x27], al
lea eax, [ebp - 0x10]
push dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041edd6
push dword [ebp - 0x27]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041edd6
push 0x43a844
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.00424f33
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00424dd7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00424ce2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00424ce2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00424ce2
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jl 0x407050
push ebx
push ebx
push 0xe
push dword [esi + 0x20c]
call edi
cmp eax, 1
jge 0x40716e
lea eax, [ebp - 0x10]
push 0x43a844
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00424f33
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00424dd7
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00424ce2
jmp 0x40716e
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
jle 0x40716e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx + eax]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041edd6
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00424dd7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00424ce2
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jl 0x407134
cmp dword [esi + 0x2c8], ebx
je 0x4074bd
cmp dword [esi + 0x2a8], ebx
je 0x4074bd
cmp dword [esi + 0x29c], ebx
mov dword [ebp - 0x14], ebx
je 0x4071d0
push ebx
push ebx
push 0xba
push dword [esi + 0x20c]
call edi
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
cdq
idiv dword [esi + 0x90]
add eax, ecx
cmp eax, dword [esi + 0x2dc]
jle 0x4071d0
push 0x43cd48
lea ecx, [esi + 0x1f0]
call fcn.00423b56
mov dword [ebp - 0x14], 1
mov eax, dword [0x43af2c]
mov dword [ebp + 0xc], eax
push dword [esi + 0x1c]
mov byte [ebp - 4], 6
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
lea ecx, [ebp + 0xc]
call fcn.00424e27
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
push ebx
push 0xe
push dword [esi + 0x20c]
call edi
push eax
lea ecx, [esi + 0x1f0]
push eax
mov dword [ebp - 0x18], eax
call fcn.0041f9f9
push ebx
push ebx
push 0x301
push dword [esi + 0x20c]
call edi
push ebx
push ebx
push 0x302
push dword [esi + 0x20c]
call edi
cmp dword [esi + 0x2a8], ebx
je 0x407293
mov eax, dword [0x43af2c]
mov dword [ebp + 8], eax
push 0x43a728
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00424e27
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00424ecd
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00424dd7
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00424ce2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00424ce2
cmp dword [esi + 0x294], ebx
je 0x407315
mov eax, dword [0x43af2c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.0041f288
mov eax, dword [eax]
push str.__Y:_m:_d:_H:_M:_S_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041f29b
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.00424dd7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00424ce2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00424ecd
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00424dd7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00424ce2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.00424ce2
cmp dword [esi + 0x28c], ebx
je 0x4073af
cmp dword [ebp - 0x14], ebx
jne 0x4073af
push ebx
push ebx
push 0xe
push dword [esi + 0x20c]
call edi
cmp eax, 1
jle 0x4073af
push 1
push 0xd
lea ecx, [ebp + 8]
call fcn.0041eda2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00411560
pop ecx
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x14]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
push ebx
push 0x302
push dword [esi + 0x20c]
call edi
lea ecx, [ebp + 8]
call fcn.00424ce2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x10]
mov dword [ebp + 8], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00411560
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
push ebx
push 0x302
push dword [esi + 0x20c]
call edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
push eax
call fcn.00411560
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
push ebx
push 0xe
push dword [esi + 0x20c]
call edi
mov edi, eax
lea ecx, [esi + 0x1f0]
push edi
push dword [ebp - 0x18]
call fcn.0041f9f9
push 0x41e
mov ecx, esi
call fcn.00423a68
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0xff0000
push ecx
mov ecx, eax
mov dword [ebp - 0x74], 0x40000000
mov dword [ebp - 0x70], ebx
call fcn.0041fa40
push edi
push edi
lea ecx, [esi + 0x1f0]
call fcn.0041f9f9
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00424ce2
cmp dword [esi + 0x2c0], ebx
je 0x40752c
cmp dword [esi + 0x2a8], ebx
je 0x40752c
mov eax, dword [esi + 0x240]
push 0x3001
push eax
lea ecx, [ebp - 0x3c]
call fcn.004251b2
mov eax, dword [ebp - 0x3c]
push 2
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call dword [eax + 0x28]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.00425401
cmp dword [esi + 0x294], ebx
jne 0x40750c
cmp dword [esi + 0x28c], ebx
je 0x407519
push 0x43a710
lea ecx, [ebp - 0x3c]
call fcn.00425401
lea ecx, [ebp - 0x3c]
call fcn.004255be
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0042524b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00424ce2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8