Function at 0x44ddd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5715c0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5eaea4]
xor eax, ebp
mov dword [ebp - 0x10], 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 0x44df8c
mov ebx, dword [ebp + 0x10]
cmp al, 2
jne 0x44df63
push 1
lea edi, [esi + 0x51]
mov byte [edi], 0
push edi
push dword [esi]
call fcn.0044db30
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.0044db30
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.0044db30
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 0x44df31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.0044d3b0
push eax
mov edx, str.Cannot_set_reserve_data_pointer._Code
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44dedf
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ded5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e064
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x44df2d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44df23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e069
push edx
push ecx
call fcn.0052edf8
add esp, 8
xor al, al
jmp 0x44df8e
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x14]
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 0x44dfac
cmp dword [ebp - 0x14], 0
je 0x44dfac
push 1
push edi
push dword [esi]
mov ecx, esi
mov byte [edi], 1
call fcn.0044db30
lea eax, [esi + 0x50]
mov ecx, esi
mov byte [eax], 0
push 1
push eax
push dword [esi]
call fcn.0044db30
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.0044db30
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 - 0x10]
xor ecx, ebp
call fcn.0052ebb7
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.0044d3b0
push eax
mov edx, str.Cannot_write_reserve_data._Code
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00453260
add esp, 4
lea ecx, [esi + 0x30]
push eax
call fcn.004494f0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x44e013
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e009
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e06e
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x44df2d
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44df23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44df23
call fcn.0054a8a1
call fcn.0054a8a1
call fcn.0054a8a1
call fcn.0054a8a1
int3