Function at 0x405e10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425b8d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x433180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4060d4
lea eax, [ebp - 0x48]
push eax
call fcn.004052c0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x4364d4
call fcn.0040de78
mov esi, dword [ebp - 0x38]
add esp, 4
mov ebx, dword [ebp - 0x48]
test esi, esi
je 0x405eb4
cmp dword [0x4364d0], 7
lea edi, [ebp - 0x48]
mov edx, 0x4364bc
cmova edx, dword [0x4364bc]
cmp dword [ebp - 0x34], 7
cmova edi, ebx
cmp esi, dword [0x4364cc]
jne 0x405efb
test esi, esi
je 0x405eb4
sub edi, edx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x405efb
add edx, 2
sub esi, 1
jne 0x405ea3
push 0x4364d4
call fcn.0040dea5
add esp, 4
mov eax, dword [ebp - 0x34]
cmp eax, 7
jbe 0x4060d4
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4060ca
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060f0
jmp 0x4060ca
push 0x4364d4
call fcn.0040dea5
add esp, 4
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x28]
push eax
call fcn.00407820
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004053b0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x48]
mov ebx, dword [ebp - 0x48]
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova edx, ebx
cmp dword [ebp - 0x14], 7
cmova edi, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x38]
jne 0x405f66
test esi, esi
je 0x405ff9
sub edi, edx
nop word [eax + eax]
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x405f66
add edx, 2
sub esi, 1
jne 0x405f50
jmp 0x405ff9
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
push 0
call esi
test eax, eax
je 0x405ff9
push 0
call esi
test eax, eax
je 0x405ff1
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x18]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405fe7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x405fe0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
inc eax
push ecx
push eax
push edx
call fcn.00413a24
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, dword [sym.imp.USER32.dll_CloseClipboard]
call esi
jmp 0x405ff7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [sym.imp.USER32.dll_CloseClipboard]
call esi
jmp 0x405ff7
mov esi, dword [sym.imp.USER32.dll_CloseClipboard]
call esi
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
push 0x4364d4
mov dword [ebp - 0x30], 0x4364d4
call fcn.0040de6a
add esp, 4
mov byte [ebp - 0x2c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov edi, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
mov eax, dword [0x4364d0]
cmp edi, eax
ja 0x40605f
cmp eax, 7
mov dword [0x4364cc], edi
lea eax, [edi + edi]
mov esi, 0x4364bc
cmova esi, dword [0x4364bc]
push eax
push ecx
push esi
call fcn.00410660
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40606e
push ecx
push dword [ebp - 0x2c]
mov ecx, 0x4364bc
push edi
call fcn.00408b50
push 0x4364d4
call fcn.0040de97
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 7
jbe 0x4060b1
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4060a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060f0
push ecx
push edx
call fcn.0040f21f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x405ec1
push ecx
push ebx
call fcn.0040f21f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ed91
mov esp, ebp
pop ebp
ret
call fcn.00413dbf
int3