Function at 0x402545
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data
Write clipboard data
Write file on windows

Disassembly:
mov eax, 0x42ca44
call fcn.004113f0
mov eax, 0x108c
call fcn.004113c0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x5c]
call fcn.00425180
mov eax, dword [esi + 0x7c]
xor ebx, ebx
cmp eax, dword [esi + 0x78]
mov dword [ebp - 4], ebx
jle 0x402565
mov dword [esi + 0x7c], 1
mov eax, dword [esi + 0x84]
push ebx
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042528e
mov eax, dword [0x43af2c]
mov dword [ebp - 0x10], eax
xor edi, edi
cmp dword [esi + 0x7c], ebx
mov byte [ebp - 4], 1
jle 0x40259b
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00425471
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x402589
lea ecx, [ebp - 0x5c]
call fcn.004255be
mov eax, dword [0x43af2c]
mov dword [ebp - 0x20], eax
push dword [esi + 0x7c]
mov edi, 0x43a698
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.0041f191
add esp, 0xc
mov ecx, esi
push 0x430
call fcn.00423a68
push dword [ebp - 0x20]
mov ecx, eax
call fcn.00423b56
push 0x43cd48
push dword [ebp - 0x10]
call fcn.004114a5
pop ecx
test eax, eax
pop ecx
je 0x402aba
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call fcn.00425138
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1098]
push eax
lea eax, [ebp - 0x10]
push dword [esi + 0x250]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00424a57
mov ecx, esi
call fcn.0040598b
cmp eax, 2
je 0x402aba
mov eax, dword [ebp - 0x1c]
add dword [esi + 0x6c], eax
inc dword [esi + 0x70]
mov ecx, dword [0x43af2c]
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x24], ecx
push eax
lea eax, [ebp - 0x24]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.0041f191
add esp, 0xc
mov ecx, esi
push 0x426
call fcn.00423a68
push dword [ebp - 0x24]
mov ecx, eax
call fcn.00423b56
push dword [esi + 0x6c]
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0041f191
add esp, 0xc
mov ecx, esi
push 0x428
call fcn.00423a68
push dword [ebp - 0x24]
mov ecx, eax
call fcn.00423b56
xor edi, edi
cmp dword [ebp - 0x1c], ebx
mov dword [esi + 0x22f4], 1
jle 0x4026ca
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
sub eax, edi
push ebx
push ecx
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp + edi - 0x1098]
push eax
push dword [esi + 0x2b0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [ebp - 0x14]
cmp edi, dword [ebp - 0x1c]
jl 0x4026a0
inc dword [esi + 0x7c]
cmp dword [esi + 0x2c8], ebx
je 0x402a2f
cmp dword [esi + 0x2a8], ebx
je 0x402a2f
mov eax, dword [0x43af2c]
mov dword [ebp - 0x2c], eax
push dword [esi + 0x1c]
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00424e27
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esi + 0x29c], ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x18], ebx
je 0x402767
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 0x402767
push 0x43cd48
lea ecx, [esi + 0x1f0]
call fcn.00423b56
mov dword [ebp - 0x18], 1
push ebx
push ebx
push 0xe
push dword [esi + 0x20c]
call edi
push eax
lea ecx, [esi + 0x1f0]
push eax
mov dword [ebp - 0x34], 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 0x4027f8
mov eax, dword [0x43af2c]
mov dword [ebp - 0x14], eax
push 0x43a728
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00424e27
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00424ecd
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00424dd7
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00424ce2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00424ce2
cmp dword [esi + 0x294], ebx
je 0x40287a
mov eax, dword [0x43af2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.0041f288
mov eax, dword [eax]
push str.__Y:_m:_d:_H:_M:_S_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041f29b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00424dd7
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00424ce2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00424ecd
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00424dd7
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00424ce2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00424ce2
cmp dword [esi + 0x28c], ebx
je 0x402914
cmp dword [ebp - 0x18], ebx
jne 0x402914
push ebx
push ebx
push 0xe
push dword [esi + 0x20c]
call edi
cmp eax, 1
jle 0x402914
push 1
push 0xd
lea ecx, [ebp - 0x14]
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 - 0x14]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00411560
pop ecx
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
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 - 0x14]
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 - 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00411560
pop ecx
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
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 - 0x2c]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x2c]
push eax
call fcn.00411560
pop ecx
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
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 - 0x34]
call fcn.0041f9f9
push 0x41e
mov ecx, esi
call fcn.00423a68
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 0xff0000
push ecx
mov ecx, eax
mov dword [ebp - 0x94], 0x40000000
mov dword [ebp - 0x90], ebx
call fcn.0041fa40
push edi
push edi
lea ecx, [esi + 0x1f0]
call fcn.0041f9f9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00424ce2
cmp dword [esi + 0x2c0], ebx
je 0x402a97
mov eax, dword [esi + 0x240]
push 0x3001
push eax
lea ecx, [ebp - 0x48]
call fcn.004251b2
mov eax, dword [ebp - 0x48]
push 2
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call dword [eax + 0x28]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
call fcn.00425401
cmp dword [esi + 0x294], ebx
jne 0x402a76
cmp dword [esi + 0x28c], ebx
je 0x402a83
push 0x43a710
lea ecx, [ebp - 0x48]
call fcn.00425401
lea ecx, [ebp - 0x48]
call fcn.004255be
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0042524b
cmp dword [esi + 0x2ac], ebx
je 0x402aae
mov eax, dword [esi + 0x7c]
cmp eax, dword [esi + 0x78]
jle 0x402aae
mov ecx, esi
call fcn.00406c4f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00424ce2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00424ce2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00424ce2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.0042524b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret