Function at 0x6adb9400
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 0x6adb9590
cmp al, 0x40
je 0x6adb95e0
mov edi, ecx
test al, al
jne 0x6adb9568
cmp dword [ebx + 0x89c8], 0x200
je 0x6ae0e094
mov eax, dword [edi]
cmp eax, 0x6ae16722
jne 0x6adb9630
mov edx, ebx
mov eax, esi
call fcn.6adb7e40
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 0x6adb977b
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 0x6adb94e7
mov ecx, dword [ebx + 0xec]
test ecx, ecx
jne 0x6adb9548
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], 0x6ae16722
jne 0x6adb9690
mov byte [ebx + edx + 0x89cc], 1
mov byte [ebx + 0x8bcc], 1
jmp 0x6adb952a
mov dword [esp + 8], 0x7f8
mov dword [esp + 4], str.src_win32_apply.c
mov dword [esp], str.strm__stream_type__STREAM_TYPE_DATA
call dword [0x6ae0f298]
jmp 0x6adb9432
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 0x6adb96e0
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 0x6adb953c
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 0x6adb96f0
test ecx, ecx
jne 0x6adb96e4
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x1b4]
mov dword [esp], eax
call fcn.6adab420
test eax, eax
je 0x6adb96e4
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1bc], ebp
jmp 0x6adb96f6
mov dword [esp], eax
call fcn.6ad8d5c0
mov edx, ebx
mov ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
mov eax, esi
call fcn.6adb7e40
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 0x6adb9458
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.6adb7d60
mov esi, eax
test eax, eax
js 0x6adb9747
mov edx, dword [ebx + 0x89c8]
mov eax, dword [esp + 0x44]
jmp 0x6adb9554
test ecx, ecx
je 0x6adb9720
mov eax, 0x27
jmp 0x6adb953c
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 0x6adb953c
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0x1b4]
mov dword [esp], eax
call fcn.6adab420
test eax, eax
je 0x6adb96e4
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1bc], ebp
jmp 0x6adb95b2
mov eax, ebx
call fcn.6adb7f70
mov dword [esp + 4], str.Cant_set_sparse_flag_on___ls_
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.6ae0df7d
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.ntdll.dll_NtClose
mov eax, 0x39
sub esp, 4
jmp 0x6adb953c
mov dword [esp + 0x38], eax
mov eax, ebx
call fcn.6adb7f70
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.6ae0df7d
mov eax, 0x2f
jmp 0x6adb953c
mov dword [esp], str.Cant_extract_data:_too_many_open_files_
call fcn.6ae0b475
mov eax, 0x44
jmp 0x6adb953c