Function at 0x44ee30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a330
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5f5ea4]
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 0x44efec
mov ebx, dword [ebp + 0x10]
cmp al, 2
jne 0x44efc3
push 1
lea edi, [esi + 0x51]
mov byte [edi], 0
push edi
push dword [esi]
call fcn.0044eb90
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.0044eb90
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.0044eb90
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 0x44ef91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.0044e3d0
push eax
mov edx, str.Cannot_set_reserve_data_pointer._Code
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004545b0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449980
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x44ef3f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ef35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f0c4
push edx
push ecx
call fcn.00536ae6
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 0x44ef8d
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ef83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f0c9
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor al, al
jmp 0x44efee
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 0x44f00c
cmp dword [ebp - 0x18], 0
je 0x44f00c
push 1
push edi
push dword [esi]
mov ecx, esi
mov byte [edi], 1
call fcn.0044eb90
lea eax, [esi + 0x50]
mov ecx, esi
mov byte [eax], 0
push 1
push eax
push dword [esi]
call fcn.0044eb90
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.0044eb90
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.005368a5
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.0044e3d0
push eax
mov edx, str.Cannot_write_reserve_data._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004545b0
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.00449980
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x44f073
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f069
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f0ce
push edx
push ecx
call fcn.00536ae6
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 0x44ef8d
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ef83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44ef83
call fcn.00552581
call fcn.00552581
call fcn.00552581
call fcn.00552581
int3