Function at 0x4369a9
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push esi
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x14], eax
lea eax, [esi + esi]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov edi, 0x2002
push edi
call esi
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push edi
call esi
cmp dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, eax
mov dword [ebp - 0x30], edi
je 0x436dc8
cmp edi, ebx
push dword [ebp - 0x1c]
je 0x436dc6
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
call esi
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x436dcf
push edi
call esi
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x436dcf
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
call fcn.00440070
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor edi, edi
cmp dword [0x468014], ebx
je 0x436d2e
push ebx
lea eax, [ebp - 0x250]
push eax
push ebx
mov dword [ebp - 0x24], ebx
call fcn.0043e2c2
mov esi, 0x467cb8
push esi
call fcn.0043fd50
add eax, 0x64
push 1
push eax
mov dword [ebp - 0x34], eax
call fcn.004091c4
add esp, 0x18
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push str._rtf1_ansi_d_fonttbl_f0_fmodern__s__f0
push dword [ebp - 4]
call fcn.0043ffad
push dword [ebp - 4]
call fcn.0043fd50
add esp, 0x14
cmp dword [ebp - 0x14], ebx
mov esi, eax
jle 0x436ce1
lea eax, [ebp - 0x250]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0x10]
jge 0x436ce1
mov ecx, dword [ebp - 0x38]
mov dl, byte [edi + ecx]
cmp dl, bl
mov byte [ebp - 5], dl
je 0x436ce1
mov edx, dword [ebp - 0x2c]
cmp word [edx + eax*2], bx
je 0x436ce1
lea edx, [edi + 1]
cmp edx, dword [ebp - 0x14]
jge 0x436b0c
cmp byte [ebp - 5], 0xd
jne 0x436b0c
cmp byte [edi + ecx + 1], 0xa
jne 0x436b0c
inc edi
inc eax
add dword [ebp - 0x20], 2
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x2c]
add ecx, edi
mov dword [ebp - 0x3c], ecx
movzx ecx, byte [ecx]
mov cx, word [ebp + ecx*2 - 0x250]
lea eax, [edx + eax*2]
cmp cx, word [eax]
mov dword [ebp - 0xc], eax
jne 0x436b39
mov dword [ebp - 0x18], 1
mov byte [ebp - 0x50], bl
mov dword [ebp - 0x10], ebx
jmp 0x436ba0
push ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp - 0x20]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 1
mov dword [ebp - 0x18], eax
je 0x436b85
mov ecx, dword [ebp - 0xc]
movzx ecx, word [ecx]
push ecx
push eax
lea eax, [ebp - 0x50]
push str.uc_du_d
push eax
call fcn.0043ffad
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push 0x45c958
push eax
mov dword [ebp - 0xc], 1
call fcn.0043fe70
add esp, 0x18
jmp 0x436ba6
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x50]
push str.u_d
push eax
call fcn.0043ffad
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x28], bl
mov eax, dword [ebp - 0x18]
add edi, eax
cmp edi, dword [ebp - 0x14]
mov dword [ebp - 0x40], edi
jle 0x436bca
push 0x11b6
push str...windowswindow.c
push str.tindex__multilen___len2
call fcn.0043f7f4
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, eax
xor edx, edx
cmp dword [ebp - 0x18], ebx
jle 0x436c10
mov eax, dword [ebp - 0x3c]
mov al, byte [eax + edx]
cmp al, 0x5c
je 0x436c08
cmp al, 0x7b
je 0x436c08
cmp al, 0x7d
je 0x436c08
cmp al, 0xd
je 0x436c03
cmp al, 0xa
je 0x436c03
cmp al, 0x7e
ja 0x436bfe
cmp al, 0x20
jb 0x436bfe
inc ecx
jmp 0x436c0a
add ecx, 4
jmp 0x436c0a
add ecx, 6
jmp 0x436c0a
inc ecx
inc ecx
inc edx
cmp edx, dword [ebp - 0x18]
jl 0x436bd9
lea eax, [ecx + esi]
lea ecx, [eax + 3]
cmp dword [ebp - 0x34], ecx
jge 0x436c38
add eax, 0x200
push 1
push eax
push dword [ebp - 4]
mov dword [ebp - 0x34], eax
call fcn.00409219
mov edi, eax
add esp, 0xc
mov dword [ebp - 4], edi
jmp 0x436c3b
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x50]
push eax
lea eax, [esi + edi]
push eax
call fcn.0043fe70
add esi, dword [ebp - 0x10]
xor eax, eax
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jle 0x436cbc
mov ecx, dword [ebp - 0x3c]
add ecx, eax
mov al, byte [ecx]
cmp al, 0x5c
je 0x436ca5
cmp al, 0x7b
je 0x436ca5
cmp al, 0x7d
je 0x436ca5
cmp al, 0xd
je 0x436c91
cmp al, 0xa
je 0x436c91
cmp al, 0x7e
ja 0x436c7a
cmp al, 0x20
jae 0x436cac
movzx eax, al
push eax
lea eax, [esi + edi]
push str._02x
push eax
call fcn.0043ffad
add esp, 0xc
jmp 0x436ca1
lea eax, [esi + edi]
push str.par_r_n
push eax
call fcn.0043ffad
pop ecx
pop ecx
add esi, eax
jmp 0x436cb0
mov byte [esi + edi], 0x5c
mov al, byte [ecx]
inc esi
mov byte [esi + edi], al
inc esi
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jl 0x436c57
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + edi]
push eax
call fcn.0043fe70
add esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x40]
inc dword [ebp - 0x24]
add dword [ebp - 0x20], 2
cmp edi, dword [ebp - 0x14]
pop ecx
pop ecx
jl 0x436ac4
mov eax, dword [ebp - 4]
add eax, esi
push 0x45c958
push eax
call fcn.0043fe70
pop ecx
pop ecx
add esi, 2
push esi
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x436d25
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x436d25
push dword [ebp - 4]
push eax
call fcn.0043fe70
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call fcn.0040927f
pop ecx
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [ebp - 0x30]
call esi
cmp dword [ebp + 0x14], ebx
jne 0x436d57
push ebx
push 1
push 0x2402
push dword [0x468854]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x468854]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x436d9c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push 0xd
call esi
push dword [ebp - 0x30]
push 1
call esi
cmp edi, ebx
je 0x436d94
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 0x436dac
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push dword [ebp - 0x30]
call esi
cmp dword [ebp + 0x14], ebx
jne 0x436dcf
push ebx
push ebx
push 0x2402
push dword [0x468854]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x436dcf
call esi
cmp edi, ebx
je 0x436dcf
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret