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

Disassembly:
push 0x8c
mov eax, 0x479835
call fcn.0045e88a
mov esi, ecx
mov ecx, dword [esi + 0x6a8]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x40268c
mov eax, dword [esi + 0x6a8]
mov ebx, dword [esi + 0x6ac]
jmp 0x402698
mov eax, dword [esi + 0x6ac]
mov ebx, dword [esi + 0x6a8]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x402931
test ebx, ebx
je 0x402931
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 0x4026fb
push 0x6b8
call fcn.0045d68c
pop ecx
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x4026ed
push ecx
push ecx
push str.parent
push eax
call fcn.004017e0
jmp 0x4026ef
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 0x47d4c4
push eax
mov ecx, esi
call fcn.0040af92
pop ecx
pop ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.00402d91
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 0x402847
lea esi, [ebp - 0x48]
call fcn.0041c996
cmp dword [eax + 0x18], 8
jb 0x402752
mov esi, dword [eax + 4]
jmp 0x402755
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 0x40283f
push str._Recycle
push esi
call edi
test eax, eax
jne 0x40283f
push 0x47d4b4
push esi
call edi
test eax, eax
jne 0x40283f
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.0041c996
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x40]
push ecx
call fcn.0040306d
call fcn.0041c996
cmp dword [eax + 0x18], 8
jb 0x4027c3
mov eax, dword [eax + 4]
jmp 0x4027c6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402830
lea esi, [ebp - 0x48]
test al, 0x10
je 0x4027f8
call fcn.0041c996
cmp dword [eax + 0x18], 8
jb 0x4027e9
mov eax, dword [eax + 4]
jmp 0x4027ec
add eax, 4
push eax
call fcn.0040b595
mov byte [ebp - 0x18], 1
jmp 0x402815
call fcn.0041c996
cmp dword [eax + 0x18], 8
jb 0x402808
mov eax, dword [eax + 4]
jmp 0x40280b
add eax, 4
push eax
call fcn.0040b257
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.0040319f
push edi
push 1
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040144b
lea esi, [ebp - 0x48]
call fcn.00403152
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x48]
call fcn.00413a3f
test al, al
je 0x40273f
lea eax, [ebp - 0x78]
push eax
call fcn.00402ded
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 0x402883
cmp eax, dword [ebp - 0x5c]
je 0x402888
call fcn.0045dcc3
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x4c], eax
je 0x4028f0
push 0x6b8
call fcn.0045d68c
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4028d4
lea esi, [ebp - 0x50]
call fcn.0040a581
mov edi, eax
call fcn.0040a581
cmp dword [eax + 0x18], 8
jb 0x4028c0
mov eax, dword [eax + 4]
jmp 0x4028c3
add eax, 4
push dword [edi + 0x24]
push dword [edi + 0x20]
push eax
push dword [ebp - 0x44]
call fcn.004017e0
jmp 0x4028d6
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.0040d9fb
jmp 0x402877
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.00402dce
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x98]
push eax
call fcn.00402d69
call fcn.0045e90d
ret