Function at 0x4ddbe8
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 - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ddfef
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x43a3e4]
call fcn.00403b98
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5e8]
cmp byte [eax + 0x1c], 0
je 0x4dde1e
mov eax, dword [ebp - 4]
call fcn.00468b48
push eax
call sub.user32.dll_OpenClipboard
push 0x4de000
call sub.user32.dll_RegisterClipboardFormatA
mov ebx, eax
call sub.user32.dll_CloseClipboard
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.0043aac0
test al, al
je 0x4dde1e
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4dde02
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4ddc9b
call fcn.00404440
jmp 0x4ddfd1
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
test ebx, ebx
jne 0x4ddcc4
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00403bc8
call fcn.00404440
jmp 0x4ddfd1
mov dl, 1
mov eax, dword [0x418e78]
call fcn.00403b98
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4ddde4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x20]
call fcn.0041dc94
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0041da50
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00419750
lea edx, [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004dbbbc
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.0041da50
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4c118c]
call fcn.0042400c
mov esi, eax
mov edx, esi
mov eax, dword [ebp - 0x20]
call fcn.0041ddc0
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.00468b48
cmp eax, dword [esi + 0x44]
jne 0x4ddd95
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1fb8]
push eax
mov eax, dword [ebp - 4]
lea edx, [eax + 0x1fb0]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x158]
jmp 0x4dddbe
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1fb8]
push eax
lea ecx, [ebp - 0x3c]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00419750
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x158]
mov eax, dword [esi + 0x30]
imul dword [esi + 0x34]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.00403bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dddeb
mov eax, dword [ebp - 0x20]
call fcn.00403bc8
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5e8]
cmp byte [eax + 0xc], 0
je 0x4ddf2c
mov eax, dword [ebp - 4]
call fcn.00468b48
push eax
call sub.user32.dll_OpenClipboard
push 0x4de018
call sub.user32.dll_RegisterClipboardFormatA
mov ebx, eax
call sub.user32.dll_CloseClipboard
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.0043aac0
test al, al
je 0x4ddf2c
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
push ebx
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4ddebf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x18], 0
je 0x4dde95
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
jmp 0x4dde9a
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddec6
cmp dword [ebp - 0x18], 0
je 0x4ddeb6
mov eax, dword [ebp - 0x18]
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.0043aac0
test al, al
jne 0x4ddf49
mov eax, dword [ebp - 0x24]
call fcn.00403bc8
jmp 0x4ddfd1
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4ddfca
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x18], 0
je 0x4ddf7d
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
jmp 0x4ddf82
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ddf9d
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004dd81c
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddfd1
cmp dword [ebp - 0x18], 0
je 0x4ddfb9
mov eax, dword [ebp - 0x18]
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.00403bc8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddff6
lea eax, [ebp - 0x40]
call fcn.00404a18
lea eax, [ebp - 0x1c]
call fcn.00404a18
ret