Function at 0x441360
Capabilities:
Read file on windows
Write clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push 0x4c3fa4
call fcn.00404080
test eax, eax
jne 0x4413a8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [0x4be40c]
push edi
mov dword [ecx + 0x30], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x1c]
push 0x49c820
push 0
push str.Cant_open_clipboard_for_writing.
call fcn.0042f150
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebp, dword [sym.imp.KERNEL32.DLL_ReadFile]
xor ebx, ebx
push ebx
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push edi
call ebp
test eax, eax
je 0x4415f1
cmp dword [esp + 0xc], 4
jb 0x4415f1
mov ecx, dword [0x4be40c]
mov dword [ecx + 0x30], ebx
cmp dword [esp + 0x10], ebx
je 0x441598
push ebx
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push edi
call ebp
test eax, eax
je 0x441589
cmp dword [esp + 0xc], 4
jb 0x441589
mov ecx, dword [esp + 0x14]
push ecx
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
cmp esi, ebx
je 0x4414a1
cmp dword [esp + 0x14], ebx
je 0x441463
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, ebx
je 0x4414f9
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x10]
push edx
push ecx
push eax
push edi
call ebp
test eax, eax
je 0x441559
mov edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x14]
jb 0x441559
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, dword [esp + 0x10]
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push edi
call ebp
test eax, eax
je 0x441578
cmp dword [esp + 0xc], 4
jb 0x441578
cmp dword [esp + 0x10], ebx
jne 0x4413ec
jmp 0x441598
cmp dword [0x4c3fbc], ebx
je 0x4414d5
cmp dword [0x4c3fac], ebx
je 0x4414c3
mov eax, dword [0x4c3fa4]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4c3fac], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c3fbc], ebx
mov dword [0x4c3fa4], ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x1c]
push 0x49c820
push ebx
push str.Out_of_memory.
call fcn.0042f150
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp dword [0x4c3fbc], ebx
je 0x441535
cmp dword [0x4c3fac], ebx
je 0x441523
mov ecx, dword [0x4c3fa4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4c3fac], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c3fbc], ebx
mov dword [0x4c3fa4], ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x1c]
push 0x49c820
push ebx
push 0x49cb34
call fcn.0042f150
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, dword [0x4be40c]
push esi
mov dword [edx + 0x30], eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x441598
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [0x4be40c]
mov dword [ecx + 0x30], eax
jmp 0x441598
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, dword [0x4be40c]
mov dword [edx + 0x30], eax
cmp dword [0x4c3fbc], ebx
je 0x4415cc
cmp dword [0x4c3fac], ebx
je 0x4415ba
mov eax, dword [0x4c3fa4]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4c3fac], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c3fbc], ebx
mov dword [0x4c3fa4], ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x10], ebx
mov eax, dword [esp + 0x1c]
setne cl
movzx edx, cl
push edx
push eax
call fcn.0042ef10
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [0x4be40c]
mov dword [ecx + 0x30], eax
cmp dword [0x4c3fbc], ebx
je 0x441635
cmp dword [0x4c3fac], ebx
je 0x441623
mov edx, dword [0x4c3fa4]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4c3fac], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c3fbc], ebx
mov dword [0x4c3fa4], ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [0x4be40c]
cmp byte [eax + 0x104], bl
jne 0x441666
mov ecx, dword [0x4c264c]
push ecx
or eax, 0xffffffff
mov ecx, 0x49f2c4
call fcn.00401200
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov ecx, dword [esp + 0x1c]
push 0x49c820
push ebx
push 0x49f2c4
call fcn.0042ee20
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4