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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov ecx, 0x4a2bfc
call fcn.00403f70
test eax, eax
jne 0x43a24b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49d3c8]
push ebx
mov dword [ecx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 0x49588a
push 0
push str.Cant_open_clipboard_for_writing.
call fcn.004296d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor esi, esi
push esi
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push ebx
call edi
test eax, eax
je 0x43a4ac
cmp dword [esp + 0xc], 4
jb 0x43a4ac
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], esi
cmp dword [esp + 0x10], esi
je 0x43a44e
nop
push esi
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push ebx
call edi
test eax, eax
je 0x43a43f
cmp dword [esp + 0xc], 4
jb 0x43a43f
mov ecx, dword [esp + 0x14]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43a34e
cmp dword [esp + 0x14], 0
je 0x43a30d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43a3ab
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x10]
push edx
push ecx
push eax
push ebx
call edi
test eax, eax
je 0x43a40b
mov edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x14]
jb 0x43a40b
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 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push ebx
call edi
test eax, eax
je 0x43a42c
cmp dword [esp + 0xc], 4
jb 0x43a42c
xor esi, esi
cmp dword [esp + 0x10], esi
jne 0x43a290
jmp 0x43a44e
cmp dword [0x4a2c14], 0
je 0x43a388
cmp dword [0x4a2c04], 0
je 0x43a376
mov eax, dword [0x4a2bfc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a2c04], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov dword [0x4a2c14], eax
mov dword [0x4a2bfc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 0x49588a
push 0
push str.Out_of_memory.
call fcn.004296d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
cmp dword [0x4a2c14], esi
je 0x43a3e9
cmp dword [0x4a2c04], esi
je 0x43a3d7
mov ecx, dword [0x4a2bfc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a2c04], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4a2c14], esi
mov dword [0x4a2bfc], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 0x49588a
push esi
push 0x4901f4
call fcn.004296d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x49d3c8]
push esi
mov dword [edx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x43a44e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], eax
xor esi, esi
jmp 0x43a44e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x49d3c8]
mov dword [edx + 0x30], eax
cmp dword [0x4a2c14], esi
je 0x43a482
cmp dword [0x4a2c04], esi
je 0x43a470
mov eax, dword [0x4a2bfc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a2c04], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4a2c14], esi
mov dword [0x4a2bfc], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], esi
jne 0x43a4f7
mov ecx, dword [0x4a13a4]
push 1
push esi
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], eax
cmp dword [0x4a2c14], esi
je 0x43a4f0
cmp dword [0x4a2c04], esi
je 0x43a4de
mov edx, dword [0x4a2bfc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4a2c04], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4a2c14], esi
mov dword [0x4a2bfc], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4