Function at 0x44c440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491c68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4c0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebx + 8]
mov esi, dword [edi]
sub esi, 0x10
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x44c4be
cmp dword [esi + 0xc], 0
jl 0x44c4b3
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x44c4b3
call fcn.00402480
mov dword [ebp + 8], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44c4ac
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
jmp 0x44c4be
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.00403ae0
push edi
push 0x4a98a0
mov ecx, ebx
call fcn.0044c310
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x44c4df
push dword [eax - 0xc]
mov ecx, edi
call fcn.00402140
mov eax, dword [edi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0x4a4fc8
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x44c51e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x44c720
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x44c759
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
push str._echo_off__r_n
call fcn.004038d0
test al, al
jne 0x44c55c
push 0xc
push str._echo_off__r_n
lea ecx, [ebp + 8]
call fcn.00403ae0
mov byte [ebp - 4], 2
xor edi, edi
cmp dword [ebx + 0x1c], edi
jle 0x44c5de
call fcn.00403f70
test eax, eax
je 0x44c759
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
test edi, edi
js 0x44c76d
cmp edi, dword [ebx + 0x1c]
jge 0x44c76d
mov eax, dword [ebx + 0x18]
push dword [eax + edi*4]
lea eax, [ebp - 0x10]
push str.del___s___r_n
push eax
call fcn.00403590
mov esi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00402280
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44c5d8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, dword [ebx + 0x1c]
jl 0x44c567
call fcn.00403f70
mov ecx, eax
test ecx, ecx
je 0x44c763
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
push dword [ebx + 8]
mov eax, dword [ebx + 4]
push dword [ebx]
push eax
push eax
push eax
lea eax, [ebp - 0x10]
push str.:again__r_nif_not_exist___s__goto_end__r_nif_exist___s__del___s___r_ngoto_again__r_n:end__r_nrmDir___s___r_ndel___s___cls
push eax
call fcn.00403590
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
add esp, 0x1c
push dword [edi - 0xc]
push edi
call fcn.00402280
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ebx, eax
push 0
mov dword [ebp - 0x18], ebx
call fcn.0046ce46
mov dword [ebp - 0x1c], 0
add esp, 4
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
test esi, esi
je 0x44c6c5
cmp word [esi], 0
je 0x44c6c5
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jle 0x44c6c9
push ebx
call fcn.0046ce3d
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
push 0
push 0
push ebx
push eax
push 0xffffffffffffffff
push esi
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jle 0x44c6c9
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x44c6cc
xor ebx, ebx
jmp 0x44c6cc
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
push ebx
call fcn.0046ce46
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44c705
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44c71e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0x4a4fc8
test eax, eax
je 0x44c743
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004023a0
push 0x80004005
call fcn.004023a0
push 1
push 0xc000008c
call fcn.004036b0
int3