Function at 0x450b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5718a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5eaea4]
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 0x450c4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.0044d3b0
push 0x19
push str.Cannot_set_pointer._Code
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004538c0
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 0x450bd3
mov ecx, esi
call fcn.00449490
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [esi + 0x10], xmm0
jmp 0x450c0d
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x450c0d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450c03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d75
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x450d58
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450d4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d7a
jmp 0x450d4e
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 0x450c7d
cmp dword [ebp - 0x14], 0
je 0x450c7d
mov al, 1
jmp 0x450d5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0044d3b0
push eax
mov edx, str.Tail:_Cant_write_reserve_state._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00453260
mov edi, eax
add esi, 0x30
add esp, 4
cmp esi, edi
je 0x450cd8
mov ecx, esi
call fcn.00449490
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 0x450d0e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450d04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d7f
push edx
push ecx
call fcn.0052edf8
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 0x450d58
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x450d4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450d84
push edx
push ecx
call fcn.0052edf8
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.0052ebb7
mov esp, ebp
pop ebp
ret
call fcn.0054a8a1
call fcn.0054a8a1
call fcn.0054a8a1
call fcn.0054a8a1
int3