Function at 0x450b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572070
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5ebea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push dword [esi + 0xac]
push dword [esi + 0xa8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x450caa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.0044d410
push 0x19
push str.Cannot_set_pointer._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00453920
xor ecx, ecx
add esi, 0x30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x44]
movq qword [ebp - 0x4c], xmm0
movq qword [ebp - 0x34], xmm0
cmp esi, eax
je 0x450c33
mov ecx, esi
call fcn.004494f0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [esi + 0x10], xmm0
jmp 0x450c6d
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x450c6d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450c63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450dd5
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x450db8
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450dae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450dda
jmp 0x450dae
push 0
lea eax, [ebp - 0x14]
mov dword [esi + 0x70], 0xffffffff
push eax
push 0x40
lea eax, [esi + 0x50]
mov dword [esi + 0x74], 0xffffffff
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450cdd
cmp dword [ebp - 0x14], 0
je 0x450cdd
mov al, 1
jmp 0x450dba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0044d410
push eax
mov edx, str.Tail:_Cant_write_reserve_state._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004532c0
mov edi, eax
add esi, 0x30
add esp, 4
cmp esi, edi
je 0x450d38
mov ecx, esi
call fcn.004494f0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x450d6e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450d64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450ddf
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x450db8
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450dae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450de4
push edx
push ecx
call fcn.0052f5d6
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
call fcn.0054b071
int3