Function at 0x413460
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdac8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f5568]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp + 0xb], al
mov dword [ebp - 4], 0
test al, al
jne 0x4134b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x14]
mov dword [esi], 0
call fcn.004ad334
push dword [esi + 0x18]
call fcn.004ad334
push dword [esi + 0x1c]
call fcn.004ad334
push dword [esi + 0x20]
call fcn.004ad334
add esp, 0x10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push 0xd
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x4135ba
push 0xd
call ebx
mov edi, eax
test edi, edi
je 0x4135ba
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
test ebx, ebx
je 0x4135b4
test eax, eax
jle 0x4135b4
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x4135ad
push eax
call fcn.004aca50
add esp, 4
mov dword [esi + 0x14], eax
push 0
push 0
push dword [ebp - 0x10]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x4135a2
push eax
push dword [esi + 0x14]
mov dword [esi + 4], eax
push dword [esi]
call fcn.00489ca0
add esp, 0xc
mov dword [esi], eax
jmp 0x4135ad
push dword [esi + 0x14]
call fcn.004ad334
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
push dword [0x503bbc]
mov dword [esi + 8], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x41361c
push dword [0x503bbc]
call ebx
mov edi, eax
test edi, edi
je 0x41361c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x10], 0
mov ebx, eax
je 0x41361c
test ebx, ebx
jle 0x41361c
push ebx
call fcn.004aca50
push ebx
push dword [ebp - 0x10]
mov dword [esi + 0x18], eax
push eax
call fcn.004b6150
add esp, 0x10
mov dword [esi + 8], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x503bc0]
mov dword [esi + 0xc], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x41368a
push dword [0x503bc0]
call ebx
mov edi, eax
test edi, edi
je 0x41368a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x10], 0
mov ebx, eax
je 0x413684
test ebx, ebx
jle 0x413684
push ebx
call fcn.004aca50
push ebx
push dword [ebp - 0x10]
mov dword [esi + 0x1c], eax
push eax
call fcn.004b6150
add esp, 0x10
mov dword [esi + 0xc], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
push 0x11
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4136e4
push 0x11
call ebx
mov ebx, eax
test ebx, ebx
je 0x4136e4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x4136e4
test edi, edi
jle 0x4136e4
push edi
call fcn.004aca50
push edi
push dword [ebp - 0x10]
mov dword [esi + 0x20], eax
push eax
call fcn.004b6150
add esp, 0x10
mov dword [esi + 0x10], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 0x10]
add eax, dword [esi + 8]
add eax, dword [esi + 4]
add eax, dword [esi + 0xc]
test eax, eax
setg bl
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4