Function at 0x10060250
Capabilities:
Open clipboard
Read clipboard data
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x100e7e80]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x10060288
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
mov edx, 0x100ef5f0
call fcn.100601f0
mov ecx, esi
test al, al
je 0x100602b5
push edi
mov edx, ebx
call fcn.1005d280
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
mov edx, 0x100ef608
call fcn.100601f0
mov ecx, esi
test al, al
je 0x100602de
mov edx, ebx
call fcn.1005e060
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
mov edx, 0x100ef620
call fcn.100601f0
test al, al
je 0x100603b5
cmp dword [esi + 0x14], 7
jbe 0x100602f8
mov esi, dword [esi]
push esi
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov esi, eax
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x10060454
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10060454
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1006039b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
test edi, edi
je 0x10060399
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10060399
lea ecx, [edi + 2]
push ecx
call fcn.10087f43
add esp, 4
mov dword [esp + 0xc], eax
mov word [eax + edi], 0
push edi
push dword [esp + 0x14]
push eax
call fcn.10089860
add esp, 0xc
test ebx, ebx
je 0x10060374
mov dword [ebx], edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0xc]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
xor edi, edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp dword [esi + 0x14], 7
mov dword [esp + 0x10], edi
jbe 0x100603c3
mov esi, dword [esi]
push 0x100d017c
lea eax, [esp + 0x14]
push esi
push eax
call fcn.100961e2
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x10060454
push 2
push 0
push eax
call fcn.10096966
add esp, 0xc
push dword [esp + 0x10]
call fcn.10096fc5
mov esi, eax
add esp, 4
test esi, esi
je 0x10060448
lea ecx, [esi + 2]
push ecx
call fcn.10087f43
add esp, 4
mov edi, eax
push 0
mov word [edi + esi], 0
push 0
push dword [esp + 0x18]
call fcn.10096966
add esp, 0xc
push dword [esp + 0x10]
push esi
push 1
push edi
call fcn.100971ce
add esp, 0x10
cmp eax, esi
jne 0x1006043d
test ebx, ebx
je 0x10060448
mov dword [ebx], eax
jmp 0x10060448
push edi
call fcn.10087f3e
add esp, 4
xor edi, edi
push dword [esp + 0x10]
call fcn.1009664d
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10087ecf
mov esp, ebp
pop ebp
ret