Function at 0x44eac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5faaf0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x675978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
call fcn.004533d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
push eax
cmovae ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x1c]
call fcn.00401470
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x24]
mov edi, eax
cmp edx, 0x10
jb 0x44eb56
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ecfd
push edx
push ecx
call fcn.005b6a56
add esp, 8
test edi, edi
jne 0x44ec64
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
cmovae eax, dword [ebp + 0x20]
sub esp, 0xc
mov edx, dword [ebp - 0x14]
push dword [ebp + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401760
add esp, 0x1c
mov edi, eax
push esi
call fcn.005c6e74
add esp, 4
test edi, edi
jne 0x44ec64
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.004533d0
mov byte [ebp - 4], 3
lea edi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x14]
push 0x64df4c
cmovae edi, dword [ebp - 0x38]
push edi
push eax
call fcn.005c6e2d
add esp, 0xc
test eax, eax
je 0x44ebec
push edi
push str.Cannot_open_file___s__for_writing.
push 0x400
push 0x67e028
call fcn.00401450
add esp, 0x10
mov edi, 0x67e028
jmp 0x44ec21
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
push esi
push 1
push dword [ebp - 0x18]
call fcn.005c6c26
add esp, 0x10
push dword [ebp - 0x14]
cmp eax, esi
je 0x44ec17
call fcn.005c467f
add esp, 4
push edi
push str.Cannot_write_to_file___s_.
jmp 0x44ebd3
call fcn.005c467f
add esp, 4
xor edi, edi
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x44ec59
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44ec4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ed02
push edx
push ecx
call fcn.005b6a56
add esp, 8
push dword [ebp - 0x18]
call fcn.005c6e74
add esp, 4
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x44ec9a
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ec90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ed07
push edx
push ecx
call fcn.005b6a56
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 0x10
jb 0x44ecde
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44ecd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ed0c
push edx
push ecx
call fcn.005b6a56
add esp, 8
mov eax, edi
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.005b6a10
mov esp, ebp
pop ebp
ret 0x30
call fcn.005c73c8
call fcn.005c73c8
call fcn.005c73c8
call fcn.005c73c8
int3