Function at 0x6adc2720
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x40d8
call fcn.6adc7100
sub esp, eax
mov eax, dword [esp + eax]
mov dword [ebp - 0x409c], ecx
test byte [edx + 0x25], 0x40
jne 0x6add853a
mov ebx, edx
lea ecx, [ebp - 0x4018]
lea edx, [ebp - 0x4090]
mov dword [esp + 0x14], 0x4000
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x900a8
mov dword [esp], eax
call fcn.6adbccd0
test eax, eax
js 0x6add850b
mov eax, dword [ebp - 0x4090]
mov word [ebp - 0x4092], ax
movzx edx, ax
cmp ax, 7
jbe 0x6add8560
mov ecx, dword [ebp - 0x4018]
cmp ecx, 0x80000013
je 0x6adc2918
mov edi, dword [ebp - 0x409c]
mov edi, dword [edi]
mov dword [ebp - 0x40a0], edi
test byte [edi + 0x15], 1
je 0x6adc28c1
movzx eax, ax
mov dword [ebp - 0x40a4], esp
lea ecx, [ebp - 0x4034]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4018]
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.6ada4140
test eax, eax
jne 0x6adc28a6
cmp dword [ebp - 0x4034], 0xa000000c
je 0x6adc2938
mov eax, dword [ebp - 0x4020]
mov edx, dword [ebp - 0x4028]
and eax, 0xfffffffe
lea ecx, [edx + eax]
mov dword [ebp - 0x40a8], ecx
cmp edx, ecx
je 0x6adc2833
cmp word [edx], 0x5c
je 0x6adc2950
mov edx, dword [ebp - 0x401c]
mov esi, edx
shr esi, 1
lea eax, [esi + esi + 0x11]
shr eax, 4
shl eax, 4
call fcn.6adc7100
sub esp, eax
mov eax, dword [ebp - 0x4024]
and edx, 0xfffffffe
lea edi, [esp + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x40a0]
xor edx, edx
mov word [edi + esi*2], dx
mov dword [eax + 0x2c], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.6ada69d0
mov esp, dword [ebp - 0x40a4]
cmp eax, 0xffffffff
jne 0x6adc2d9f
and word [ebx + 0x66], 0xfffe
mov eax, dword [ebp - 0x409c]
mov ecx, dword [ebp - 0x4018]
movzx edx, word [ebp - 0x4092]
mov eax, dword [eax]
mov dword [ebp - 0x40a0], eax
movzx eax, word [ebp - 0x4012]
mov dword [ebx + 0x60], ecx
sub edx, 8
mov word [ebx + 0x64], ax
mov eax, dword [ebp - 0x40a0]
mov eax, dword [eax]
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x6ade07e2
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x4010]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.6ad91ef0
test al, al
je 0x6adc2928
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
and dword [ebx + 0x24], 0xfffffbff
jmp 0x6adc2908
lea esp, [ebp - 0xc]
mov eax, 0x27
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [ebp - 0x402c], 1
jne 0x6adc28a6
jmp 0x6adc280d
cmp eax, 2
jg 0x6adc2d8f
mov eax, dword [ebp - 0x40a0]
mov dword [ebp - 0x407c], edx
mov ecx, edx
mov dword [ebp - 0x404c], 0x18
mov esi, dword [eax + 0x98]
mov edi, dword [eax + 0x9c]
mov dword [ebp - 0x4048], 0
mov dword [ebp - 0x4040], 0
mov dword [ebp - 0x40c0], esi
mov esi, dword [eax + 0x90]
mov dword [ebp - 0x40bc], edi
mov edi, dword [eax + 0x94]
lea eax, [ebp - 0x4080]
mov dword [ebp - 0x40b0], esi
xor esi, esi
mov dword [ebp - 0x40ac], edi
mov edi, dword [ebp - 0x40a8]
mov dword [ebp - 0x403c], 0
mov dword [ebp - 0x4038], 0
mov word [ebp - 0x4080], si
mov dword [ebp - 0x40b4], edx
mov dword [ebp - 0x40a8], ebx
mov dword [ebp - 0x4044], eax
xor eax, eax
lea esi, [esi]
mov esi, ecx
cmp edi, ecx
jne 0x6adc2a13
jmp 0x6adc2aa0
add esi, 2
cmp edi, esi
je 0x6adc2aa0
cmp word [esi], 0x5c
jne 0x6adc2a08
jmp 0x6adc2a23
add esi, 2
cmp edi, esi
je 0x6adc2aa0
cmp word [esi], 0x5c
je 0x6adc2a20
mov edx, esi
sub edx, ecx
add edx, eax
mov eax, edx
movzx edx, dx
shl eax, 0x10
or edx, eax
lea eax, [ebp - 0x4078]
mov dword [ebp - 0x4080], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x404c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x408c]
mov dword [esp + 0x14], 0x4000
mov dword [esp + 0x10], 7
mov dword [esp + 4], 0xa0
mov dword [esp], eax
call sub.ntdll.dll_NtOpenFile
mov ecx, esi
sub esp, 0x18
test eax, eax
jns 0x6adc2afb
cmp edi, esi
je 0x6adc2d5b
movzx eax, word [ebp - 0x4080]
jmp 0x6adc29f8
mov edx, esi
sub edx, ecx
add edx, eax
mov eax, edx
movzx edx, dx
shl eax, 0x10
or edx, eax
lea eax, [ebp - 0x4078]
mov dword [ebp - 0x4080], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x404c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x408c]
mov dword [esp + 0x14], 0x4000
mov dword [esp + 0x10], 7
mov dword [esp + 4], 0xa0
mov dword [esp], eax
call sub.ntdll.dll_NtOpenFile
sub esp, 0x18
test eax, eax
js 0x6adc2d5b
mov eax, dword [ebp - 0x4048]
test eax, eax
je 0x6adc2b10
mov dword [esp], eax
call sub.ntdll.dll_NtClose
sub esp, 4
mov ebx, dword [ebp - 0x408c]
xor ecx, ecx
lea eax, [ebp - 0x4088]
mov dword [ebp - 0x407c], esi
mov word [ebp - 0x4080], cx
mov dword [ebp - 0x4048], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x4070]
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ntdll.dll_NtQueryInformationFile
sub esp, 0x14
test eax, eax
js 0x6adc2b7a
mov eax, dword [ebp - 0x40b0]
mov edx, dword [ebp - 0x40ac]
xor eax, dword [ebp - 0x4088]
xor edx, dword [ebp - 0x4084]
or eax, edx
je 0x6adc2b88
mov ecx, esi
jmp 0x6adc2a86
lea eax, [ebp - 0x4068]
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
lea eax, [ebp - 0x4070]
mov dword [esp + 0xc], 0x18
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ntdll.dll_NtQueryVolumeInformationFile
sub esp, 0x14
test eax, eax
jns 0x6adc2bc2
cmp eax, 0x80000005
jne 0x6adc2b7a
cmp dword [ebp - 0x406c], 0xb
jbe 0x6adc2b7a
mov ecx, dword [ebp - 0x4060]
mov eax, dword [ebp - 0x40c0]
xor ebx, ebx
mov edx, dword [ebp - 0x40bc]
xor eax, ecx
xor edx, ebx
or eax, edx
jne 0x6adc2b7a
mov eax, dword [ebp - 0x4048]
mov edx, dword [ebp - 0x40b4]
mov ebx, dword [ebp - 0x40a8]
test eax, eax
jne 0x6adc2d73
mov ecx, dword [ebp - 0x4028]
cmp edx, esi
jb 0x6adc2c17
jmp 0x6adc2c1e
sub esi, 2
cmp edx, esi
jae 0x6adc2c1e
cmp word [esi - 2], 0x5c
je 0x6adc2c10
cmp esi, ecx
je 0x6adc2833
sub ecx, esi
add ecx, dword [ebp - 0x4020]
lea edx, [ecx + 0xc]
and edx, 0xfffffffe
lea eax, [edx + 0xf]
mov dword [ebp - 0x40b0], edx
shr eax, 4
shl eax, 4
call fcn.6adc7100
sub esp, eax
mov eax, dword [str.__X:e]
mov dword [esp + 8], ecx
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x6adeef54]
mov dword [esp + 4], esi
mov dword [esp + 0x20], eax
mov eax, dword [0x6adeef58]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x40b0]
mov dword [ebp - 0x4028], edi
lea edi, [esp + 0x24]
lea eax, [ebp - 0x4092]
mov dword [ebp - 0x4024], edi
mov dword [ebp - 0x4020], edx
sub edx, 8
mov dword [ebp - 0x401c], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0x4018]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4034]
mov dword [esp], eax
call fcn.6ada4240
test eax, eax
je 0x6adc2cd8
mov esp, dword [ebp - 0x40a4]
jmp 0x6adc28a6
mov ecx, dword [ebp - 0x401c]
mov dword [ebp - 0x40b0], esp
mov edi, ecx
shr edi, 1
lea eax, [edi + edi + 0x11]
shr eax, 4
shl eax, 4
call fcn.6adc7100
sub esp, eax
mov eax, dword [ebp - 0x4024]
and ecx, 0xfffffffe
lea esi, [esp + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_memcpy
xor eax, eax
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x40a0]
mov dword [eax + 0x2c], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.6ada69d0
mov esp, dword [ebp - 0x40b0]
test eax, eax
je 0x6adc2db0
mov esp, dword [ebp - 0x40a4]
cmp eax, 0xffffffff
jne 0x6adc290a
jmp 0x6adc28a1
mov eax, dword [ebp - 0x4048]
mov edx, dword [ebp - 0x40b4]
mov ebx, dword [ebp - 0x40a8]
test eax, eax
je 0x6adc2dbb
mov esi, edx
mov dword [ebp - 0x40b0], edx
mov dword [esp], eax
call sub.ntdll.dll_NtClose
mov edx, dword [ebp - 0x40b0]
sub esp, 4
jmp 0x6adc2c01
cmp word [edx + 2], 0x5c
jne 0x6adc2959
jmp 0x6adc2833
test eax, eax
je 0x6adc28a6
jmp 0x6adc290a
mov esp, dword [ebp - 0x40a4]
jmp 0x6adc28a1
mov ecx, dword [ebp - 0x4028]
mov esi, edx
jmp 0x6adc2c1e
mov ebx, dword [ebp - 0x409c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x80]
mov dword [esp], eax
mov dword [esp + 4], str.__ls_:_Cant_get_reparse_point
add edx, 8
mov dword [esp + 8], edx
call fcn.6add8113
mov eax, 0x33
jmp 0x6adc290a
mov eax, dword [ebp - 0x409c]
mov eax, dword [eax]
mov eax, dword [eax + 0x80]
mov dword [esp], str.Ignoring_reparse_data_of_encrypted_file___ls_
add eax, 8
mov dword [esp + 4], eax
call fcn.6add560c
jmp 0x6adc2908
mov eax, dword [ebp - 0x409c]
mov eax, dword [eax]
mov eax, dword [eax + 0x80]
mov dword [esp], str.__ls_:_reparse_point_buffer_is_too_short
add eax, 8
mov dword [esp + 4], eax
call fcn.6add55ba
mov eax, 0x1b
jmp 0x6adc290a