Function at 0x41b100
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x164
push ebp
push edi
mov edi, ecx
push 0
push 0
push 0x1032
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
cmp ebp, 1
jge 0x41b135
xor eax, eax
pop edi
pop ebp
add esp, 0x164
ret 4
push esi
push ebx
push 0x80
call fcn.004985f0
add esp, 4
mov esi, eax
lea eax, [edi + 0xa4]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x1f
or ebx, 0xffffffff
mov dword [esp + 0x18], 1
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push 0x7f02
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
test ebp, ebp
jle 0x41b259
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi + 8]
push 2
push ebx
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov ecx, edi
push ebx
call fcn.004136f0
mov ebp, eax
mov eax, dword [ebp + 4]
test eax, eax
je 0x41b1c9
cmp eax, 1
jne 0x41b24a
test ebp, ebp
je 0x41b22e
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea ecx, [eax + 1]
cmp edx, ecx
mov dword [esp + 0x40], ecx
jne 0x41b222
lea edx, [eax*4 + 0x104]
push edx
call fcn.004985f0
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x3c], eax
mov edi, eax
mov eax, dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00498600
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
add esp, 4
add eax, 0x40
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov esi, ecx
mov eax, dword [esp + 0x28]
mov dword [esi + eax*4], ebp
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [ebp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x41b19b
mov eax, dword [esp + 0x28]
xor ebx, ebx
test eax, eax
je 0x41b3fd
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41b3fd
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [edi + 8]
push ebx
push ebx
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov edx, esi
dec esi
test edx, edx
je 0x41b2c5
mov ecx, dword [edi + 8]
lea eax, [esp + 0x48]
push eax
push esi
push 0x102b
push ecx
mov dword [esp + 0x68], 4
mov dword [esp + 0x64], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, esi
dec esi
test edx, edx
jne 0x41b299
mov eax, dword [esp + 0x14]
add eax, 0x14
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [esp + 0x28]
mov esi, eax
xor edi, edi
mov dword [esi], 0x14
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
add esi, 0x14
test ebx, ebx
jle 0x41b39e
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x178]
test eax, eax
je 0x41b34e
mov eax, 4
cmp edi, ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
jge 0x41b330
test edi, edi
jl 0x41b330
mov eax, dword [ebp]
jmp 0x41b332
xor eax, eax
mov edx, dword [eax + 0x50]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [eax + 8]
push edx
push 0x102b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, ebx
jge 0x41b35b
test edi, edi
jl 0x41b35b
mov eax, dword [ebp]
jmp 0x41b35d
xor eax, eax
mov edx, dword [eax + 0x5c]
mov eax, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.0043c6e0
add esp, 0xc
lea edx, [esp + 0x70]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc edi
add ebp, 4
cmp edi, ebx
lea esi, [esi + eax + 1]
jl 0x41b30b
mov ebp, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
mov byte [esi], 0
call edi
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0xf
call ebx
push 4
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, dword [esp + 0x178]
xor ecx, ecx
test ebp, ebp
setne cl
inc ecx
push esi
mov dword [eax], ecx
call edi
push esi
push str.Preferred_DropEffect
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
push eax
call ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [esp + 0x24]
mov ebx, 1
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push esi
call fcn.00498600
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x164
ret 4