Function at 0x4d52e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x5f0719
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x39c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.005d8819
mov ecx, dword [eax + 4]
call fcn.005c0d82
mov eax, dword [esi + 0xc8]
xor ebx, ebx
shr eax, 2
cmp eax, 2
mov dword [esp + 0x3b4], ebx
jge 0x4d53dc
mov ecx, dword [0x6707bc]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x80]
cmp edx, eax
mov byte [esp + 0x3b4], 1
je 0x4d53c7
lea eax, [esp + 0x10]
push ebx
push eax
mov ecx, esi
call fcn.004c4b80
test eax, eax
je 0x4d53c7
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d53c7
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
inc eax
push eax
push 0x42
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
cmp ebp, ebx
je 0x4d53c1
mov esi, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
push ebp
mov ecx, 0x6756e0
call fcn.00484090
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3b4], bl
call fcn.005bc421
jmp 0x4d597e
lea ecx, [esp + 0x40]
call fcn.00456540
lea ecx, [esp + 0x7c]
call fcn.0040ee50
lea ecx, [esp + 0xd4]
mov byte [esp + 0x3b4], 2
call fcn.005bae68
lea ecx, [esp + 0xe8]
mov byte [esp + 0x3b4], 3
call fcn.005bb2c6
lea ecx, [esp + 0xfc]
mov byte [esp + 0x3b4], 4
call fcn.0040fb10
lea ecx, [esp + 0x110]
mov byte [esp + 0x3b4], 5
call fcn.005bb2c6
lea ecx, [esp + 0x124]
mov byte [esp + 0x3b4], 6
call fcn.005bb2c6
lea ecx, [esp + 0x138]
mov byte [esp + 0x3b4], 7
call fcn.005bae68
lea ecx, [esp + 0x160]
mov byte [esp + 0x3b4], 8
call fcn.004918b0
mov eax, dword [0x6707bc]
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], eax
lea ecx, [esp + 0x188]
mov byte [esp + 0x3b4], 0xd
call fcn.005bb2c6
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x3b4], 0xe
call fcn.005bae68
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x3b4], 0xf
call fcn.005bae68
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x3b4], 0x10
call fcn.005bae68
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x3b4], 0x11
call fcn.0040fb10
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x3b4], 0x12
call fcn.0040f670
lea ecx, [esp + 0x208]
mov byte [esp + 0x3b4], 0x13
call fcn.005bae68
lea ecx, [esp + 0x21c]
mov byte [esp + 0x3b4], 0x14
call fcn.004918b0
lea ecx, [esp + 0x234]
mov byte [esp + 0x3b4], 0x15
call fcn.005bb2c6
mov byte [esp + 0x3b4], 0x16
push ebx
lea ecx, [esp + 0x24c]
call fcn.0040ea10
push ebx
lea ecx, [esp + 0x26c]
mov byte [esp + 0x3b8], 0x17
call fcn.0040ed60
push ebx
lea ecx, [esp + 0x288]
mov byte [esp + 0x3b8], 0x18
call fcn.0040ec70
push ebx
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x3b8], 0x19
call fcn.0040edc0
push ebx
lea ecx, [esp + 0x2c4]
mov byte [esp + 0x3b8], 0x1a
call fcn.0040ed90
push ebx
lea ecx, [esp + 0x2e0]
mov byte [esp + 0x3b8], 0x1b
call fcn.0040edf0
push ebx
lea ecx, [esp + 0x2fc]
mov byte [esp + 0x3b8], 0x1c
call fcn.0040eb30
push ebx
lea ecx, [esp + 0x318]
mov byte [esp + 0x3b8], 0x1d
call fcn.0040eb90
lea ecx, [esp + 0x334]
mov byte [esp + 0x3b4], 0x1e
call fcn.0040ee20
mov eax, dword [0x6707bc]
mov dword [esp + 0x37c], eax
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], eax
lea eax, [esp + 0x150]
mov byte [esp + 0x3b4], 0x23
push eax
mov dword [esp + 0x234], 0xffff
mov dword [esp + 0x37c], ebx
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x188], ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 5
push ebx
lea ecx, [esp + 0xdc]
mov dword [esp + 0x39c], ebx
mov dword [esp + 0x398], ebx
mov dword [esp + 0x3a0], ebx
mov dword [esp + 0x3a4], ebx
mov dword [esp + 0x3a8], ebx
mov dword [esp + 0x3b0], ebx
mov dword [esp + 0x3ac], ebx
call fcn.005baefb
push 5
push ebx
lea ecx, [esp + 0xf0]
call fcn.005bb4dc
push 5
push ebx
lea ecx, [esp + 0x118]
call fcn.005bb4dc
push 5
push ebx
lea ecx, [esp + 0x12c]
call fcn.005bb4dc
push 5
push ebx
lea ecx, [esp + 0x140]
call fcn.005baefb
lea eax, [esp + 0x40]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x40]
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x2e0], ecx
mov dword [esp + 0x330], edx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x40]
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a8], ecx
mov dword [esp + 0x2c4], edx
lea eax, [esp + 0x350]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x40]
push 0x28
push eax
mov dword [esp + 0x274], ecx
mov dword [esp + 0x26c], edx
call fcn.004927e0
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x3b4], 0x24
push ecx
mov ecx, esi
call fcn.00498df0
lea ecx, [esp + 0x40]
call fcn.00464050
mov edi, eax
cmp edi, ebx
je 0x4d596e
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d596e
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push edi
mov ecx, 0x6756e0
call fcn.00484090
xor edx, edx
push edi
mov dx, word [0x676294]
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea ecx, [esp + 0x18]
call fcn.004918b0
mov eax, dword [esi + 0xc8]
mov byte [esp + 0x3b4], 0x25
cmp eax, ebx
jne 0x4d57c7
xor edi, edi
jmp 0x4d57cd
mov edi, dword [esi + 0xc0]
mov eax, dword [esi + 0xc8]
shr eax, 3
cmp eax, ebx
jle 0x4d57f6
mov ebp, eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
lea eax, [esp + 0x18]
push ebx
push eax
push ecx
push edx
mov ecx, esi
call fcn.0049a140
add edi, 8
dec ebp
jne 0x4d57dc
cmp dword [esp + 0x28], ebx
je 0x4d594f
push ebx
lea ecx, [esp + 0x1c]
call fcn.00491bb0
lea ecx, [esp + 0x2c]
call fcn.004918b0
lea eax, [esp + 0x2c]
mov byte [esp + 0x3b4], 0x26
push eax
call fcn.004d48a0
mov ecx, dword [0x6707bc]
add esp, 4
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x10c]
mov edi, 1
shr esi, 2
cmp esi, edi
mov byte [esp + 0x3b4], 0x27
jle 0x4d589f
mov edx, dword [esp + 0xd8]
push ebx
push ebx
push ebx
mov eax, dword [edx + edi*4]
push ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
push eax
call fcn.005033a0
add esp, 0x1c
test eax, eax
je 0x4d589a
lea edx, [esp + 0x14]
push edx
call fcn.00502750
mov eax, dword [esp + 0x18]
mov ecx, dword [0x669860]
add esp, 4
push 0x65d268
push eax
push 0x660658
push ecx
lea ecx, [esp + 0x3c]
call fcn.00491ce0
inc edi
cmp edi, esi
jl 0x4d584d
cmp dword [esp + 0x3c], ebx
je 0x4d58cf
push 0x65d268
lea ecx, [esp + 0x30]
call fcn.00491c60
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
lea ecx, [esp + 0x1c]
and eax, esi
push eax
push ebx
call fcn.004920d0
mov edx, dword [esp + 0x28]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
cmp ebp, ebx
je 0x4d5925
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, eax
push ebp
neg esi
sbb esi, esi
mov edi, eax
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x10], edi
mov edi, eax
mov eax, dword [esp + 0x10]
push ebp
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b4], 0x26
call fcn.005bc421
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3b4], 0x25
mov dword [esp + 0x2c], 0x5f7940
call fcn.00491ab0
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b4], 0x24
mov dword [esp + 0x18], 0x5f7940
call fcn.00491ab0
lea ecx, [esp + 0x40]
mov byte [esp + 0x3b4], bl
call fcn.00401f70
mov dword [esp + 0x3b4], 0xffffffff
call fcn.005d8819
mov ecx, dword [eax + 4]
call fcn.005c0d97
mov ecx, dword [esp + 0x3ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a8
ret