Function at 0x4b8090
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7e91
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x64786c]
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 0x4b82da
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 0x4b82d4
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 0x4b82d4
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 0x4b82d4
cmp dword [ebp + 8], 1
jne 0x4b820a
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.00598286
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.00496850
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00596bea
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00415eb0
push eax
call fcn.00597ba0
add esp, 4
add eax, 2
push eax
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b81f6
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00415eb0
mov byte [eax], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004ef740
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00415eb0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00415eb0
add eax, 1
push eax
call fcn.00597e30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401c80
jmp 0x4b82ca
mov edx, dword [ebp - 0x18]
shr edx, 1
mov dword [ebp - 0x18], edx
je 0x4b82ca
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.004ba530
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004aaf00
push eax
lea ecx, [ebp - 0x30]
call fcn.00496850
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00415eb0
push eax
call fcn.00597ba0
add esp, 4
add eax, 2
push eax
call fcn.0041a000
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b82af
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00415eb0
mov byte [eax], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004ef740
sub eax, 1
push eax
lea ecx, [ebp - 0x30]
call fcn.00415eb0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00415eb0
add eax, 1
push eax
call fcn.00597e30
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00401c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00494df0
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