Function at 0x41f810
Capabilities:
Get graphical window text
Hide graphical window
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x3f4
mov eax, dword [0x5f92ec]
push esi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41f835
pop esi
add esp, 0x3f4
ret
push ebx
push ebp
mov ebx, 1
xor ebp, ebp
cmp esi, ebx
push edi
mov dword [esp + 0x10], ebp
jne 0x41f920
cmp dword [0x5eeecc], ebp
je 0x41f92a
mov esi, dword [sym.imp.USER32.dll_EnumClipboardFormats]
push ebp
call esi
mov edi, eax
test edi, edi
je 0x41f92a
lea ebx, [ebx]
push 0x104
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
test eax, eax
je 0x41f89b
lea edx, [esp + 0x1c]
push str.Rich_Text_Format
push edx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x41f8a9
push edi
call esi
mov edi, eax
test edi, edi
jne 0x41f870
jmp 0x41f92a
mov eax, dword [0x5f92e8]
mov ecx, dword [0x5f92ec]
push 0
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
push 0
push 0
push 0x443111c4
push 0x5a4bec
push str.RichEdit20A
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebp, eax
test ebp, ebp
je 0x41f92a
push 0
push 2
push 0x459
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7d000
mov edx, 2
mov ecx, ebp
call fcn.0047e5f0
push 5
push ebp
mov ebx, edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x23
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41f92a
cmp esi, 2
jne 0x41f92a
mov ebx, 0xd
push ebx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x41fa51
jmp 0x41f945
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x10], eax
je 0x41fa4a
test ebp, ebp
je 0x41f9d9
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0xc
push ebp
call esi
cmp eax, 1
jne 0x41f990
push 0
push 0
push 0xe
push ebp
call esi
mov ebx, eax
test ebx, ebx
jle 0x41f990
lea edx, [ebx + 0xa]
push edx
call fcn.00591118
mov esi, eax
add esp, 4
test esi, esi
jne 0x41f9ac
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x41f941
jmp 0x41fa51
lea ecx, [ebx + 0xa]
mov edx, ecx
shr ecx, 2
xor eax, eax
push esi
mov edi, esi
rep stosd dword es:[edi], eax
add ebx, 5
push ebx
mov ecx, edx
push 0xd
and ecx, 3
push ebp
rep stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
jmp 0x41fa4a
cmp dword [esp + 0x18], 2
jne 0x41f9f0
or edx, 0xffffffff
mov ecx, eax
call fcn.005586f0
mov dword [esp + 0x10], eax
jmp 0x41fa4a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f9f3
sub eax, edx
mov esi, eax
lea ebx, [esi + 0xa]
push ebx
call fcn.00591118
mov edx, eax
add esp, 4
test edx, edx
je 0x41fa42
mov ecx, ebx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
jmp 0x41fa4a
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebp, ebp
je 0x41fa5c
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x3f4
ret