Function at 0x5e09f4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e0e08
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x43e670]
call fcn.00403b44
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x650]
cmp byte [eax + 0x1c], 0
je 0x5e0c2a
mov eax, dword [ebp - 4]
call fcn.004670e8
push eax
call sub.user32.dll_OpenClipboard
push 0x5e0e18
call sub.user32.dll_RegisterClipboardFormatA
mov ebx, eax
call sub.user32.dll_CloseClipboard
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.0043ed4c
test al, al
je 0x5e0c2a
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5e0c0e
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5e0aa7
call fcn.004044b0
jmp 0x5e0dea
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
test ebx, ebx
jne 0x5e0ad0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00403b74
call fcn.004044b0
jmp 0x5e0dea
mov dl, 1
mov eax, dword [0x41e480]
call fcn.00403b44
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x5e0bf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x20]
call fcn.0042337c
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.00423138
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041ee94
lea edx, [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005ddf30
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.00423138
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5b5100]
call fcn.00429670
mov esi, eax
mov edx, esi
mov eax, dword [ebp - 0x20]
call fcn.004234a8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x30]
add eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x34]
add eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
call fcn.004670e8
cmp eax, dword [esi + 0x44]
jne 0x5e0ba1
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x3161]
push eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x3159]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x174]
jmp 0x5e0bca
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x3161]
push eax
lea ecx, [ebp - 0x3c]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041ee94
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x174]
mov eax, dword [esi + 0x30]
imul dword [esi + 0x34]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.00403b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0bf7
mov eax, dword [ebp - 0x20]
call fcn.00403b74
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x650]
cmp byte [eax + 0xc], 0
je 0x5e0d45
mov eax, dword [ebp - 4]
call fcn.004670e8
push eax
call sub.user32.dll_OpenClipboard
push 0x5e0e30
call sub.user32.dll_RegisterClipboardFormatA
mov ebx, eax
call sub.user32.dll_CloseClipboard
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.0043ed4c
test al, al
je 0x5e0d45
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
push ebx
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5e0ccb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x1c], 0
je 0x5e0ca1
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
jmp 0x5e0ca6
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0cd2
cmp dword [ebp - 0x1c], 0
je 0x5e0cc2
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
mov dx, 1
mov eax, dword [ebp - 0x24]
call fcn.0043ed4c
test al, al
jne 0x5e0d62
mov eax, dword [ebp - 0x24]
call fcn.00403b74
jmp 0x5e0dea
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5e0de3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x1c], 0
je 0x5e0d96
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
jmp 0x5e0d9b
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5e0db6
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005e046c
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0dea
cmp dword [ebp - 0x1c], 0
je 0x5e0dd2
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00403b74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0e0f
lea eax, [ebp - 0x40]
call fcn.00404a88
lea eax, [ebp - 0x18]
call fcn.00404a88
ret