Function at 0x45d7c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4671ba
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x479008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], 0
xor edi, edi
xor esi, esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], esi
push 2
push 0xffffffffffffffff
mov dword [ebp - 4], esi
xor eax, eax
push 0x100c
push dword [ecx + 0xb4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], edx
test edx, edx
js 0x45d8e0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
cmp ebx, esi
jne 0x45d8a0
cmp esi, 0x7fffffff
jae 0x45dc15
mov eax, esi
mov ecx, SysReAllocString
sub ecx, esi
shr eax, 2
inc eax
mov edx, 4
cmp eax, ecx
cmovbe ecx, eax
add esi, ecx
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
add esp, 4
mov ebx, eax
cmp dword [ebp - 0x1c], 0
je 0x45d88c
mov ecx, dword [ebp - 0x28]
shl ecx, 2
push ecx
push edi
push ebx
call fcn.0041f8c0
add esp, 0xc
push edi
call fcn.0041bebc
mov edx, dword [ebp - 0x24]
mov edi, ebx
add esp, 4
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x20]
push 2
push edx
push 0x100c
lea ecx, [eax + 1]
mov dword [edi + eax*4], edx
mov eax, dword [ebp - 0x18]
mov ebx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ebx
push dword [eax + 0xb4]
mov dword [ebp - 0x58], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, eax
mov dword [ebp - 0x24], eax
mov eax, ebx
mov dword [ebp - 0x28], eax
test edx, edx
jns 0x45d834
push 8
call fcn.0041bfdb
mov ecx, eax
xor ebx, ebx
mov esi, 3
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x34], ebx
add esp, 4
mov dword [ebp - 0x30], esi
mov word [ecx], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], eax
jne 0x45d926
push eax
push eax
mov eax, dword [ebp - 0x18]
push 0x1004
push dword [eax + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x14], eax
jbe 0x45da1c
cmp eax, dword [ebp - 0x20]
jae 0x45d93e
mov edx, dword [edi + eax*4]
jmp 0x45d940
mov edx, eax
mov eax, dword [ebp - 0x18]
sub esi, ebx
mov eax, dword [eax + 0xbc]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
mov edx, dword [eax + 4]
cmp edx, esi
jbe 0x45d9d6
lea ecx, [ebx + edx]
mov eax, ecx
shr eax, 1
add eax, 0x10
add eax, ecx
and eax, 0xfffffff0
dec eax
cmp eax, ebx
jb 0x45d973
cmp eax, 0x3ffffffe
jbe 0x45d978
mov eax, 0x3ffffffe
cmp eax, ebx
jbe 0x45dc2a
mov ecx, eax
sub ecx, ebx
cmp ecx, edx
jb 0x45dc2a
xor ecx, ecx
lea edi, [eax - 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
lea ecx, [ebx*2 + 2]
mov esi, eax
push ecx
push dword [ebp - 0x38]
push esi
call fcn.0041f8c0
push dword [ebp - 0x38]
call fcn.0041bebc
mov ecx, esi
mov dword [ebp - 0x30], edi
mov esi, dword [ebp - 0x28]
add esp, 0x14
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x38], ecx
mov edx, dword [esi + 4]
jmp 0x45d9d9
mov esi, dword [ebp - 0x28]
lea eax, [edx*2 + 2]
push eax
push dword [esi]
lea ecx, [ecx + ebx*2]
push ecx
call fcn.0041f8c0
add ebx, dword [esi + 4]
lea ecx, [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x34], ebx
push 0x46e828
call fcn.004343f0
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x14]
jae 0x45da1c
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
jmp 0x45d934
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, eax
test ecx, ecx
setne al
mov byte [ebp - 0xd], al
test ecx, ecx
jne 0x45da41
test al, al
jmp 0x45dbea
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x45dbe6
lea eax, [ebx*2 + 2]
push eax
push 0x2002
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, eax
test esi, esi
je 0x45daa2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45da9f
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push eax
call fcn.0041f8c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x45daa2
push esi
call ebx
push 0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x44]
call fcn.00435cb0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
inc eax
push eax
push 0x2002
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45daff
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45dafc
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push eax
call fcn.0041f8c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x45daff
push esi
call ebx
mov byte [ebp - 4], 4
push 4
mov dword [ebp - 0x50], 0
call fcn.0041bfdb
add esp, 4
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x38]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 3
mov byte [eax], 0
lea eax, [ebp - 0xe]
push eax
push ecx
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x2c], 2
call fcn.004359c0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x3c]
jbe 0x45db68
inc eax
push eax
call fcn.0041bfdb
push dword [ebp - 0x44]
mov esi, eax
call fcn.0041bebc
mov eax, dword [ebp - 0x4c]
add esp, 8
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], eax
jmp 0x45db6b
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [ebp - 0x40], eax
mov al, byte [ecx]
lea esi, [esi + 1]
mov byte [esi - 1], al
lea ecx, [ecx + 1]
test al, al
jne 0x45db73
push edx
call fcn.0041bebc
mov eax, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
inc eax
push eax
push 0x2002
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45dbdb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45dbd8
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push eax
call fcn.0041f8c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x45dbdb
push esi
call ebx
push dword [ebp - 0x44]
call fcn.0041bebc
add esp, 4
cmp byte [ebp - 0xd], 0
je 0x45dbf2
call dword [sym.imp.USER32.dll_CloseClipboard]
push dword [ebp - 0x38]
call fcn.0041bebc
push edi
call fcn.0041bebc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x473048
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x7e5
push eax
call fcn.0041db1a
push 0x473048
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x13329ac
push eax
call fcn.0041db1a
int3