Function at 0x43e750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov ecx, 0x4c314c
call fcn.00404060
test eax, eax
jne 0x43e786
mov ecx, dword [ebp + 8]
push 0x4a596c
push eax
push str.Cant_open_clipboard_for_reading.
call fcn.0042d460
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4c17f0]
push 1
xor esi, esi
push esi
push 0xffffffffffffffff
push 0x49e30c
call fcn.0046dd60
mov eax, dword [ebp + 0xc]
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, 0xffffffff
jne 0x43e813
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4bd41c]
mov dword [ecx + 0x30], eax
cmp dword [0x4c3164], esi
je 0x43ea34
cmp dword [0x4c3154], esi
je 0x43e7f3
mov edx, dword [0x4c314c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c3154], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4c3164], esi
mov dword [0x4c314c], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4bd41c]
mov dword [eax + 0x30], esi
push esi
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x43e9ae
mov ecx, eax
sub ecx, 2
je 0x43e99b
sub ecx, 0xc
je 0x43e99b
sub ecx, 0x80
je 0x43e99b
cmp eax, 0xd
je 0x43e874
cmp eax, 7
je 0x43e874
cmp eax, 1
je 0x43e874
xor dl, dl
jmp 0x43e876
mov dl, 1
cmp eax, 8
je 0x43e885
mov byte [esp + 0x10], 0
cmp eax, 0x11
jne 0x43e88a
mov byte [esp + 0x10], 1
cmp eax, 3
sete cl
test dl, dl
je 0x43e89f
cmp byte [esp + 0x11], 0
jne 0x43e997
cmp byte [esp + 0x10], 0
je 0x43e8b1
cmp byte [esp + 0x12], 0
jne 0x43e997
test cl, cl
je 0x43e8c0
cmp byte [esp + 0x13], 0
jne 0x43e997
test dl, dl
je 0x43e8cb
mov byte [esp + 0x11], 1
jmp 0x43e8e2
cmp byte [esp + 0x10], 0
je 0x43e8d9
mov byte [esp + 0x12], 1
jmp 0x43e8e2
test cl, cl
je 0x43e8e2
mov byte [esp + 0x13], 1
mov esi, eax
call fcn.00403f20
mov esi, eax
test esi, esi
je 0x43e98d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x43e911
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x24], eax
test eax, eax
je 0x43e98d
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x24]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push ebx
call edi
test eax, eax
je 0x43ea42
push 0
lea eax, [esp + 0x24]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push ebx
call edi
test eax, eax
je 0x43ea42
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43e991
push 0
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ebx
call edi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4bd41c]
push esi
mov dword [ecx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jne 0x43e991
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
jmp 0x43e9b4
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x43e99b
mov ebx, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x43e841
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp dword [0x4c3164], esi
je 0x43e9ee
cmp dword [0x4c3154], esi
je 0x43e9d8
mov eax, dword [0x4c314c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4c3154], esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x14]
mov dword [0x4c3164], esi
mov dword [0x4c314c], esi
cmp eax, esi
jne 0x43ea2d
push esi
lea ecx, [esp + 0x24]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push ebx
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4bd41c]
mov dword [ecx + 0x30], eax
test esi, esi
je 0x43ea2d
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d0
call fcn.0046dd60
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x4bd41c]
mov dword [edx + 0x30], eax
cmp dword [esp + 0x1c], 0
je 0x43e987
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
jmp 0x43e9b4