Function at 0x45b020
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
push dword [ebp + 8]
call fcn.0045ade0
pop ecx
cmp al, 0
jne 0x45b04c
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
push dword [ebp + 8]
call fcn.0045ae10
pop ecx
cmp dword [ebp + 0x10], 1
jne 0x45b207
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45b070
mov edx, dword [ebp - 8]
inc dword [edx]
call fcn.0056d3b0
cmp al, 0
je 0x45b15f
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.0058a430
cmp dword [ebp - 0xc], 0
je 0x45b0bc
mov edx, dword [ebp - 0xc]
mov ebx, dword [0x63df38]
mov edx, dword [edx + 0x10]
cmp ebx, edx
jne 0x45b0b2
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
cmp edx, 0x80000000
sbb edx, 0xffffffff
sar edx, 1
jmp 0x45b0c1
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
shr edx, 1
jmp 0x45b0c1
mov edx, 0
mov edx, edx
add edx, 1
lea edx, [edx + edx]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0xc], 0
je 0x45b10b
mov edx, dword [ebp - 0xc]
mov ebx, dword [0x63df38]
mov edx, dword [edx + 0x10]
cmp ebx, edx
jne 0x45b101
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
cmp edx, 0x80000000
sbb edx, 0xffffffff
sar edx, 1
jmp 0x45b110
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
shr edx, 1
jmp 0x45b110
mov edx, 0
mov edx, edx
add edx, 1
lea edx, [edx + edx]
push edx
lea ecx, [ebp - 0xc]
call fcn.0058a750
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0040e030
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [ebp - 0xc], 0
je 0x45b1f7
mov ecx, dword [ebp - 0xc]
call fcn.00589d70
jmp 0x45b1f7
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x45b170
mov edx, dword [ebp - 0x14]
inc dword [edx]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00489010
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
je 0x45b18d
mov ecx, dword [ebp - 0x14]
call fcn.00589d70
cmp dword [ebp - 0x10], 0
je 0x45b19b
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
jmp 0x45b1a0
mov eax, 0
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
lea ecx, [ebp - 0x10]
call fcn.0058a690
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0040e030
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [ebp - 0x10], 0
je 0x45b1f7
mov ecx, dword [ebp - 0x10]
call fcn.00589d70
cmp dword [ebp - 8], 0
je 0x45b258
mov ecx, dword [ebp - 8]
call fcn.00589d70
jmp 0x45b258
mov ecx, dword [ebp + 0xc]
call fcn.00589dd0
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00589e00
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0040e030
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetClipboardData]
lea esp, [ebp - 4]
pop ebx
pop ebp
ret