Function at 0x6a3798
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a3a6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dx, word [0x6a3a7c]
mov eax, dword [ebp - 4]
call fcn.006a1bc4
test al, al
je 0x6a3a52
call fcn.0069c0f8
test al, al
je 0x6a3a52
xor eax, eax
push ebp
push 0x6a3a4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x776c34]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x6a385b
mov eax, dword [0x776c34]
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x6a3a38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24], 0
je 0x6a3831
lea edx, [ebp - 0x10]
mov eax, 0x6a004c
call fcn.0040627c
mov edx, dword [ebp - 0x10]
mov cl, 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x50]
push esi
call sub.kernel32.dll_GlobalLock
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
xor ecx, ecx
mov edx, edi
call fcn.006934d4
push esi
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.006a0a88
jmp 0x6a3a38
mov eax, 0x6a3a88
call fcn.0069bea8
test eax, eax
jbe 0x6a391d
mov eax, 0x6a3a88
call fcn.0069bea8
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x6a3a38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24], 0
je 0x6a38aa
lea edx, [ebp - 0x14]
mov eax, 0x6a004c
call fcn.0040627c
mov edx, dword [ebp - 0x14]
mov cl, 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
mov dl, 1
mov eax, dword [0x6372fc]
call fcn.00637c04
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6a3909
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.kernel32.dll_GlobalLock
mov edi, eax
push 8
push esi
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 0xc]
mov bx, 0xffea
call fcn.0040336c
push esi
call sub.kernel32.dll_GlobalUnlock
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a3910
mov eax, dword [ebp - 0xc]
call fcn.00403170
ret
push 8
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x6a397a
push 8
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x6a3a38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24], 0
je 0x6a395c
lea edx, [ebp - 0x18]
mov eax, 0x6a004c
call fcn.0040627c
mov edx, dword [ebp - 0x18]
mov cl, 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x50]
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50]
xor ecx, ecx
mov eax, esi
call fcn.006a8df4
mov eax, dword [ebp - 4]
call fcn.006a0a88
jmp 0x6a3a38
push 0xe
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x6a3a38
push 0xe
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x6a3a38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24], 0
je 0x6a39bd
lea edx, [ebp - 0x1c]
mov eax, 0x6a004c
call fcn.0040627c
mov edx, dword [ebp - 0x1c]
mov cl, 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
mov dl, 1
mov eax, dword [0x6372fc]
call fcn.00637c04
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41af98]
call fcn.0041fc70
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6a3a29
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0042034c
push 0xffffffffffffffff
push 1
or ecx, 0xffffffff
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00641680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a3a30
mov eax, dword [ebp - 8]
call fcn.00403170
mov eax, dword [ebp - 0xc]
call fcn.00403170
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a3a52
call sub.user32.dll_CloseClipboard
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a3a74
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403f1c
ret