Function at 0x44ee80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a5f0
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 0x44f03c
mov ebx, dword [ebp + 0x10]
cmp al, 2
jne 0x44f013
push 1
lea edi, [esi + 0x51]
mov byte [edi], 0
push edi
push dword [esi]
call fcn.0044ebe0
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.0044ebe0
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.0044ebe0
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 0x44efe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0044e420
push eax
mov edx, str.Cannot_set_reserve_data_pointer._Code
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00454600
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449990
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x44ef8f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ef85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f114
push edx
push ecx
call fcn.00536da7
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 0x44efdd
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44efd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f119
push edx
push ecx
call fcn.00536da7
add esp, 8
xor al, al
jmp 0x44f03e
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 0x44f05c
cmp dword [ebp - 0x18], 0
je 0x44f05c
push 1
push edi
push dword [esi]
mov ecx, esi
mov byte [edi], 1
call fcn.0044ebe0
lea eax, [esi + 0x50]
mov ecx, esi
mov byte [eax], 0
push 1
push eax
push dword [esi]
call fcn.0044ebe0
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.0044ebe0
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.00536b66
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.0044e420
push eax
mov edx, str.Cannot_write_reserve_data._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00454600
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449990
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x44f0c3
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f0b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f11e
push edx
push ecx
call fcn.00536da7
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 0x44efdd
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44efd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44efd3
call fcn.00552841
call fcn.00552841
call fcn.00552841
call fcn.00552841
int3