Function at 0x44ab30
Capabilities:
Delete file
Get common file path
Get disk size
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a0]
sub esp, 0x820
mov eax, dword [0x56c3c0]
xor eax, ebp
mov dword [ebp + 0x79c], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x3fe
push eax
lea ecx, [ebp - 0x6a]
push ecx
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x6c], ax
call fcn.004d5720
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp + 0x396]
push eax
mov word [ebp + 0x394], dx
call fcn.004d5720
add esp, 0x18
push 0x200
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dx, word [ebp - 0x6c]
mov word [ebp + 0x394], dx
push str.ESTOUT.SYS
lea edx, [ebp + 0x394]
mov eax, 0x3a
mov ecx, 0x5c
push edx
mov word [ebp + 0x396], ax
mov word [ebp + 0x398], cx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x394]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x86
push 1
push 0
push 0
push 0xc0000000
lea ecx, [ebp + 0x394]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44ac1e
push 0x100000
mov dword [ebp - 0x7c], 0
call fcn.004910ff
mov edi, eax
add esp, 4
test edi, edi
jne 0x44ac25
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44adac
push 0x100000
push 0
push edi
call fcn.004d5720
mov eax, dword [ebp + 0x7a8]
add esp, 0xc
test eax, eax
jbe 0x44ac5c
mov ebx, eax
push 0
lea edx, [ebp - 0x7c]
push edx
push 0x100000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub ebx, 1
jne 0x44ac41
mov ebx, dword [ebp - 0x70]
push edi
call fcn.004910f4
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov word [ebp + 0x798], ax
mov byte [ebp + 0x79a], al
mov al, byte [ebp + 0x394]
lea ecx, [ebp + 0x794]
xor edi, edi
push ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
mov byte [ebp + 0x795], 0x3a
mov byte [ebp + 0x796], 0x5c
mov byte [ebp + 0x797], 0
mov byte [ebp + 0x794], al
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x44aceb
lea eax, [esi + esi]
call fcn.004d6570
mov edi, esp
test edi, edi
je 0x44aceb
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp + 0x794]
xor edx, edx
push eax
push edx
push 3
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x44aced
xor eax, eax
push 0
push 0
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x74]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x44ad0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x78]
imul edi, dword [ebp - 0x74]
lea eax, [ebp + 0x394]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x44ad60
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004d6570
mov esi, esp
test esi, esi
je 0x44ad5d
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
lea ecx, [ebp + 0x394]
push ecx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp - 0x70]
neg eax
sbb eax, eax
and eax, esi
jmp 0x44ad62
mov ebx, dword [ebp - 0x70]
xor eax, eax
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x70]
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044a850
lea edx, [ebp + 0x394]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x44ac1e
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x70]
push esi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
call fcn.004d5b05
add esp, 4
mov eax, 1
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x79c]
xor ecx, ebp
call fcn.004d6555
add ebp, 0x7a0
mov esp, ebp
pop ebp
ret 4