Function at 0x456390
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557945
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5c3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ecx + 0xe404]
mov esi, dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x456576
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x456576
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4563e4
sub ecx, edx
mov dword [ebp - 0x18], 0
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push esi
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.0041e2f0
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0042ee70
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x29], 0
cmp eax, dword [ebp - 0x30]
je 0x45643a
mov byte [eax], 0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x45644a
lea ecx, [ebp - 0x29]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004519f0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
push eax
call fcn.005247b4
mov edi, dword [ebp - 0x34]
add esp, 4
mov esi, dword [ebp - 0x38]
mov ecx, edi
xor edx, edx
mov dword [ebp - 0x3c], eax
sub ecx, esi
je 0x456485
mov ecx, eax
nop dword [eax]
mov al, byte [esi + edx]
mov byte [ecx + edx], al
inc edx
mov edi, dword [ebp - 0x34]
mov eax, edi
mov esi, dword [ebp - 0x38]
sub eax, esi
cmp edx, eax
jb 0x456470
push 0
sub edi, esi
mov esi, dword [ebp - 0x3c]
push 0
lea eax, [edi + 1]
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x456501
lea ecx, [eax*2 + 1]
push ecx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x456501
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4564fa
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
push eax
push ecx
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
jle 0x4564fa
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x456546
mov edx, dword [ebp - 0x30]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x456527
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456599
push edx
push ecx
call fcn.005247a6
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x456576
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45656c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456599
push ecx
push edx
call fcn.005247a6
add esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00524763
mov esp, ebp
pop ebp
ret 4
call fcn.0052a4da
int3