Function at 0x4483a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x670
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x66c], eax
mov eax, dword [esp + 0x67c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x684]
push edi
mov edi, dword [esp + 0x690]
push 0
push 0
push 0
push 0
push edi
push esi
push 0
push 0
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add edi, edi
push edi
mov ebx, eax
push 0x2002
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
mov ebp, eax
push 0x2002
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [esp + 0x3c], ebx
test ebp, ebp
je 0x448b5b
push ebp
test ebx, ebx
je 0x448b60
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x24], eax
test eax, eax
je 0x448b66
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x448b66
mov ecx, dword [esp + 0x24]
push edi
push esi
push ecx
call fcn.00456ba0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x69c]
add esp, 0xc
push 0
push 0
push edx
push ebx
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor edi, edi
cmp dword [0x489f08], edi
je 0x448ab1
push edi
lea ecx, [esp + 0x480]
push ecx
xor ebp, ebp
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], edi
call fcn.00454980
mov eax, 0x489ba8
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4484b7
sub eax, ecx
add eax, 0x64
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.0040c6e0
mov edx, dword [0x489bec]
lea ecx, [edx + edx]
push ecx
push 0x489ba8
push str._rtf1_ansideff0_fonttbl_f0_fmodern__s__f0_fs_d
push eax
mov dword [esp + 0x28], eax
call fcn.00456f05
add esp, 0x18
mov esi, eax
cmp dword [esp + 0x1c], edi
je 0x448660
push 0x418
lea edx, [esp + 0x58]
push 0
push edx
call fcn.00456570
mov edi, dword [esp + 0x69c]
dec edi
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x44859b
mov ebp, dword [0x485d94]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + esi*4]
mov eax, edx
shr eax, 9
mov ecx, edx
and ecx, 0x1ff
and eax, 0x1ff
test edx, 0x100000
je 0x44854b
mov edx, ecx
mov ecx, eax
mov eax, edx
test ebp, ebp
jne 0x44856b
test dword [ebx + esi*4], 0x40000
je 0x44856b
cmp ecx, 8
jge 0x448562
add ecx, 8
jmp 0x44856b
cmp ecx, 0x100
jl 0x44856b
inc ecx
test dword [ebx + esi*4], 0x200000
je 0x448586
cmp eax, 8
jge 0x44857e
add eax, 8
jmp 0x448586
cmp eax, 0x100
jl 0x448586
inc eax
inc dword [esp + ecx*4 + 0x54]
inc dword [esp + eax*4 + 0x54]
lea ecx, [esp + ecx*4 + 0x54]
lea eax, [esp + eax*4 + 0x54]
inc esi
cmp esi, edi
jl 0x448528
xor eax, eax
xor ecx, ecx
nop
cmp dword [esp + ecx*4 + 0x54], 0
je 0x4485ac
inc eax
mov dword [esp + ecx*4 + 0x54], eax
inc ecx
cmp ecx, 0x106
jl 0x4485a0
imul eax, eax, 0x19
add eax, dword [esp + 0x20]
push 1
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0040c790
mov esi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4485d3
mov ecx, dword [str.colortbl__]
mov dword [eax], ecx
mov edx, dword [0x47b8d0]
mov dword [eax + 4], edx
mov ecx, dword [0x47b8d4]
mov dword [eax + 8], ecx
mov dl, byte [0x47b8d8]
mov byte [eax + 0xc], dl
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x448601
mov ebx, dword [esp + 0x10]
sub esi, ecx
mov edi, 0x484f49
lea ebp, [esp + 0x54]
cmp dword [ebp], 0
je 0x44863e
movzx eax, byte [edi - 1]
movzx ecx, byte [edi]
movzx edx, byte [edi + 1]
push eax
push ecx
push edx
lea eax, [esi + ebx]
push str._red_dgreen_d_blue_d_
push eax
call fcn.00456f05
add esp, 0x14
add esi, eax
add edi, 3
add ebp, 4
cmp edi, 0x48525b
jl 0x448617
mov ebp, dword [esp + 0x18]
mov ecx, 0x7d
mov word [esi + ebx], cx
mov ebx, dword [esp + 0x38]
inc esi
mov edi, ebp
cmp dword [esp + 0x2c], 0
jle 0x448a66
jmp 0x44867c
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
cmp ebp, dword [esp + 0x690]
jge 0x448a66
mov cl, byte [edi + ebx]
test cl, cl
je 0x448a66
mov edx, dword [esp + 0x24]
cmp word [edx + ebp*2], 0
je 0x448a66
lea eax, [edi + 1]
cmp eax, dword [esp + 0x2c]
jge 0x4486c1
cmp cl, 0xd
jne 0x4486c1
cmp byte [edi + ebx + 1], 0xa
jne 0x4486c1
inc ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x1c], 0
je 0x448874
lea eax, [esi + 0x40]
cmp dword [esp + 0x20], eax
jge 0x4486f3
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x200]
push 1
push eax
push ecx
mov dword [esp + 0x2c], eax
call fcn.0040c790
add esp, 0xc
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + edx*4]
mov edi, ecx
shr edi, 9
mov eax, ecx
and eax, 0x1ff
and edi, 0x1ff
test ecx, 0x100000
je 0x44871e
mov ecx, eax
mov eax, edi
mov edi, ecx
mov ebp, dword [0x485d94]
test ebp, ebp
jne 0x448743
test dword [ebx + edx*4], 0x40000
je 0x448743
cmp eax, 8
jge 0x44873b
add eax, 8
jmp 0x448743
cmp eax, 0x100
jl 0x448743
inc eax
mov ecx, dword [ebx + edx*4]
test ecx, 0x200000
je 0x448761
cmp edi, 8
jge 0x448758
add edi, 8
jmp 0x448761
cmp edi, 0x100
jl 0x448761
inc edi
test ebp, ebp
je 0x44876f
and ecx, 0x40000
mov ebx, ecx
jmp 0x448771
xor ebx, ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ecx, dword [edx + ecx*4]
mov ebp, ecx
and ebp, 0x80000
test ecx, 0x100000
jne 0x4487b8
cmp edi, 0x100
jl 0x448797
or edi, 0xffffffff
cmp eax, 0x100
jl 0x4487b8
cmp dword [0x485d94], 0
jne 0x4487b5
test al, 1
je 0x4487b5
cmp edi, 0xffffffff
jne 0x4487b5
mov ebx, 0x40000
or eax, 0xffffffff
cmp dword [esp + 0x44], eax
je 0x4487e6
mov dword [esp + 0x44], eax
test eax, eax
jl 0x4487cc
mov eax, dword [esp + eax*4 + 0x54]
jmp 0x4487ce
xor eax, eax
mov edx, dword [esp + 0x10]
push eax
lea eax, [esi + edx]
push str.cf_d
push eax
call fcn.00456f05
add esp, 0xc
add esi, eax
cmp dword [esp + 0x48], edi
je 0x448814
mov dword [esp + 0x48], edi
test edi, edi
jl 0x4487fa
mov edi, dword [esp + edi*4 + 0x54]
jmp 0x4487fc
xor edi, edi
mov ecx, dword [esp + 0x10]
push edi
lea edx, [esi + ecx]
push str.highlight_d
push edx
call fcn.00456f05
add esp, 0xc
add esi, eax
cmp dword [esp + 0x40], ebx
je 0x448844
mov dword [esp + 0x40], ebx
mov eax, 0x47b898
test ebx, ebx
jne 0x44882c
mov eax, str._b0
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esi + eax]
push 0x46ef38
push ecx
call fcn.00456f05
add esp, 0xc
add esi, eax
cmp dword [esp + 0x4c], ebp
je 0x448874
mov dword [esp + 0x4c], ebp
mov eax, str.ul
test ebp, ebp
jne 0x44885c
mov eax, str.ulnone
mov edx, dword [esp + 0x10]
push eax
lea eax, [esi + edx]
push 0x46ef38
push eax
call fcn.00456f05
add esp, 0xc
add esi, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
movzx eax, byte [ecx + edx]
lea ebx, [ecx + edx]
mov cx, word [esp + eax*2 + 0x47c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], ebx
cmp cx, word [edx + eax*2]
jne 0x4488b3
xor ecx, ecx
mov ebp, 1
mov byte [esp + 0x46c], 0
xor edi, edi
jmp 0x44892e
mov edi, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 1
lea ecx, [esp + edi*2 + 0x490]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
cmp ebp, 1
je 0x44890c
mov edx, dword [esp + 0x24]
movzx eax, word [edx + edi*2]
push eax
push ebp
lea ecx, [esp + 0x474]
push str.uc_du_d
push ecx
call fcn.00456f05
mov edx, 0x7d
add esp, 0x10
mov edi, eax
mov ecx, 1
mov word [esp + 0x28], dx
jmp 0x448933
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + edi*2]
push ecx
lea edx, [esp + 0x470]
push str.u_d
push edx
call fcn.00456f05
add esp, 0xc
mov edi, eax
xor ecx, ecx
mov byte [esp + 0x28], 0
mov dword [esp + 0x30], ecx
add ecx, edi
xor edx, edx
test ebp, ebp
jle 0x448974
nop
mov al, byte [ebx + edx]
cmp al, 0x5c
je 0x44896c
cmp al, 0x7b
je 0x44896c
cmp al, 0x7d
je 0x44896c
cmp al, 0xd
je 0x448967
cmp al, 0xa
je 0x448967
cmp al, 0x7e
ja 0x448962
cmp al, 0x20
jb 0x448962
inc ecx
jmp 0x44896f
add ecx, 4
jmp 0x44896f
add ecx, 6
jmp 0x44896f
add ecx, 2
inc edx
cmp edx, ebp
jl 0x448940
lea eax, [ecx + esi + 3]
cmp dword [esp + 0x20], eax
jge 0x4489a1
lea ecx, [ecx + esi + 0x200]
push 1
push ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040c790
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
jmp 0x4489a5
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x46c]
mov edx, esi
mov ecx, eax
sub edx, ecx
add edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4489b4
add esi, edi
xor edi, edi
test ebp, ebp
jle 0x448a2d
mov ecx, dword [esp + 0x50]
mov al, byte [ecx + edi]
cmp al, 0x5c
je 0x448a1c
cmp al, 0x7b
je 0x448a1c
cmp al, 0x7d
je 0x448a1c
cmp al, 0xd
je 0x448a07
cmp al, 0xa
je 0x448a07
cmp al, 0x7e
ja 0x4489ee
cmp al, 0x20
jb 0x4489ee
mov byte [esi + ebx], al
jmp 0x448a27
movzx edx, al
push edx
lea eax, [esi + ebx]
push str._02x
push eax
call fcn.00456f05
add esp, 0xc
add esi, eax
jmp 0x448a28
lea ecx, [esi + ebx]
push str.par_r_n
push ecx
call fcn.00456f05
add esp, 8
add esi, eax
jmp 0x448a28
mov byte [esi + ebx], 0x5c
mov dl, byte [ecx + edi]
inc esi
mov byte [esi + ebx], dl
inc esi
inc edi
cmp edi, ebp
jl 0x4489c6
lea eax, [esp + 0x28]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + ebx]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x448a40
mov eax, dword [esp + 0x14]
add esi, dword [esp + 0x30]
inc dword [esp + 0x18]
add eax, ebp
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jl 0x448670
mov ebx, dword [esp + 0x10]
mov byte [esi + ebx], 0x7d
inc esi
mov byte [esi + ebx], 0
inc esi
mov byte [esi + ebx], 0
inc esi
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x448aa8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x448aa8
push esi
push ebx
push eax
call fcn.00456ba0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call fcn.0040c850
add esp, 4
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push eax
call esi
mov ecx, dword [esp + 0x3c]
push ecx
call esi
mov ebp, dword [esp + 0x694]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test ebp, ebp
jne 0x448ae8
mov edx, dword [0x48a960]
push 0
push 1
push 0x8002
push edx
call ebx
mov eax, dword [0x48a960]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x448b31
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x34]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push ecx
push 0xd
call esi
mov edx, dword [esp + 0x3c]
push edx
push 1
call esi
test edi, edi
je 0x448b29
push edi
push str.Rich_Text_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
push eax
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x448b45
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
call esi
mov ecx, dword [esp + 0x3c]
push ecx
call esi
test ebp, ebp
jne 0x448b66
mov edx, dword [0x48a960]
push ebp
push ebp
push 0x8002
push edx
call ebx
jmp 0x448b66
test ebx, ebx
je 0x448b66
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00456f82
add esp, 0x670
ret