Function at 0x405e90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425b7d
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 0x40614c
lea eax, [ebp - 0x48]
push eax
call fcn.004052d0
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
je 0x405ee7
call edi
push 0x4364b8
call fcn.0040deb6
mov esi, dword [ebp - 0x38]
add esp, 4
test esi, esi
je 0x405f38
cmp dword [0x4364b4], 7
lea edx, [ebp - 0x48]
mov ebx, 0x4364a0
cmova ebx, dword [0x4364a0]
cmp dword [ebp - 0x34], 7
cmova edx, dword [ebp - 0x48]
cmp esi, dword [0x4364b0]
jne 0x405f82
test esi, esi
je 0x405f38
sub ebx, edx
mov cx, word [edx]
cmp cx, word [edx + ebx]
jne 0x405f82
add edx, 2
sub esi, 1
jne 0x405f27
push 0x4364b8
call fcn.0040ded2
add esp, 4
mov eax, dword [ebp - 0x34]
cmp eax, 7
jbe 0x40614c
mov edx, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406142
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406168
jmp 0x406142
push 0x4364b8
call fcn.0040ded2
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.004053c0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x48]
mov esi, dword [ebp - 0x18]
lea ebx, [ebp - 0x28]
cmova edx, dword [ebp - 0x48]
cmp dword [ebp - 0x14], 7
cmova ebx, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x38]
jne 0x405fe6
test esi, esi
je 0x406071
sub ebx, edx
nop
mov cx, word [edx + ebx]
cmp cx, word [edx]
jne 0x405fe6
add edx, 2
sub esi, 1
jne 0x405fd0
jmp 0x406071
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
push 0
call esi
test eax, eax
je 0x406071
push 0
call esi
test eax, eax
je 0x40606b
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
jne 0x406025
test edi, edi
jne 0x406069
jmp 0x406071
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x40605e
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.00413a54
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x406065
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test edi, edi
je 0x406071
call edi
test edi, edi
je 0x406071
call edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
push 0x4364b8
mov dword [ebp - 0x30], 0x4364b8
call fcn.0040dea8
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 [0x4364b4]
cmp edi, eax
ja 0x4060d7
cmp eax, 7
mov dword [0x4364b0], edi
lea eax, [edi + edi]
mov esi, 0x4364a0
cmova esi, dword [0x4364a0]
push eax
push ecx
push esi
call fcn.00410830
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x4060e6
push ecx
push dword [ebp - 0x2c]
mov ecx, 0x4364a0
push edi
call fcn.00408b60
push 0x4364b8
call fcn.0040dec4
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 7
jbe 0x406129
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40611f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406168
push ecx
push edx
call fcn.0040f24c
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x405f45
push ecx
push edx
call fcn.0040f24c
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.0040edbe
mov esp, ebp
pop ebp
ret
call fcn.00413def
int3