Function at 0x403290
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a29d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
push ecx
mov dword [ebp - 0x18], edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40353b
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push 0x420be7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00401f20
xor ebx, ebx
mov dword [ebp - 4], 0
cmp dword [0x42553c], ebx
jbe 0x4034bd
xor edi, edi
mov dword [ebp - 0x10], edi
nop word [eax + eax]
mov ecx, dword [0x425a18]
mov eax, 0x2aaaaaab
mov esi, dword [0x425a14]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x403551
cmp dword [edi + esi + 0x14], 0x10
lea ecx, [edi + esi]
jb 0x403343
mov ecx, dword [ecx]
mov edi, ecx
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x403348
mov esi, dword [ebp - 0x28]
sub edi, edx
mov edx, dword [ebp - 0x2c]
mov eax, esi
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x403383
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
lea esi, [eax + edx]
push esi
call fcn.00407290
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x403393
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x14]
push edi
call fcn.004022a0
cmp dword [ebp - 0x18], 1
jne 0x40344e
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
cmp eax, 1
jb 0x4033c4
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov word [eax + ecx], 9
jmp 0x4033dc
push 1
push 0x421068
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x1c]
push 1
call fcn.004022a0
mov ecx, dword [0x425a24]
mov eax, 0x2aaaaaab
mov esi, dword [0x425a20]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x403551
mov edi, dword [ebp - 0x10]
cmp dword [edi + esi + 0x14], 0x10
lea ecx, [edi + esi]
jb 0x403412
mov ecx, dword [ecx]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x403417
mov eax, dword [ebp - 0x28]
sub esi, edx
mov edx, dword [ebp - 0x2c]
sub eax, edx
push esi
push ecx
cmp esi, eax
ja 0x403480
cmp dword [ebp - 0x28], 0x10
lea edi, [ebp - 0x3c]
lea eax, [edx + esi]
cmovae edi, dword [ebp - 0x3c]
add edi, edx
mov dword [ebp - 0x2c], eax
push edi
call fcn.00407290
add esp, 0xc
mov byte [edi + esi], 0
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
cmp eax, 2
jb 0x403492
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x2c], eax
mov edx, 0xa0d
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
jmp 0x4034aa
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x20]
push esi
call fcn.004022a0
jmp 0x403451
push 2
push 0x42106c
mov byte [ebp - 0x24], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x24]
push 2
call fcn.004022a0
inc ebx
add edi, 0x18
mov dword [ebp - 0x10], edi
cmp ebx, dword [0x42553c]
jb 0x403310
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x403505
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.00407290
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x40353b
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403531
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40354c
push edx
push ecx
call fcn.0040475e
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040bd7d
call fcn.00401f10
int3