Function at 0x4ad1da2a
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x4ad33b78]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x638], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x62c]
push eax
mov edi, 0x80
push edi
push 0xfe00
call fcn.4ad0ca49
cmp eax, ebx
mov dword [ebp - 0x628], eax
je 0x4ad1df5b
cmp dword [0x4ad33b30], ebx
je 0x4ad1dab3
push 1
lea eax, [ebp - 0x640]
push eax
push edi
push dword [ebp - 0x62c]
call fcn.4ad0ca49
cmp eax, ebx
mov dword [ebp - 0x634], eax
je 0x4ad1df5b
mov eax, dword [ebp - 0x640]
cmp dword [ebp - 0x62c], eax
jb 0x4ad1dab3
mov dword [ebp - 0x62c], eax
mov esi, dword [esi + 0x1c]
jmp 0x4ad1dac3
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x4ad1df3f
push dword [esi]
call fcn.4ad0cd64
test eax, eax
je 0x4ad1dab8
lea eax, [ebp - 0x624]
push eax
push dword [esi + 0x14]
push 0x21
push dword [esi]
call fcn.4ad02a34
and byte [esi + 0x19], 0x3f
mov eax, dword [esi + 0x18]
test al, 4
je 0x4ad1daf5
and eax, 0xfffffffb
or eax, 2
mov dword [esi + 0x18], eax
cmp dword [0x4ad2b9e8], ebx
jne 0x4ad1df50
lea eax, [ebp - 0x61c]
push eax
push esi
call fcn.4ad0e49a
xor edi, edi
inc edi
cmp eax, edi
je 0x4ad1df60
push dword [esi + 4]
push str._s_r_n
call fcn.4ad05e00
pop ecx
pop ecx
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x638]
push esi
call fcn.4ad0e5e2
cmp eax, edi
je 0x4ad1df60
cmp word [ebp - 0x20c], bx
je 0x4ad1df1c
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call fcn.4ad1d645
test eax, eax
je 0x4ad1db89
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
push esi
push dword [esi + 4]
call fcn.4ad1d6bb
mov dword [ebp - 0x620], eax
jmp 0x4ad1dd7c
push ebx
push dword [esi + 4]
call fcn.4ad0e8ae
mov edi, eax
cmp edi, 0xffffffff
je 0x4ad1df6f
push edi
call fcn.4ad02c65
test eax, eax
je 0x4ad1dbb1
mov dword [ebp - 0x62c], 0x80
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x630]
push esi
push eax
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
push edi
call fcn.4ad0e551
cmp dword [0x4ad2ba04], ebx
mov dword [ebp - 0x63c], eax
jne 0x4ad1df86
lea eax, [ebp - 0x20c]
push eax
call dword [0x4ad010e4]
test al, 2
lea eax, [ebp - 0x20c]
jne 0x4ad1dc09
push eax
call fcn.4ad1e11e
jmp 0x4ad1dc12
push ebx
push 1
push eax
call fcn.4ad1e100
cmp eax, 0xffffffff
mov dword [ebp - 0x620], eax
je 0x4ad1df86
cmp dword [0x4ad33b18], ebx
je 0x4ad1dcc6
cmp dword [ebp - 0x630], ebx
jle 0x4ad1dd64
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
push dword [ebp - 0x628]
push dword [ebp - 0x620]
call fcn.4ad1d974
cmp dword [0x4ad33b30], ebx
je 0x4ad1dd64
push dword [ebp - 0x620]
call fcn.4ad02c65
test eax, eax
jne 0x4ad1dd64
push dword [ebp - 0x634]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x628]
push dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.4ad1d7c8
cmp eax, 1
jne 0x4ad1dd64
push dword [ebp - 0x624]
call fcn.4ad01c24
push edi
call fcn.4ad02e00
push dword [ebp - 0x620]
call fcn.4ad02e00
jmp 0x4ad1df81
cmp dword [ebp - 0x63c], 1
jne 0x4ad1dd70
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
push dword [ebp - 0x628]
push dword [ebp - 0x620]
call fcn.4ad1d974
cmp dword [0x4ad33b30], ebx
je 0x4ad1dd37
push dword [ebp - 0x620]
call fcn.4ad02c65
test eax, eax
jne 0x4ad1dd37
push dword [ebp - 0x634]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x628]
push dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.4ad1d7c8
cmp eax, 1
je 0x4ad1dca5
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x630]
push esi
push eax
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
push edi
call fcn.4ad0e551
mov dword [ebp - 0x63c], eax
cmp dword [0x4ad33b18], ebx
je 0x4ad1dcc6
push edi
mov dword [0x4ad33b18], ebx
call fcn.4ad02e00
mov dword [0x4ad33b50], ebx
mov edi, dword [esi + 0x1c]
jmp 0x4ad1def0
mov eax, dword [edi + 0x18]
test al, 4
je 0x4ad1dd9a
and eax, 0xfffffffb
or eax, 2
mov dword [edi + 0x18], eax
push 0x104
push dword [esi + 4]
lea eax, [ebp - 0x414]
push dword [edi]
push eax
call fcn.4ad0e6d3
cmp eax, ebx
je 0x4ad1ddbd
push ebx
push eax
call fcn.4ad0bfae
jmp 0x4ad1ddce
lea eax, [ebp - 0x414]
push eax
push str._s_r_n
call fcn.4ad05e00
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call fcn.4ad0cd64
test eax, eax
je 0x4ad1deed
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.4ad1d645
test eax, eax
push ebx
je 0x4ad1de0d
push 0x2340
call fcn.4ad0bfae
pop ecx
pop ecx
jmp 0x4ad1deed
lea eax, [ebp - 0x414]
push eax
call fcn.4ad0e8ae
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ad1df99
push ebx
call fcn.4ad02c65
test eax, eax
je 0x4ad1ded1
mov dword [ebp - 0x62c], 0x80
jmp 0x4ad1ded1
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x620]
lea eax, [ebp - 0x630]
push edi
push eax
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
push ebx
call fcn.4ad0e551
test eax, eax
je 0x4ad1dede
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
push dword [ebp - 0x628]
push dword [ebp - 0x620]
call fcn.4ad1d974
cmp dword [0x4ad33b30], 0
je 0x4ad1ded1
push dword [ebp - 0x620]
call fcn.4ad02c65
test eax, eax
jne 0x4ad1ded1
push dword [ebp - 0x634]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x628]
push dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.4ad1d7c8
cmp eax, 1
je 0x4ad1dfb8
cmp dword [0x4ad33b18], 0
je 0x4ad1de41
and dword [0x4ad33b18], 0
push ebx
call fcn.4ad02e00
xor ebx, ebx
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x4ad1dd8a
push ebx
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x638]
push esi
call fcn.4ad0e3b8
mov dword [0x4ad33b4c], 1
push dword [ebp - 0x624]
push 0x21
push dword [esi + 0x14]
call fcn.4ad0649c
test al, al
jne 0x4ad1dae1
push dword [ebp - 0x624]
call fcn.4ad01c24
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.4ad01305
leave
ret 8
push dword [ebp - 0x624]
call fcn.4ad01c24
xor eax, eax
inc eax
jmp 0x4ad1df41
push dword [ebp - 0x624]
call fcn.4ad01c24
mov eax, edi
jmp 0x4ad1df41
push dword [ebp - 0x624]
call fcn.4ad01c24
push 0x6e
call fcn.4ad0c21a
push 1
push ebx
jmp 0x4ad1dfd8
push dword [ebp - 0x624]
call fcn.4ad01c24
push edi
call fcn.4ad02e00
jmp 0x4ad1df7a
push dword [ebp - 0x624]
call fcn.4ad01c24
push dword [ebp - 0x620]
call fcn.4ad02e00
push 0x6e
call fcn.4ad0c21a
jmp 0x4ad1dfd4
push dword [ebp - 0x624]
call fcn.4ad01c24
push ebx
call fcn.4ad02e00
push dword [ebp - 0x620]
call fcn.4ad02e00
push 1
push 0
call fcn.4ad0c2b1
nop
nop
nop
nop
nop