Function at 0x4ad1da02
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.4ad07811
cmp eax, ebx
mov dword [ebp - 0x628], eax
je 0x4ad1df33
cmp dword [0x4ad33b30], ebx
je 0x4ad1da8b
push 1
lea eax, [ebp - 0x640]
push eax
push edi
push dword [ebp - 0x62c]
call fcn.4ad07811
cmp eax, ebx
mov dword [ebp - 0x634], eax
je 0x4ad1df33
mov eax, dword [ebp - 0x640]
cmp dword [ebp - 0x62c], eax
jb 0x4ad1da8b
mov dword [ebp - 0x62c], eax
mov esi, dword [esi + 0x1c]
jmp 0x4ad1da9b
mov esi, dword [esi + 0x1c]
cmp esi, ebx
je 0x4ad1df17
push dword [esi]
call fcn.4ad0f712
test eax, eax
je 0x4ad1da90
lea eax, [ebp - 0x624]
push eax
push dword [esi + 0x14]
push 0x21
push dword [esi]
call fcn.4ad02a4c
and byte [esi + 0x19], 0x3f
mov eax, dword [esi + 0x18]
test al, 4
je 0x4ad1dacd
and eax, 0xfffffffb
or eax, 2
mov dword [esi + 0x18], eax
cmp dword [0x4ad2b9e8], ebx
jne 0x4ad1df28
lea eax, [ebp - 0x61c]
push eax
push esi
call fcn.4ad07c28
xor edi, edi
inc edi
cmp eax, edi
je 0x4ad1df38
push dword [esi + 4]
push 0x4ad3cbe0
call fcn.4ad05e0c
pop ecx
pop ecx
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x638]
push esi
call fcn.4ad07d70
cmp eax, edi
je 0x4ad1df38
cmp word [ebp - 0x20c], bx
je 0x4ad1def4
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call fcn.4ad1d61d
test eax, eax
je 0x4ad1db61
push dword [ebp - 0x62c]
push dword [ebp - 0x628]
push esi
push dword [esi + 4]
call fcn.4ad1d693
mov dword [ebp - 0x620], eax
jmp 0x4ad1dd54
push ebx
push dword [esi + 4]
call fcn.4ad0803b
mov edi, eax
cmp edi, 0xffffffff
je 0x4ad1df47
push edi
call fcn.4ad02c7d
test eax, eax
je 0x4ad1db89
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.4ad07cdf
cmp dword [0x4ad2ba04], ebx
mov dword [ebp - 0x63c], eax
jne 0x4ad1df5e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 2
lea eax, [ebp - 0x20c]
jne 0x4ad1dbe1
push eax
call fcn.4ad1e0f6
jmp 0x4ad1dbea
push ebx
push 1
push eax
call fcn.4ad1e0d8
cmp eax, 0xffffffff
mov dword [ebp - 0x620], eax
je 0x4ad1df5e
cmp dword [0x4ad33b18], ebx
je 0x4ad1dc9e
cmp dword [ebp - 0x630], ebx
jle 0x4ad1dd3c
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
push dword [ebp - 0x628]
push dword [ebp - 0x620]
call fcn.4ad1d94c
cmp dword [0x4ad33b30], ebx
je 0x4ad1dd3c
push dword [ebp - 0x620]
call fcn.4ad02c7d
test eax, eax
jne 0x4ad1dd3c
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.4ad1d7a0
cmp eax, 1
jne 0x4ad1dd3c
push dword [ebp - 0x624]
call fcn.4ad01c38
push edi
call fcn.4ad02e18
push dword [ebp - 0x620]
call fcn.4ad02e18
jmp 0x4ad1df59
cmp dword [ebp - 0x63c], 1
jne 0x4ad1dd48
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
push dword [ebp - 0x628]
push dword [ebp - 0x620]
call fcn.4ad1d94c
cmp dword [0x4ad33b30], ebx
je 0x4ad1dd0f
push dword [ebp - 0x620]
call fcn.4ad02c7d
test eax, eax
jne 0x4ad1dd0f
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.4ad1d7a0
cmp eax, 1
je 0x4ad1dc7d
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.4ad07cdf
mov dword [ebp - 0x63c], eax
cmp dword [0x4ad33b18], ebx
je 0x4ad1dc9e
push edi
mov dword [0x4ad33b18], ebx
call fcn.4ad02e18
mov dword [0x4ad33b50], ebx
mov edi, dword [esi + 0x1c]
jmp 0x4ad1dec8
mov eax, dword [edi + 0x18]
test al, 4
je 0x4ad1dd72
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.4ad07e61
cmp eax, ebx
je 0x4ad1dd95
push ebx
push eax
call fcn.4ad069f4
jmp 0x4ad1dda6
lea eax, [ebp - 0x414]
push eax
push 0x4ad3cbe0
call fcn.4ad05e0c
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call fcn.4ad0f712
test eax, eax
je 0x4ad1dec5
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.4ad1d61d
test eax, eax
push ebx
je 0x4ad1dde5
push 0x2340
call fcn.4ad069f4
pop ecx
pop ecx
jmp 0x4ad1dec5
lea eax, [ebp - 0x414]
push eax
call fcn.4ad0803b
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ad1df71
push ebx
call fcn.4ad02c7d
test eax, eax
je 0x4ad1dea9
mov dword [ebp - 0x62c], 0x80
jmp 0x4ad1dea9
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.4ad07cdf
test eax, eax
je 0x4ad1deb6
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x630]
push dword [ebp - 0x628]
push dword [ebp - 0x620]
call fcn.4ad1d94c
cmp dword [0x4ad33b30], 0
je 0x4ad1dea9
push dword [ebp - 0x620]
call fcn.4ad02c7d
test eax, eax
jne 0x4ad1dea9
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.4ad1d7a0
cmp eax, 1
je 0x4ad1df90
cmp dword [0x4ad33b18], 0
je 0x4ad1de19
and dword [0x4ad33b18], 0
push ebx
call fcn.4ad02e18
xor ebx, ebx
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x4ad1dd62
push ebx
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x638]
push esi
call fcn.4ad07b46
mov dword [0x4ad33b4c], 1
push dword [ebp - 0x624]
push 0x21
push dword [esi + 0x14]
call fcn.4ad067d0
test al, al
jne 0x4ad1dab9
push dword [ebp - 0x624]
call fcn.4ad01c38
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.4ad01c38
xor eax, eax
inc eax
jmp 0x4ad1df19
push dword [ebp - 0x624]
call fcn.4ad01c38
mov eax, edi
jmp 0x4ad1df19
push dword [ebp - 0x624]
call fcn.4ad01c38
push 0x6e
call fcn.4ad1194d
push 1
push ebx
jmp 0x4ad1dfb0
push dword [ebp - 0x624]
call fcn.4ad01c38
push edi
call fcn.4ad02e18
jmp 0x4ad1df52
push dword [ebp - 0x624]
call fcn.4ad01c38
push dword [ebp - 0x620]
call fcn.4ad02e18
push 0x6e
call fcn.4ad1194d
jmp 0x4ad1dfac
push dword [ebp - 0x624]
call fcn.4ad01c38
push ebx
call fcn.4ad02e18
push dword [ebp - 0x620]
call fcn.4ad02e18
push 1
push 0
call fcn.4ad119e4
nop
nop
nop
nop
nop