Function at 0x1006da80
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 [0x100fbe80]
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 0x1006dab8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10092561
mov esp, ebp
pop ebp
ret
mov edx, 0x101036b8
call fcn.1006da20
mov ecx, esi
test al, al
je 0x1006dae5
push edi
mov edx, ebx
call fcn.1006aac0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10092561
mov esp, ebp
pop ebp
ret
mov edx, 0x101036d0
call fcn.1006da20
mov ecx, esi
test al, al
je 0x1006db0e
mov edx, ebx
call fcn.1006b8d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10092561
mov esp, ebp
pop ebp
ret
mov edx, 0x101036e8
call fcn.1006da20
test al, al
je 0x1006dbe5
cmp dword [esi + 0x14], 8
jb 0x1006db28
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 0x1006dc84
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1006dc84
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1006dbcb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
test edi, edi
je 0x1006dbc9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1006dbc9
lea ecx, [edi + 2]
push ecx
call fcn.100925a0
add esp, 4
mov dword [esp + 0xc], eax
mov word [eax + edi], 0
push edi
push dword [esp + 0x14]
push eax
call fcn.10093e90
add esp, 0xc
test ebx, ebx
je 0x1006dba4
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.10092561
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.10092561
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp dword [esi + 0x14], 8
mov dword [esp + 0x10], edi
jb 0x1006dbf3
mov esi, dword [esi]
push 0x100e5cd4
lea eax, [esp + 0x14]
push esi
push eax
call fcn.1009e8c9
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x1006dc84
push 2
push 0
push eax
call fcn.1009ef49
add esp, 0xc
push dword [esp + 0x10]
call fcn.1009f55c
mov esi, eax
add esp, 4
test esi, esi
je 0x1006dc78
lea ecx, [esi + 2]
push ecx
call fcn.100925a0
add esp, 4
mov edi, eax
push 0
mov word [edi + esi], 0
push 0
push dword [esp + 0x18]
call fcn.1009ef49
add esp, 0xc
push dword [esp + 0x10]
push esi
push 1
push edi
call fcn.1009f74d
add esp, 0x10
cmp eax, esi
jne 0x1006dc6d
test ebx, ebx
je 0x1006dc78
mov dword [ebx], eax
jmp 0x1006dc78
push edi
call fcn.10092762
add esp, 4
xor edi, edi
push dword [esp + 0x10]
call fcn.1009ec09
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10092561
mov esp, ebp
pop ebp
ret