Function at 0x6adbe330
Capabilities:
Set file attributes

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
mov ebx, ecx
sub esp, 0x5c
movzx ecx, byte [ecx + 0x1b]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x70]
mov eax, ecx
and eax, 0xffffffe0
cmp al, 0x20
je 0x6adbe4d8
cmp al, 0x40
je 0x6adbe528
cmp cl, 0x1f
ja 0x6adbe4b0
cmp dword [edi + 0x89c8], 0x200
je 0x6add81e3
mov eax, dword [ebx]
cmp eax, 0x6ade07e2
jne 0x6adbe580
mov edx, edi
mov eax, esi
call fcn.6adbcdb0
lea eax, [edi + 0x190]
lea ebp, [edi + 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 0x6adbe6d1
mov eax, dword [edi + 0x89c8]
mov ecx, dword [esi]
mov byte [edi + eax + 0x89cc], 0
test byte [ecx + 0x25], 2
je 0x6adbe450
mov edx, dword [edi + 0xec]
test edx, edx
je 0x6adbe450
mov ecx, dword [esp + 0x44]
cmp dword [ebx], 0x6ade07e2
jne 0x6adbe650
lea ebx, [eax + 1]
mov byte [edi + eax + 0x89cc], 1
mov byte [edi + 0x8bcc], 1
mov dword [edi + 0x89c8], ebx
mov dword [edi + eax*4 + 0x81c8], ecx
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
lea eax, [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], 0x13
mov dword [esp + 0xc], 8
mov dword [esp], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
call sub.ntdll.dll_NtSetInformationFile
mov eax, dword [edi + 0x89c8]
sub esp, 0x14
mov ecx, dword [esp + 0x44]
lea ebx, [eax + 1]
mov dword [edi + 0x89c8], ebx
mov dword [edi + eax*4 + 0x81c8], ecx
jmp 0x6adbe445
mov dword [esp + 8], 0x7f9
mov dword [esp + 4], str.src_win32_apply.c
mov dword [esp], str.strm__stream_type__STREAM_TYPE_DATA
call dword [0x6add9074]
jmp 0x6adbe365
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov edx, ebx
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp dword [edi + 0x1bc], ebp
sbb edx, eax
jb 0x6adbe5e0
mov eax, dword [edi + 0x1b4]
mov dword [edi + 0x1b8], eax
mov eax, dword [edi + 0x8bd4]
lea ecx, [esi + 0x30]
lea edx, [edi + 0x8bd0]
mov dword [edi + 0x8bd4], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
mov dword [eax], ecx
jmp 0x6adbe445
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov edx, ebx
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
cmp dword [edi + 0x1bc], ebp
sbb edx, eax
jae 0x6adbe5f0
cmp eax, 0
ja 0x6adbe5e5
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x1b4]
mov dword [esp], eax
call fcn.6adaef00
test eax, eax
je 0x6adbe5e5
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1bc], ebp
jmp 0x6adbe5f6
mov dword [esp], eax
call fcn.6ad8d8c0
mov edx, edi
mov ebp, eax
mov eax, dword [ebx]
mov dword [esp + 0x3c], eax
mov eax, esi
call fcn.6adbcdb0
movzx eax, word [edi + 0x188]
mov edx, dword [esp + 0x3c]
mov ecx, 0x3a
and eax, 0xfffe
add eax, dword [edi + 0x18c]
mov word [eax], cx
lea ecx, [ebp + ebp]
add eax, 2
lea ebp, [ebp + ebp + 2]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
add word [edi + 0x188], bp
jmp 0x6adbe38b
cmp eax, 0
jbe 0x6adbe620
mov eax, 0x27
jmp 0x6adbe447
mov eax, dword [edi + 0x1b4]
mov dword [edi + 0x1b8], eax
mov eax, dword [edi + 0x8bdc]
lea ecx, [esi + 0x30]
lea edx, [edi + 0x8bd8]
mov dword [edi + 0x8bdc], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
mov dword [eax], ecx
jmp 0x6adbe445
mov dword [esp + 4], ebp
mov eax, dword [edi + 0x1b4]
mov dword [esp], eax
call fcn.6adaef00
test eax, eax
je 0x6adbe5e5
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1bc], ebp
jmp 0x6adbe4fa
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], ecx
call fcn.6adbccd0
mov ebx, eax
test eax, eax
js 0x6adbe69d
mov eax, dword [edi + 0x89c8]
mov ecx, dword [esp + 0x44]
jmp 0x6adbe426
mov eax, edi
call fcn.6adbcf90
mov dword [esp + 4], str.Cant_set_sparse_flag_on___ls_
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.6add8113
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.ntdll.dll_NtClose
mov eax, 0x39
sub esp, 4
jmp 0x6adbe447
mov dword [esp + 0x38], eax
mov eax, edi
call fcn.6adbcf90
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], str.Cant_open___ls__for_writing
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.6add8113
mov eax, 0x2f
jmp 0x6adbe447
mov dword [esp], str.Cant_extract_data:_too_many_open_files_
call fcn.6add55ba
mov eax, 0x44
jmp 0x6adbe447