Function at 0x41dd00
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
mov eax, dword [0x5b1220]
sub esp, 0xd4
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov esi, ecx
je 0x41ddb9
mov eax, dword [0x5a16dc]
test eax, eax
jne 0x41ddb9
push 0x584618
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x1c]
cmp eax, ecx
jne 0x41ddb9
mov ecx, esi
call fcn.0048d560
push 0
push 0
push 0xffffffffffffffff
push ebp
push 0
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jle 0x41df5e
lea edi, [esi + esi + 0x14]
push edi
call fcn.00570098
mov ebx, eax
add esp, 4
xor eax, eax
test ebx, ebx
je 0x41dfdb
mov ecx, edi
mov edx, ecx
shr ecx, 2
push esi
mov edi, ebx
rep stosd dword es:[edi], eax
push ebx
push 0xffffffffffffffff
mov ecx, edx
and ecx, 3
push ebp
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xd
mov edi, 1
jmp 0x41ddc8
mov edi, 1
xor ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov ecx, dword [0x5b4314]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41df5e
mov eax, dword [esp + 0xe8]
xor esi, esi
cmp eax, edi
jne 0x41dee2
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x41de01
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [esp + 0x10], eax
je 0x41dee2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x41ded7
test ebx, ebx
push ebp
je 0x41de87
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push ebx
mov edi, eax
call esi
add edi, eax
lea edi, [edi + edi + 0x14]
push edi
call fcn.00570098
mov esi, eax
add esp, 4
test esi, esi
je 0x41ded7
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
call fcn.005700aa
add esp, 4
mov ebx, esi
xor esi, esi
jmp 0x41ded7
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
call esi
lea edi, [edi + eax + 0xa]
push edi
call fcn.00570098
mov esi, eax
add esp, 4
test esi, esi
je 0x41ded7
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41df3e
test ebx, ebx
je 0x41defd
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 0x14]
jmp 0x41df0d
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 0xa
push edi
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x41df3e
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
mov dword [esp + 0x10], edx
jne 0x41df6d
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
test ebx, ebx
je 0x41df51
push ebx
call fcn.005700aa
add esp, 4
test esi, esi
je 0x41df5e
push esi
call fcn.005700aa
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd4
ret 4
mov ecx, edi
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
je 0x41df93
mov eax, dword [esp + 0x10]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x41dfa3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x18]
push ebp
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test ebx, ebx
je 0x41dfc9
push ebx
call fcn.005700aa
add esp, 4
test esi, esi
je 0x41dfd6
push esi
call fcn.005700aa
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 4