Function at 0x44c60e
Capabilities:
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x69c
lea eax, [ebp - 0x14]
push ebx
push esi
push edi
mov esi, 0x4021
push esi
push 7
push eax
lea eax, [ebp + 8]
push eax
push 0x100081
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
jne 0x44c7a3
xor edi, edi
lea eax, [ebp - 0x14]
push edi
push edi
push esi
push 3
push 7
push 0x80
push edi
push eax
lea eax, [ebp + 0x20]
push eax
push 0x100101
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov ebx, dword [sym.imp.ntdll.dll_NtClose]
mov esi, eax
test esi, esi
jne 0x44c79c
push edi
push edi
push 0xff
push 2
lea ecx, [ebp - 0x24]
xor eax, eax
push 0x248
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x10], ecx
lea ecx, [ebp - 0x298]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
push ecx
push edi
lea eax, [ebp - 0x254]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
push edi
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp + 0xc], eax
push eax
jmp 0x44c844
test byte [ebp - 0x260], 0x10
mov edx, dword [ebp - 0x25c]
mov word [ebp - 0x22], dx
mov word [ebp - 0x24], dx
je 0x44c711
lea ecx, [ebp - 0x254]
call fcn.0044bd57
test al, al
jne 0x44c825
sub esp, 0x18
lea esi, [ebp + 0x20]
push 6
pop ecx
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0044c60e
add esp, 0x30
mov esi, eax
xor edi, edi
jmp 0x44c825
push 0x4024
push 5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x120089
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
test esi, esi
jne 0x44c769
push edi
push edi
push 0x4024
push 5
push 1
push dword [ebp - 0x260]
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp + 0x20]
push eax
push 0x120116
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov esi, eax
test esi, esi
je 0x44c7c6
push dword [ebp - 4]
call ebx
push 4
push 0x28
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jne 0x44c797
push 4
push 0x28
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push dword [ebp - 0x1c]
call ebx
push dword [ebp - 0xc]
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 8], 0
je 0x44c7ed
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x698]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x698]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c7a8
xor ecx, ecx
call fcn.0044bc68
mov esi, eax
push 4
push 0x28
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jne 0x44c81b
push 4
push 0x28
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push dword [ebp - 0x18]
call ebx
push dword [ebp - 4]
call ebx
push edi
push edi
push 0xff
push 2
push 0x248
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
test eax, eax
je 0x44c6bc
jmp 0x44c769