Function at 0x5bae70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x717ee3
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x44], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov ebx, 1
push ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], ebx
call edi
test eax, eax
jne 0x5baeed
push 7
call edi
test eax, eax
je 0x5bb103
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5bb103
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x5bb0fd
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x789510
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00424600
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.00424600
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.005b95f0
add esp, 0xc
cmp dword [ebp - 0x2c], 8
jb 0x5baf5d
push dword [ebp - 0x40]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 5
jb 0x5baf86
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
mov esi, dword [ebp - 0x60]
xor eax, eax
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp esi, edi
je 0x5bb0c3
jmp 0x5bafb0
push esi
lea ecx, [ebp - 0x44]
call fcn.00428690
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0042a300
lea ecx, [ebp - 0x44]
call fcn.0042a1d0
lea ecx, [ebp - 0x44]
call fcn.004290e0
cmp eax, 2
jl 0x5bb02f
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x44]
call fcn.004299f0
push 0x7835d4
or ebx, 2
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x4c], ebx
call fcn.004291f0
test al, al
je 0x5bb02f
push 1
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x44]
call fcn.00429900
push 0x7835d4
or ebx, 4
mov dword [ebp - 4], 8
push eax
mov dword [ebp - 0x4c], ebx
call fcn.004291f0
mov byte [ebp - 0x45], 1
test al, al
jne 0x5bb033
mov byte [ebp - 0x45], 0
mov dword [ebp - 4], 7
test bl, 4
je 0x5bb04d
and ebx, 0xfffffffb
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x4c], ebx
call fcn.00428810
mov dword [ebp - 4], 6
test bl, 2
je 0x5bb067
and ebx, 0xfffffffd
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], ebx
call fcn.00428810
cmp byte [ebp - 0x45], 0
je 0x5bb0a0
lea ecx, [ebp - 0x44]
call fcn.004290e0
sub eax, 2
lea ecx, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x6c]
push eax
call fcn.004297e0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004289a0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 6
call fcn.00428810
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push eax
call fcn.0043f560
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00428810
add esi, 4
cmp esi, edi
jne 0x5bafb0
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp - 0x60]
mov byte [ebp - 4], 0
test esi, esi
je 0x5bb0fa
mov edi, dword [ebp - 0x5c]
cmp esi, edi
je 0x5bb0f1
mov edi, edi
mov ecx, esi
call fcn.00428810
add esi, 4
cmp esi, edi
jne 0x5bb0e0
mov esi, dword [ebp - 0x60]
push esi
call fcn.00428680
add esp, 4
mov esi, dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret