Function at 0x6d17b946
Capabilities:
Read clipboard data

Disassembly:
push 0x14
mov eax, 0x6d1c2200
call fcn.6d1c0ca9
xor edi, edi
mov dword [ebp - 4], edi
call fcn.6d1acfff
call fcn.6d180d61
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
jne 0x6d17b98b
push str.system_clipboard_data_unavailable
push dword [ebp + 8]
call sub.java.dll__JNU_ThrowIOException_8
xor eax, eax
call fcn.6d1c0d4e
ret 0x10
mov dword [ebp - 0x18], edi
cmp esi, 3
jne 0x6d17b99c
cmp dword [ebp + 0x14], edi
je 0x6d17ba7e
cmp esi, 0xe
jne 0x6d17b9aa
cmp dword [ebp + 0x14], edi
je 0x6d17baed
cmp esi, 0x10
jne 0x6d17b9b8
cmp dword [ebp + 0x14], edi
je 0x6d17ba3b
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
call dword [sym.imp.kernel32.dll_GlobalSize]
mov ecx, SysReAllocString
mov edi, eax
cmp eax, ecx
jbe 0x6d17b9d3
mov edi, ecx
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x6d17b9e4
push str.invalid_global_memory_block_handle
jmp 0x6d17b979
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x2c0]
mov dword [ebp + 8], eax
test eax, eax
jne 0x6d17ba10
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x11], al
push 0x6d1e6500
lea eax, [ebp - 0x11]
push eax
call sub.MSVCR100.dll__CxxThrowException
test edi, edi
je 0x6d17bba1
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [esi]
push eax
push edi
push 0
push dword [ebp + 8]
push esi
call dword [ecx + 0x340]
push ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
jmp 0x6d17bba1
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
cmp eax, edi
jne 0x6d17ba50
push str.invalid_LCID
jmp 0x6d17b979
push dword [eax]
mov byte [ebp - 4], 3
push dword [ebp + 8]
call fcn.6d180d61
pop ecx
pop ecx
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.kernel32.dll_GlobalUnlock]
jmp 0x6d17bc33
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edi, dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
push 0
mov esi, eax
push 0
push dword [esi + 0xc]
call edi
push eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.6d180d61
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 0x18]
push dword [esi + 0xc]
call edi
push esi
push 0
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCR100.dll_free]
cmp dword [ebp - 0x18], 0
pop ecx
push dword [ebp - 0x1c]
jne 0x6d17bae0
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push str.failed_to_get_system_clipboard_data
jmp 0x6d17b979
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
jmp 0x6d17baf2
mov dword [ebp - 0x18], ebx
xor ebx, ebx
mov edi, dword [sym.imp.GDI32.dll_GetEnhMetaFileBits]
push ebx
push ebx
push dword [ebp - 0x18]
call edi
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x6d17bb10
push str.cannot_retrieve_metafile_bits
jmp 0x6d17b979
push dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2c0]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x6d17bb3f
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x12], al
push 0x6d1e6500
lea eax, [ebp - 0x12]
jmp 0x6d17ba0a
mov eax, dword [esi]
push ebx
push dword [ebp + 8]
push esi
call dword [eax + 0x378]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x6d17bb75
push dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x13], al
push 0x6d1e6500
lea eax, [ebp - 0x13]
jmp 0x6d17ba0a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
mov eax, dword [esi]
push ebx
push dword [ebp - 0x1c]
push dword [ebp + 8]
push esi
call dword [eax + 0x37c]
push ebx
push 0xd
push dword [ebp - 0x18]
call fcn.6d180d61
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 3
jne 0x6d17bbad
cmp dword [ebp + 0x14], 0
je 0x6d17bbc5
cmp dword [ebp + 0x10], 8
jne 0x6d17bbb9
cmp dword [ebp + 0x14], 0
je 0x6d17bbc5
cmp dword [ebp + 0x10], 0xe
jne 0x6d17bc33
cmp dword [ebp + 0x14], 0
jne 0x6d17bc33
cmp dword [ebp - 0x18], 0
jne 0x6d17bbe4
push 9
call dword [sym.imp.USER32.dll_GetClipboardData]
push 1
push 5
push eax
call fcn.6d180d61
add esp, 0xc
mov edi, eax
jmp 0x6d17bbe7
mov edi, dword [ebp - 0x18]
push dword [ebp + 8]
push edi
push esi
call fcn.6d183cf7
add esp, 0xc
push esi
mov ebx, eax
call fcn.6d180d61
test eax, eax
mov eax, dword [esi]
pop ecx
je 0x6d17bc22
push esi
call dword [eax + 0x40]
mov eax, dword [esi]
push esi
call dword [eax + 0x44]
push dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x5c]
jmp 0x6d17b981
push dword [ebp + 8]
push esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x5c]
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
jmp 0x6d17b983