Function at 0x402705
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x8c
mov eax, 0x47d413
call fcn.0046215a
mov esi, ecx
mov ecx, dword [esi + 0x6a8]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x402736
mov eax, dword [esi + 0x6a8]
mov ebx, dword [esi + 0x6ac]
jmp 0x402742
mov eax, dword [esi + 0x6ac]
mov ebx, dword [esi + 0x6a8]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x4029db
test ebx, ebx
je 0x4029db
lea edi, [ebx + 0x658]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x4027a5
push 0x6b8
call fcn.00460dab
pop ecx
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x402797
push ecx
push ecx
push str.parent
push eax
call fcn.004017e0
jmp 0x402799
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x14]
lea eax, [ebp - 0x98]
push 0x4814d4
push eax
mov ecx, esi
call fcn.0040da3d
pop ecx
pop ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.00402e31
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jmp 0x4028f1
lea esi, [ebp - 0x48]
call fcn.0041facf
cmp dword [eax + 0x18], 8
jb 0x4027fc
mov esi, dword [eax + 4]
jmp 0x4027ff
lea esi, [eax + 4]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.System_Volume_Information
push esi
call edi
test eax, eax
jne 0x4028e9
push str._Recycle
push esi
call edi
test eax, eax
jne 0x4028e9
push 0x4814c4
push esi
call edi
test eax, eax
jne 0x4028e9
xor edi, edi
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x3c], ax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0041facf
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x40]
push ecx
call fcn.0040310d
call fcn.0041facf
cmp dword [eax + 0x18], 8
jb 0x40286d
mov eax, dword [eax + 4]
jmp 0x402870
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4028da
lea esi, [ebp - 0x48]
test al, 0x10
je 0x4028a2
call fcn.0041facf
cmp dword [eax + 0x18], 8
jb 0x402893
mov eax, dword [eax + 4]
jmp 0x402896
add eax, 4
push eax
call fcn.0040e040
mov byte [ebp - 0x18], 1
jmp 0x4028bf
call fcn.0041facf
cmp dword [eax + 0x18], 8
jb 0x4028b2
mov eax, dword [eax + 4]
jmp 0x4028b5
add eax, 4
push eax
call fcn.0040dd02
mov byte [ebp - 0x18], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x1c], edx
call fcn.0040323f
push edi
push 1
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040144b
lea esi, [ebp - 0x48]
call fcn.004031f2
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x48]
call fcn.0041daac
test al, al
je 0x4027e9
lea eax, [ebp - 0x78]
push eax
call fcn.00402e8d
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x40292d
cmp eax, dword [ebp - 0x5c]
je 0x402932
call fcn.004613e3
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x4c], eax
je 0x40299a
push 0x6b8
call fcn.00460dab
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x40297e
lea esi, [ebp - 0x50]
call fcn.0040393b
mov edi, eax
call fcn.0040393b
cmp dword [eax + 0x18], 8
jb 0x40296a
mov eax, dword [eax + 4]
jmp 0x40296d
add eax, 4
push dword [edi + 0x24]
push dword [edi + 0x20]
push eax
push dword [ebp - 0x44]
call fcn.004017e0
jmp 0x402980
xor eax, eax
lea ecx, [ebx + 0x658]
mov byte [ebp - 4], 2
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
lea esi, [ebp - 0x50]
call fcn.0040341c
jmp 0x402921
mov edx, dword [ebx]
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, ebx
call dword [edx + 0x19c]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0xe0]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
lea ecx, [ebp - 0x78]
call fcn.00402e6e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x98]
push eax
call fcn.00402e09
call fcn.004621dd
ret