Function at 0x4d5aa0
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x612918
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67f864]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
fld qword [ebp + 0x120]
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x1c], 0
call fcn.00602bb0
call fcn.005d9ed0
fld qword [ebp + 0x120]
mov ebx, eax
fstp qword [esp]
mov dword [esp + 0x20], ebx
call fcn.005ce830
call fcn.005d9ed0
fld qword [ebp + 0x128]
fstp qword [esp]
mov dword [esp + 0x28], eax
call fcn.00602bb0
call fcn.005d9ed0
fld qword [ebp + 0x128]
mov edi, eax
fstp qword [esp]
mov dword [esp + 0x24], edi
call fcn.005ce830
add esp, 8
call fcn.005d9ed0
mov dword [esp + 0x24], eax
lea esi, [ebp + 0x138]
mov dword [esp + 0x3c], 3
fld qword [esi - 8]
sub esp, 8
fstp qword [esp]
call fcn.00602bb0
add esp, 8
call fcn.005d9ed0
cmp eax, ebx
jge 0x4d5b63
mov ebx, eax
fld qword [esi - 8]
sub esp, 8
fstp qword [esp]
call fcn.005ce830
add esp, 8
call fcn.005d9ed0
cmp eax, dword [esp + 0x20]
jle 0x4d5b99
fld qword [esi - 8]
sub esp, 8
fstp qword [esp]
call fcn.005ce830
add esp, 8
call fcn.005d9ed0
mov dword [esp + 0x20], eax
fld qword [esi]
sub esp, 8
fstp qword [esp]
call fcn.00602bb0
add esp, 8
call fcn.005d9ed0
cmp eax, edi
jge 0x4d5bb4
mov edi, eax
fld qword [esi]
sub esp, 8
fstp qword [esp]
call fcn.005ce830
add esp, 8
call fcn.005d9ed0
cmp eax, dword [esp + 0x24]
jle 0x4d5be8
fld qword [esi]
sub esp, 8
fstp qword [esp]
call fcn.005ce830
add esp, 8
call fcn.005d9ed0
mov dword [esp + 0x24], eax
add esi, 0x10
sub dword [esp + 0x3c], 1
jne 0x4d5b47
mov eax, dword [ebp + 0x1a0]
mov ecx, dword [0x69190c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
je 0x4d5c2d
add eax, 0xffffffff
cmp eax, esi
jl 0x4d5c2d
cmp eax, dword [ecx + 0xc]
jge 0x4d5c2d
mov ecx, dword [ecx + 0x14]
shl eax, 4
add eax, ecx
cmp dword [eax + 8], esi
je 0x4d5c2d
mov eax, dword [eax]
jmp 0x4d5c2f
xor eax, eax
mov eax, dword [eax]
mov dword [esp + 0x3c], esi
lea edx, [ebp + 0xf0]
push edx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], esi
call fcn.004fb020
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x3c], edi
je 0x4d5d0e
push 0xffffff
call fcn.004fb6c0
mov esi, eax
xor edx, edx
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.004fb9e0
test esi, esi
mov ebx, eax
je 0x4d5c83
push esi
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
test ebx, ebx
je 0x4d5c94
mov eax, dword [0x6923a8]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebp, dword [ebp + 0x10]
lea ecx, [ebp + ebp*2]
mov eax, dword [ecx*8 + 0x62e398]
cmp eax, 0x5b
je 0x4d5d0e
cmp eax, 0x62
movzx edx, ax
mov dword [esp + 0x3c], edx
jne 0x4d5cf1
mov ebx, dword [0x6923b0]
push 3
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4d5d0e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4d5d0e
mov cx, word [esp + 0x3c]
mov word [eax], cx
push esi
mov byte [eax + 2], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x4d5d0e
cmp eax, 0x4e
jne 0x4d5d0e
mov eax, dword [0x6923ac]
lea edx, [esp + 0x3c]
push edx
push eax
mov ebx, 2
call fcn.004d51b0
add esp, 8
xor ebx, ebx
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x34], 0xffffffff
setne bl
test edi, edi
je 0x4d5d58
mov esi, dword [edi]
test esi, esi
je 0x4d5d4f
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4d5d38
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4d5d46
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call fcn.0056bafc
add esp, 4
push edi
call fcn.0056bafc
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret