Function at 0x41cd00
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x436808
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
push 2
push 0xffffffffffffffff
mov eax, dword [ebx + 0x22c]
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x41d0a0
lea edi, [ebx + 0x228]
push eax
mov ecx, edi
call fcn.00407a90
mov esi, eax
test esi, esi
je 0x41d0a0
mov eax, dword [0x43e040]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
push ecx
push esi
mov ecx, edi
call fcn.004083e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, 0x43ebdc
test edx, edx
jne 0x41cd92
xor eax, eax
jmp 0x41cd99
push 0x43ebdc
call edi
push 0x43ebdc
push eax
lea ecx, [esp + 0x18]
call fcn.00404580
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x10]
push 0x43ebc8
push eax
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004154a0
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
push edx
push 0x43ebb4
push eax
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004154a0
mov edx, dword [esi]
lea eax, [esp + 0xc]
push edx
push 0x43eba4
push eax
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004154a0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push 0x43eb90
push eax
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004154a0
mov edx, dword [esi + 0x40]
lea eax, [esp + 0xc]
push edx
push 0x43eb7c
push eax
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004154a0
mov eax, dword [esi + 0x20]
cmp eax, 1
mov eax, 0x43e258
je 0x41ce88
mov eax, 0x43e250
push eax
lea edx, [esp + 0x10]
push 0x43eb68
push edx
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004154a0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x43eb40
push eax
call fcn.00403e30
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004154a0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
lea ecx, [esp + 0x14]
push 0x43eb18
push ecx
call fcn.00403e30
mov eax, dword [esp + 0x1c]
add esp, 0x10
lea ecx, [esp + 0x10]
mov edx, dword [eax - 8]
push eax
push edx
call fcn.004154a0
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push eax
push 0x43eafc
push ecx
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x10]
mov edx, dword [eax - 8]
push eax
push edx
call fcn.004154a0
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0xc]
push eax
push 0x43eaec
push ecx
call fcn.00403e30
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x10]
mov edx, dword [eax - 8]
push eax
push edx
call fcn.004154a0
mov eax, 0x43eaac
test eax, eax
je 0x41cf65
push 0x43eaac
call edi
push 0x43eaac
push eax
lea ecx, [esp + 0x18]
call fcn.004154a0
mov ecx, 0x43ebdc
test ecx, ecx
jne 0x41cf81
xor eax, eax
jmp 0x41cf88
push 0x43ebdc
call edi
push 0x43ebdc
push eax
lea ecx, [esp + 0x18]
call fcn.004154a0
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41d019
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
lea ecx, [eax + eax + 2]
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
inc ecx
cmp ecx, 0x7fffffff
ja 0x41d003
test ecx, ecx
mov esi, ecx
je 0x41d003
mov cx, word [edx]
test cx, cx
je 0x41cff7
mov word [eax], cx
add eax, 2
add edx, 2
dec esi
jne 0x41cfe1
jmp 0x41cffb
test esi, esi
jne 0x41cffe
sub eax, 2
mov word [eax], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x43e044]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41d04a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41d04a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042329e
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x43e044]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41d075
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41d075
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042329e
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x43e044]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41d0a0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41d0a0
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042329e
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc