Function at 0x439ee0
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, 0x4a2bfc
call fcn.00403f70
test eax, eax
jne 0x439f16
mov ecx, dword [ebp + 8]
push 0x49588a
push eax
push 0x4901d0
call fcn.004296d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4a13a4]
push 1
xor esi, esi
push esi
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
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_CreateFileA]
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, 0xffffffff
jne 0x439fa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], eax
cmp dword [0x4a2c14], esi
je 0x43a1c4
cmp dword [0x4a2c04], esi
je 0x439f83
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
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x49d3c8]
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 0x43a13e
mov ecx, eax
sub ecx, 2
je 0x43a12b
sub ecx, 0xc
je 0x43a12b
sub ecx, 0x80
je 0x43a12b
cmp eax, 1
je 0x43a004
cmp eax, 7
je 0x43a004
cmp eax, 0xd
je 0x43a004
xor dl, dl
jmp 0x43a006
mov dl, 1
cmp eax, 8
je 0x43a015
mov byte [esp + 0x10], 0
cmp eax, 0x11
jne 0x43a01a
mov byte [esp + 0x10], 1
cmp eax, 3
sete cl
test dl, dl
je 0x43a02f
cmp byte [esp + 0x11], 0
jne 0x43a127
cmp byte [esp + 0x10], 0
je 0x43a041
cmp byte [esp + 0x12], 0
jne 0x43a127
test cl, cl
je 0x43a050
cmp byte [esp + 0x13], 0
jne 0x43a127
test dl, dl
je 0x43a05b
mov byte [esp + 0x11], 1
jmp 0x43a072
cmp byte [esp + 0x10], 0
je 0x43a069
mov byte [esp + 0x12], 1
jmp 0x43a072
test cl, cl
je 0x43a072
mov byte [esp + 0x13], 1
mov esi, eax
call fcn.00403e30
mov esi, eax
test esi, esi
je 0x43a11d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x43a0a1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x24], eax
test eax, eax
je 0x43a11d
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 0x43a1d2
push 0
lea eax, [esp + 0x24]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push ebx
call edi
test eax, eax
je 0x43a1d2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43a121
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 [0x49d3c8]
push esi
mov dword [ecx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jne 0x43a121
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
jmp 0x43a144
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x43a12b
mov ebx, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x439fd1
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp dword [0x4a2c14], esi
je 0x43a17e
cmp dword [0x4a2c04], esi
je 0x43a168
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 eax, dword [esp + 0x14]
mov dword [0x4a2c14], esi
mov dword [0x4a2bfc], esi
cmp eax, esi
jne 0x43a1bd
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 [0x49d3c8]
mov dword [ecx + 0x30], eax
test esi, esi
je 0x43a1bd
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.004668b0
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 [0x49d3c8]
mov dword [edx + 0x30], eax
cmp dword [esp + 0x1c], 0
je 0x43a117
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
jmp 0x43a144