Function at 0x4dec80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x580ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0x1c]
push edi
push edi
push 0x442
push eax
call esi
test al, 2
je 0x4df0bb
mov ecx, dword [0x5e8e38]
mov dword [esp + 0x10], ecx
mov esi, 0x589978
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
lea edx, [esp + 0x50]
push 1
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x7c], 1
call fcn.004ddcd0
lea ecx, [esp + 0x18]
call fcn.0055962c
mov edx, dword [esp + 0x10]
push 0x5ed678
push edx
call fcn.00541319
add esp, 8
test eax, eax
je 0x4df0a8
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x58]
mov byte [esp + 0x6c], 2
cmp eax, edi
mov esi, eax
jne 0x4ded53
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
jmp 0x4ded76
shl eax, 2
push eax
call fcn.00558a23
add esp, 4
mov dword [esp + 0x2c], eax
push esi
push eax
call fcn.004e1030
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], method.CGopherLocator.virtual_0
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
cmp eax, edi
mov byte [esp + 0x6c], 3
mov esi, eax
jne 0x4deda3
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
jmp 0x4dedca
lea ecx, [eax*4]
push ecx
call fcn.00558a23
add esp, 4
mov dword [esp + 0x40], eax
push esi
push eax
call fcn.004e1030
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
xor ebp, ebp
xor esi, esi
cmp eax, edi
jle 0x4dee41
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, ebx
call fcn.004de130
cmp dword [esp + 0x18], edi
jne 0x4dee2a
cmp eax, edi
je 0x4dee2a
push 0x18
push edi
push eax
call fcn.0048ce70
mov edx, dword [esp + 0x40]
cmp eax, edi
mov dword [edx + esi*4], eax
je 0x4dee21
mov ecx, dword [esp + 0x2c]
push eax
lea ebx, [ecx + esi*4]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebx], eax
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
add ebp, dword [edx + esi*4]
jmp 0x4dee38
mov eax, dword [esp + 0x2c]
mov dword [eax + esi*4], edi
jmp 0x4dee38
mov ecx, dword [esp + 0x2c]
mov dword [ecx + esi*4], edi
mov edx, dword [esp + 0x40]
mov dword [edx + esi*4], edi
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jl 0x4dedd2
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx - 8]
mov dword [esp + 0x1c], ebx
lea edx, [ebx + eax*8]
mov eax, dword [esp + 0x14]
inc ebx
mov ecx, dword [eax + 0x1c]
lea esi, [edx + ebp + 9]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, edi
jne 0x4deed2
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], 0x5aac84
cmp eax, edi
je 0x4dee7f
push eax
call fcn.00558a4c
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 0x589978
cmp eax, edi
mov dword [esp + 0x28], esi
je 0x4dee99
push eax
call fcn.00558a4c
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], esi
cmp eax, edi
je 0x4deeae
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0055962c
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [esp + 0x24], eax
jne 0x4def5e
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], 0x5aac84
cmp eax, edi
je 0x4def0b
push eax
call fcn.00558a4c
add esp, 4
mov eax, dword [esp + 0x2c]
mov esi, 0x589978
cmp eax, edi
mov dword [esp + 0x28], esi
je 0x4def25
push eax
call fcn.00558a4c
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], esi
cmp eax, edi
je 0x4def3a
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0055962c
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [esp + 0x18], eax
mov dword [eax], ebx
call fcn.00558a23
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
push edi
call fcn.00559a5c
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + ebp - 1], al
mov ecx, ebx
mov ebx, dword [esp + 0x18]
mov eax, ecx
mov esi, ebp
lea edi, [ebx + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00558a4c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
mov ecx, eax
add esp, 4
lea ebp, [edx + 5]
mov dword [esp + 0x20], ecx
mov dword [ebx + ebp], eax
add ebp, 4
xor ebx, ebx
test ecx, ecx
jle 0x4df06d
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
add ebp, 4
mov edx, dword [eax + ebx*4]
mov dword [edi + ebp - 4], edx
mov eax, dword [esp + 0x2c]
add ebp, 4
mov edx, dword [eax + ebx*4]
mov dword [edi + ebp - 4], edx
mov eax, dword [esp + 0x2c]
cmp dword [eax + ebx*4], 0
jbe 0x4df064
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x4df064
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x2c]
mov esi, eax
add edi, ebp
mov ecx, dword [ecx + ebx*4]
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]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov edx, dword [eax + ebx*4]
add ebp, edx
mov edx, dword [ecx + ebx*4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + ebx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x20]
inc ebx
cmp ebx, ecx
jl 0x4defe6
mov esi, dword [esp + 0x24]
mov edx, dword [0x5edf40]
push esi
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.004e0ff0
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.00432d00
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0
call fcn.00432d00
jmp 0x4def3a
mov eax, dword [ebx + 0x1c]
push edi
push edi
push 0x301
push eax
call esi
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret