Function at 0x44ee90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57aa70
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0xc0]
test al, al
je 0x44f04c
mov ebx, dword [ebp + 0x10]
cmp al, 2
jne 0x44f023
push 1
lea edi, [esi + 0x51]
mov byte [edi], 0
push edi
push dword [esi]
call fcn.0044ebf0
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x78]
push 8
push eax
push dword [esi]
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.0044ebf0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x80]
push 4
push ecx
push dword [esi]
mov dword [ecx], eax
mov ecx, esi
call fcn.0044ebf0
push 0
push 0
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44eff1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0044e430
push eax
mov edx, str.Cannot_set_reserve_data_pointer._Code
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004549c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004499a0
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x44ef9f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ef95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f124
push edx
push ecx
call fcn.00537216
add esp, 8
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 8
jb 0x44efed
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44efe3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f129
push edx
push ecx
call fcn.00537216
add esp, 8
xor al, al
jmp 0x44f04e
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x18]
push 0
push ecx
push dword [esi + 0x80]
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44f06c
cmp dword [ebp - 0x18], 0
je 0x44f06c
push 1
push edi
push dword [esi]
mov ecx, esi
mov byte [edi], 1
call fcn.0044ebf0
lea eax, [esi + 0x50]
mov ecx, esi
mov byte [eax], 0
push 1
push eax
push dword [esi]
call fcn.0044ebf0
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x68]
push 8
push eax
push dword [esi]
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.0044ebf0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00536fd5
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.0044e430
push eax
mov edx, str.Cannot_write_reserve_data._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004549c0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004499a0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x44f0d3
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f0c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f12e
push edx
push ecx
call fcn.00537216
add esp, 8
mov edx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x44efed
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44efe3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44efe3
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
int3