Function at 0x48c208
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x674
mov eax, dword [0x42b238]
mov esi, dword [esp + 0x694]
mov dword [esp + 0x670], eax
xor eax, eax
push eax
push eax
push eax
push eax
push esi
push dword [esp + 0x6a0]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [esi + esi]
mov ebx, 0x2002
mov dword [esp], eax
push eax
push ebx
call ebp
mov esi, eax
mov dword [esp + 0x18], edi
push edi
push ebx
call ebp
test esi, esi
je 0x48c4d7
test eax, eax
je 0x48c4d7
mov dword [esp + 0x24], eax
push esi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x48c4fa
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x48c509
push dword [esp]
mov eax, dword [esp + 0x690]
mov ebx, eax
push ebx
mov dword [esp + 0x48], esi
push esi
call fcn.0049a1f0
add esp, 0xc
xor edi, edi
push edi
push edi
mov esi, dword [esp + 0x20]
push esi
push ebp
push dword [esp + 0x6a4]
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x8d
push dword [0x428eb4]
call fcn.0043194f
add esp, 8
test eax, eax
je 0x48cab7
push 0x75
push dword [0x428eb4]
call fcn.00431e49
add esp, 8
mov edi, eax
xor eax, eax
lea ecx, [esp + 0x470]
push eax
push ecx
push eax
call fcn.00495dfd
add esp, 0xc
push dword [edi]
call fcn.004a7f30
add esp, 4
add eax, 0x64
push 1
mov dword [esp + 0x2c], eax
push eax
call fcn.0043f807
add esp, 8
mov ecx, dword [edi + 8]
add ecx, ecx
push ecx
push dword [edi]
push str._rtf1_ansideff0_fonttbl_f0_fmodern__s__f0_fs_d
mov dword [esp + 0x10], eax
push eax
call fcn.00432778
add esp, 0x10
cmp dword [esp + 0x690], 0
mov edi, eax
mov dword [esp + 0x10], ebp
je 0x48c525
lea eax, [esp + 0x48]
push 0x418
push 0
push eax
call fcn.0049acf0
add esp, 0xc
cmp dword [esp + 0x694], 2
jl 0x48c421
mov eax, dword [esp + 0x694]
mov ecx, dword [0x428560]
mov edx, dword [esp + 0x690]
dec eax
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov esi, dword [edx]
mov ebp, esi
mov ebx, esi
mov edi, esi
shr ebx, 9
and ebp, 0x1ff
and ebx, 0x1ff
and edi, 0x100000
mov ecx, ebp
cmove ecx, ebx
test edi, edi
cmove ebx, ebp
cmp dword [esp], 0
je 0x48c3ea
mov edi, esi
and edi, 0x40000
je 0x48c3ea
cmp ebx, 7
ja 0x48c3da
add ebx, 8
jmp 0x48c3ea
cmp ebx, 0xff
mov eax, 0
seta al
add ebx, eax
test esi, 0x200000
je 0x48c40c
cmp ecx, 7
ja 0x48c3fc
add ecx, 8
jmp 0x48c40c
cmp ecx, 0xff
mov eax, 0
seta al
add ecx, eax
inc dword [esp + ebx*4 + 0x48]
inc dword [esp + ecx*4 + 0x48]
add edx, 4
dec dword [esp + 0xc]
jne 0x48c399
mov edx, dword [esp + 4]
xor eax, eax
xor ecx, ecx
cmp dword [esp + ecx*4 + 0x48], 0
je 0x48c435
inc eax
mov dword [esp + ecx*4 + 0x48], eax
inc ecx
cmp ecx, 0x106
jne 0x48c429
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, dword [esp + 0x28]
push 1
push eax
push edx
call fcn.0043f8db
add esp, 0xc
mov edi, eax
push edi
call fcn.004a7f30
add esp, 4
xor esi, esi
mov ebp, edi
mov byte [edi + eax + 0xc], 0
mov dword [edi + eax + 8], 0x3b206c62
mov dword [edi + eax + 4], 0x74726f6c
mov dword [edi + eax], 0x6f635c7b
push edi
call fcn.004a7f30
add esp, 4
mov edi, eax
cmp dword [esp + esi*4 + 0x48], 0
je 0x48c4c0
movzx eax, byte [esi + esi*2 + 0x4289a8]
movzx ecx, byte [esi + esi*2 + 0x4289a9]
movzx edx, byte [esi + esi*2 + 0x4289aa]
lea ebx, [ebp + edi]
push eax
push ecx
push edx
push str._red_dgreen_d_blue_d_
push ebx
call fcn.00432778
add esp, 0x14
add edi, eax
inc esi
cmp esi, 0x106
jne 0x48c48a
mov word [ebp + edi], 0x7d
inc edi
mov esi, dword [esp + 0x18]
jmp 0x48c529
test esi, esi
je 0x48c4e6
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
test eax, eax
je 0x48cb64
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x48cb64
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call esi
push dword [esp + 0x24]
jmp 0x48c51e
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call esi
push ebx
call esi
jmp 0x48cb64
mov ebp, dword [esp + 4]
cmp dword [esp + 0x694], 0
jle 0x48ca6e
test esi, esi
jle 0x48ca6e
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x10]
mov al, byte [eax + ebx]
test al, al
je 0x48ca6e
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ebp
mov ebp, esi
cmp word [ecx + edx*2], 0
je 0x48ca6a
lea ecx, [ebx + 1]
cmp ecx, ebp
jge 0x48c5a7
cmp al, 0xd
jne 0x48c5a7
mov esi, dword [esp + 0x10]
xor eax, eax
cmp byte [esi + ebx + 1], 0xa
sete al
cmovne ecx, ebx
add edx, eax
jmp 0x48c5a9
mov ecx, ebx
cmp dword [esp + 0x690], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], ecx
je 0x48c637
lea eax, [edi + 0x40]
mov dword [esp], edi
cmp dword [esp + 0x28], eax
jge 0x48c5e8
lea eax, [edi + 0x200]
push 1
mov dword [esp + 0x2c], eax
push eax
push dword [esp + 0xc]
call fcn.0043f8db
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [esp + 0x690]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov esi, edi
mov edx, edi
mov ebp, edi
shr esi, 9
and ecx, 0x1ff
and esi, 0x1ff
and edx, 0x100000
mov ebx, ecx
cmove ebx, esi
test edx, edx
cmove esi, ecx
mov ecx, dword [0x428560]
and ebp, 0x40000
test ecx, ecx
je 0x48c651
test ebp, ebp
je 0x48c651
cmp esi, 7
ja 0x48c644
add esi, 8
jmp 0x48c651
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
jmp 0x48c82e
xor edx, edx
cmp esi, 0xff
seta dl
add esi, edx
test edi, 0x200000
je 0x48c670
cmp ebx, 7
ja 0x48c663
add ebx, 8
jmp 0x48c670
xor edx, edx
cmp ebx, 0xff
seta dl
add ebx, edx
mov edx, dword [0x428458]
test edx, edx
cmove ebp, edx
test edi, 0x100000
jne 0x48c6c3
cmp ebx, 0xff
mov eax, ebx
mov edx, 0xffffffff
cmovg eax, edx
cmp esi, 0x100
cmovl edx, esi
mov dword [esp + 8], eax
jl 0x48c6c9
test ecx, ecx
je 0x48c6c9
cmp ebx, 0xff
mov edx, esi
mov eax, ebp
mov ecx, 0x40000
cmovg eax, ecx
test dl, 1
cmovne ebp, eax
xor esi, esi
dec esi
jmp 0x48c6cb
mov dword [esp + 8], ebx
jmp 0x48c6cb
mov esi, edx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp edx, esi
jne 0x48c6e1
mov dword [esp + 0x20], edx
jmp 0x48c717
mov ecx, dword [esp + 4]
test esi, esi
mov dword [esp + 0x20], esi
js 0x48c6f3
mov eax, dword [esp + esi*4 + 0x48]
jmp 0x48c6f5
xor eax, eax
mov esi, dword [esp]
lea ecx, [ecx + esi]
push eax
push str.cf_d
push ecx
call fcn.00432778
add esp, 0xc
add esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [esp], esi
mov edx, dword [esp + 8]
cmp ecx, edx
jne 0x48c723
mov ebx, ecx
jmp 0x48c755
test edx, edx
js 0x48c72d
mov eax, dword [esp + edx*4 + 0x48]
jmp 0x48c72f
xor eax, eax
mov ecx, dword [esp + 4]
mov esi, dword [esp]
lea ecx, [ecx + esi]
push eax
push str.highlight_d
push ecx
call fcn.00432778
add esp, 0xc
add esi, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 8]
mov dword [esp], esi
and edi, 0x80000
cmp eax, ebp
mov dword [esp + 8], ebx
jne 0x48c767
mov ebp, eax
jmp 0x48c7ab
xor ebx, ebx
xor eax, eax
test ebp, ebp
mov esi, dword [esp]
mov ecx, str._b0
mov edx, 0x41c080
sete al
cmovne ecx, edx
setne bl
mov edx, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
sub edx, ebx
lea eax, [eax + esi]
push edx
push ecx
push eax
call fcn.0049a1f0
add esp, 0xc
mov eax, dword [esp + 0x14]
lea esi, [esi + eax + 3]
mov dword [esp], esi
cmp dword [esp + 0x3c], edi
jne 0x48c7ce
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov ecx, dword [esp]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], ecx
jmp 0x48c822
test edi, edi
mov eax, str.ulnone
mov ecx, str.ul
mov esi, edi
mov ebx, ebp
mov ebp, dword [esp]
cmovne eax, ecx
mov ecx, dword [esp + 4]
shr esi, 0x11
xor esi, 4
lea edx, [esi + 4]
or edx, 1
lea ecx, [ecx + ebp]
push edx
push eax
push ecx
call fcn.0049a1f0
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
lea eax, [ebp + esi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
xor edi, edi
inc edi
movzx eax, byte [eax + ecx]
mov ebx, dword [esp + 0x40]
movzx eax, word [esp + eax*2 + 0x470]
cmp ax, word [ebx + edx*2]
jne 0x48c869
xor eax, eax
mov dword [esp + 8], 0
mov dword [esp], 0
mov byte [esp + 0x460], al
mov byte [esp + 0x44], al
mov eax, dword [esp + 0x18]
jmp 0x48c8e5
lea eax, [esp + edx*2 + 0x470]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push edi
push eax
push ecx
push ecx
mov ebp, edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, edi
mov edi, eax
movzx eax, word [ebx + ebp*2]
cmp edi, esi
jne 0x48c8b8
push eax
push str.u_d
lea eax, [esp + 0x468]
push eax
call fcn.00432778
add esp, 0xc
mov edi, esi
mov dword [esp + 8], eax
mov byte [esp + 0x44], 0
mov dword [esp], 0
jmp 0x48c8dd
push eax
push edi
push str.uc_du_d
lea eax, [esp + 0x46c]
push eax
call fcn.00432778
add esp, 0x10
mov dword [esp + 8], eax
mov word [esp + 0x44], 0x7d
mov dword [esp], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
lea edx, [edi + ecx]
cmp edx, eax
mov dword [esp + 0x20], edx
jle 0x48c90b
push 0x145a
push str..._windows_window.c
push str.tindex__multilen___len2
call fcn.004a509d
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esp]
mov edx, dword [esp + 8]
test edi, edi
lea esi, [eax + edx]
jle 0x48c963
mov eax, dword [esp + 0x10]
lea eax, [eax + ecx]
mov ecx, edi
mov dl, byte [eax]
cmp dl, 0x5b
jle 0x48c93f
cmp dl, 0x5c
je 0x48c938
cmp dl, 0x7d
je 0x48c938
cmp dl, 0x7b
jne 0x48c94e
mov ebp, 2
jmp 0x48c95d
mov ebp, 6
cmp dl, 0xa
je 0x48c95d
cmp dl, 0xd
je 0x48c95d
add dl, 0xe0
xor ebx, ebx
cmp dl, 0x5e
seta bl
lea ebp, [ebx + ebx*2 + 1]
add esi, ebp
inc eax
dec ecx
jne 0x48c922
mov ecx, dword [esp + 0x14]
lea eax, [esi + ecx + 3]
cmp dword [esp + 0x28], eax
jge 0x48c992
add esi, ecx
add esi, 0x200
push 1
push esi
push dword [esp + 0xc]
call fcn.0043f8db
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x28], esi
jmp 0x48c996
mov eax, dword [esp + 4]
mov ebp, eax
lea eax, [eax + ecx]
mov esi, ecx
lea ecx, [esp + 0x460]
push ecx
push eax
call fcn.004a7c00
add esp, 8
mov ebx, dword [esp + 8]
add ebx, esi
test edi, edi
jle 0x48ca32
mov esi, dword [esp + 0xc]
mov edx, ebp
add esi, dword [esp + 0x10]
mov al, byte [esi]
cmp al, 0x5b
jle 0x48c9e3
cmp al, 0x5c
je 0x48c9d4
cmp al, 0x7d
je 0x48c9d4
cmp al, 0x7b
jne 0x48ca03
mov byte [edx + ebx], 0x5c
mov al, byte [esi]
mov byte [edx + ebx + 1], al
add ebx, 2
jmp 0x48ca2c
cmp al, 0xa
je 0x48c9eb
cmp al, 0xd
jne 0x48ca03
mov byte [edx + ebx + 6], 0
mov word [edx + ebx + 4], 0xa0d
mov dword [edx + ebx], 0x7261705c
add ebx, 6
jmp 0x48ca2c
mov ecx, eax
add cl, 0xe0
cmp cl, 0x5f
jb 0x48ca28
movzx eax, al
lea ecx, [edx + ebx]
push eax
push str._02x
push ecx
call fcn.00432778
mov edx, ebp
add esp, 0xc
add ebx, eax
jmp 0x48ca2c
mov byte [edx + ebx], al
inc ebx
inc esi
dec edi
jne 0x48c9c2
jmp 0x48ca34
mov edx, ebp
lea ecx, [esp + 0x44]
lea eax, [edx + ebx]
push ecx
push eax
call fcn.004a7c00
add esp, 8
mov edx, dword [esp + 0x38]
mov edi, dword [esp]
inc edx
add edi, ebx
cmp edx, dword [esp + 0x694]
jge 0x48ca6e
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp ebx, esi
jl 0x48c563
jmp 0x48ca6e
mov ebp, dword [esp + 4]
mov word [ebp + edi], 0x7d
mov byte [ebp + edi + 2], 0
add edi, 3
mov esi, edi
push edi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x48caae
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48caae
push esi
push ebp
push eax
call fcn.0049a1f0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call fcn.0043f9d4
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x2c]
call esi
push dword [esp + 0x24]
call esi
cmp dword [esp + 0x698], 0
jne 0x48cae8
push 0
push 1
push 0x8002
push dword [0x428eac]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x428eac]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x48cb33
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push dword [esp + 0x2c]
push 0xd
call esi
push dword [esp + 0x24]
push 1
call esi
test edi, edi
je 0x48cb2b
push str.Rich_Text_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
push edi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x48cb45
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x2c]
call esi
push dword [esp + 0x24]
call esi
cmp dword [esp + 0x698], 0
jne 0x48cb64
xor eax, eax
push eax
push eax
push 0x8002
push dword [0x428eac]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x670]
call fcn.00497c4a
add esp, 0x674
pop esi
pop edi
pop ebx
pop ebp
ret