Function at 0x6adb96c0
Capabilities:
Set file attributes

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x5c
mov dword [esp + 0x38], eax
movzx eax, byte [ecx + 0x1b]
mov ebx, dword [esp + 0x70]
and eax, 0xffffffe0
cmp al, 0x20
je 0x6adb9850
cmp al, 0x40
je 0x6adb98a0
mov edi, ecx
test al, al
jne 0x6adb9828
cmp dword [ebx + 0x89c8], 0x200
je 0x6ae11f28
mov eax, dword [edi]
cmp eax, 0x6ae1a7e2
jne 0x6adb98f0
mov edx, ebx
mov eax, esi
call fcn.6adb8100
lea eax, [ebx + 0x190]
lea ebp, [ebx + 0x1a8]
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x204024
mov dword [esp + 0x1c], 3
mov dword [esp + 0x18], 7
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebp
mov dword [esp + 4], 0x100002
mov dword [esp], eax
call sub.ntdll.dll_NtCreateFile
sub esp, 0x2c
test eax, eax
js 0x6adb9a3b
mov edx, dword [ebx + 0x89c8]
mov esi, dword [esi]
mov eax, dword [esp + 0x44]
mov byte [ebx + edx + 0x89cc], 0
test byte [esi + 0x25], 2
je 0x6adb97a7
mov ecx, dword [ebx + 0xec]
test ecx, ecx
jne 0x6adb9808
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x48]
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0x13
mov dword [esp + 0xc], 8
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
call sub.ntdll.dll_NtSetInformationFile
mov edx, dword [ebx + 0x89c8]
sub esp, 0x14
mov eax, dword [esp + 0x44]
lea ecx, [edx + 1]
mov dword [ebx + 0x89c8], ecx
mov dword [ebx + edx*4 + 0x81c8], eax
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [edi], 0x6ae1a7e2
jne 0x6adb9950
mov byte [ebx + edx + 0x89cc], 1
mov byte [ebx + 0x8bcc], 1
jmp 0x6adb97ea
mov dword [esp + 8], 0x7f0
mov dword [esp + 4], str.src_win32_apply.c
mov dword [esp], str.strm__stream_type__STREAM_TYPE_DATA
call dword [0x6ae132b8]
jmp 0x6adb96f2
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
mov eax, edx
cmp dword [ebx + 0x1bc], ebp
sbb eax, ecx
jb 0x6adb99a0
mov eax, dword [ebx + 0x1b4]
mov dword [ebx + 0x1b8], eax
lea edx, [esi + 0x30]
mov eax, dword [ebx + 0x8bd4]
add ebx, 0x8bd0
mov dword [ebx + 4], edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov dword [eax], edx
xor eax, eax
jmp 0x6adb97fc
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
mov eax, edx
cmp dword [ebx + 0x1bc], ebp
sbb eax, ecx
jae 0x6adb99b0
test ecx, ecx
jne 0x6adb99a4
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x1b4]
mov dword [esp], eax
call fcn.6adab660
test eax, eax
je 0x6adb99a4
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1bc], ebp
jmp 0x6adb99b6
mov dword [esp], eax
call fcn.6ad8d5b0
mov edx, ebx
mov ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
mov eax, esi
call fcn.6adb8100
movzx eax, word [ebx + 0x188]
mov ecx, dword [esp + 0x3c]
mov edx, 0x3a
and eax, 0xfffe
add eax, dword [ebx + 0x18c]
mov word [eax], dx
lea edx, [ebp + ebp]
add eax, 2
lea ebp, [ebp + ebp + 2]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add word [ebx + 0x188], bp
jmp 0x6adb9718
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x900c4
mov dword [esp], eax
call fcn.6adb8020
mov esi, eax
test eax, eax
js 0x6adb9a07
mov edx, dword [ebx + 0x89c8]
mov eax, dword [esp + 0x44]
jmp 0x6adb9814
test ecx, ecx
je 0x6adb99e0
mov eax, 0x27
jmp 0x6adb97fc
mov eax, dword [ebx + 0x1b4]
mov dword [ebx + 0x1b8], eax
lea edx, [esi + 0x30]
mov eax, dword [ebx + 0x8bdc]
add ebx, 0x8bd8
mov dword [ebx + 4], edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov dword [eax], edx
xor eax, eax
jmp 0x6adb97fc
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x1b4]
mov dword [esp], eax
call fcn.6adab660
test eax, eax
je 0x6adb99a4
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1bc], ebp
jmp 0x6adb9872
mov eax, ebx
call fcn.6adb8230
mov dword [esp + 4], str.Cant_set_sparse_flag_on___ls_
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.6ae11e11
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.ntdll.dll_NtClose
mov eax, 0x39
sub esp, 4
jmp 0x6adb97fc
mov dword [esp + 0x38], eax
mov eax, ebx
call fcn.6adb8230
mov edx, dword [esp + 0x38]
mov dword [esp + 4], str.Cant_open___ls__for_writing
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.6ae11e11
mov eax, 0x2f
jmp 0x6adb97fc
mov dword [esp], str.Cant_extract_data:_too_many_open_files_
call fcn.6ae0f1f5
mov eax, 0x44
jmp 0x6adb97fc