Function at 0x4e4870
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575e60
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5abc48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.0053f2c4
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x13414], 0
je 0x4e4ace
lea ecx, [ebp - 0x28]
call fcn.004154f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
push 0x50c
mov ecx, dword [ebp - 0x4c]
call fcn.00542213
lea ecx, [ebp - 0x28]
call fcn.00415630
add eax, 3
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00534acf
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
call fcn.00415630
add eax, 3
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00534acf
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea eax, [ebp - 0x28]
push eax
call fcn.00415510
mov dword [ebp - 0x50], eax
call fcn.00403ee0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
call fcn.00415b50
mov dword [ebp - 0x10], 0
jmp 0x4e4986
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x16c
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + eax + 0x12188]
jg 0x4e4a18
mov eax, dword [ebp + 8]
imul eax, eax, 0x16c
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + eax + 0x1212c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
call fcn.0052f0e0
push eax
call fcn.00556f56
add esp, 4
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00404130
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x4e4a13
mov edx, dword [ebp + 8]
imul edx, edx, 0x16c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + edx + 0x1212c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
add eax, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00413900
push 0x588b58
lea ecx, [ebp - 0x28]
call fcn.00413920
jmp 0x4e497d
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.00534ac4
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00534ac4
add esp, 4
mov ecx, dword [ebp - 0x4c]
call fcn.0045d9d0
test eax, eax
je 0x4e4abf
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x28]
call fcn.00415630
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.00413d40
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00556c50
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00415650
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x34]
mov byte [edx], 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x2c]
push ecx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0052ee60
mov edx, dword [ebp - 0x4c]
xor eax, eax
cmp dword [edx + 0x13414], 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4