Function at 0x41b626
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x558b20
call fcn.00514868
sub esp, 0x53c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push 0x1004
lea esi, [edi + 0x204]
mov dword [ebp - 0x18], edi
push dword [esi]
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5cba50
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], eax
call fcn.00490e4d
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x34], ebx
jle 0x41ba2e
push 2
push ebx
push 0x102c
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41ba21
push ebx
mov ecx, esi
call fcn.00418833
imul esi, eax, 0x38
add esi, dword [edi + 0x278]
mov ecx, esi
call fcn.00431fcc
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x58], edi
call fcn.00432012
mov ecx, esi
test al, al
je 0x41b7b3
mov eax, dword [esi + 4]
push 1
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x548]
push 0x400
push eax
call fcn.00431cca
mov ecx, dword [ebp - 0x2c]
mov al, cl
mov esi, ecx
and al, 1
and esi, 0xfffffffe
mov byte [ebp - 0xd], al
cmp ecx, 2
jl 0x41b75f
and dword [ebp - 0x54], 0
test esi, esi
jle 0x41b75f
mov ebx, dword [ebp - 0x54]
lea eax, [ebp - 0x548]
mov dword [ebp - 0x50], edi
sub edi, eax
lea ecx, [ebp - 0x548]
add ecx, ebx
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
lea eax, [ecx + edi]
or eax, 0x1000000
push eax
lea eax, [ebp - 0x70]
push 0x5d0690
push eax
call fcn.00490eb7
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0
push 1
call fcn.00401fa5
add ebx, 2
cmp ebx, esi
jl 0x41b700
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov al, byte [ebp - 0xd]
test al, al
je 0x41ba1b
movzx eax, byte [ebp + ecx - 0x549]
push eax
lea eax, [edi - 1]
add eax, ecx
push eax
lea eax, [ebp - 0x88]
push 0x5d06a0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
push 0
push 1
call fcn.00401fa5
jmp 0x41ba1b
xor eax, eax
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00431b6a
mov eax, dword [esi]
cmp eax, 9
ja case.default.0x41b7e0
movzx eax, byte [eax + 0x41babe]
jmp dword [eax*4 + 0x41baae]
movzx eax, byte [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0xa0]
push 0x5d06a0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
jmp 0x41b7a5
movzx eax, word [ebp - 0x20]
or edi, 0x1000000
push eax
push edi
lea eax, [ebp - 0xb8]
push 0x5d06b0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
jmp 0x41b7a5
mov eax, dword [ebp - 0x20]
mov esi, 0x1000000
shr eax, 0x10
push eax
mov eax, edi
or eax, esi
push eax
lea eax, [ebp - 0xd0]
push 0x5d06b0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
push 0
push 1
call fcn.00401fa5
movzx eax, word [ebp - 0x20]
push eax
lea eax, [edi + 2]
or eax, esi
push eax
lea eax, [ebp - 0xe8]
push 0x5d06b0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
jmp 0x41b7a5
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
push eax
mov eax, edi
or eax, 0x1000000
push eax
lea eax, [ebp - 0x100]
push 0x5d06b0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 0x13
or esi, 0xffffffff
push esi
push 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
push 0
push 1
call fcn.00401fa5
movzx eax, word [ebp - 0x1c]
push eax
lea eax, [edi + 2]
or eax, 0x1000000
push eax
lea eax, [ebp - 0x118]
push 0x5d06b0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4c]
push esi
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cx
push eax
lea eax, [edi + 4]
or eax, 0x1000000
push eax
lea eax, [ebp - 0x130]
push 0x5d06b0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x4c]
push esi
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
push 0
push 1
call fcn.00401fa5
movzx eax, word [ebp - 0x20]
push eax
lea eax, [edi + 6]
or eax, 0x1000000
push eax
lea eax, [ebp - 0x148]
push 0x5d06b0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x4c]
push esi
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
jmp 0x41b7a5
mov ecx, dword [0x65c678]
push 0x477
push 0x5d06bc
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x30], ebx
cmp ebx, dword [ebp - 0x34]
jl 0x41b677
cmp dword [ebp - 0x3c], 0
je 0x41ba88
push dword [ebp - 0x3c]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x38], 0x10
mov esi, eax
mov ecx, dword [ebp - 0x4c]
jae 0x41ba4d
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
dec eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0053b2f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10