Function at 0x4d7f70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608d32
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x698b9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d81ba
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4d81b4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0xc]
jae 0x4d81b4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d81b4
cmp dword [ebp + 8], 1
jne 0x4d80ea
mov eax, dword [ebp - 0x18]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005c01e5
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x28]
call fcn.004b45c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.005bf806
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004158c0
push eax
call fcn.005c0140
add esp, 4
add eax, 2
push eax
call fcn.004199e0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d80d6
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004158c0
mov byte [eax], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00459250
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.004158c0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004158c0
add eax, 1
push eax
call fcn.005bfdd0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401cd0
jmp 0x4d81aa
mov edx, dword [ebp - 0x18]
shr edx, 1
mov dword [ebp - 0x18], edx
je 0x4d81aa
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x38]
call fcn.004db1e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004c97e0
push eax
lea ecx, [ebp - 0x30]
call fcn.004b45c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004158c0
push eax
call fcn.005c0140
add esp, 4
add eax, 2
push eax
call fcn.004199e0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d818f
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004158c0
mov byte [eax], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00459250
sub eax, 1
push eax
lea ecx, [ebp - 0x30]
call fcn.004158c0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004158c0
add eax, 1
push eax
call fcn.005bfdd0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00401cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004b2ca0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret