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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b788
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x10002
call fcn.0047d522
mov ebx, eax
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], ebx
add esp, 4
mov word [ebx], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x7e4], eax
jle 0x413d83
mov eax, dword [edi + 0x7e8]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
jmp 0x413d85
xor esi, esi
cmp word [esi + 2], 0x3a
jne 0x413daf
cmp word [esi + 4], 0x5c
je 0x413daf
push 3
push esi
mov ecx, 0x3c
call fcn.0045a590
push eax
mov ecx, edi
call fcn.00419420
xor esi, esi
jmp 0x414043
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x834]
push 0x8000
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x413ddf
push 1
push esi
push 0x4afb34
mov ecx, edi
call fcn.00419420
xor esi, esi
jmp 0x414043
mov ecx, dword [edi + 0x834]
mov edx, ecx
call fcn.0045e950
mov ecx, dword [edi + 0x834]
mov edx, ebx
mov dword [ebp - 0x14], 0xffffffff
call fcn.00457220
push ebx
lea ecx, [edi + 0x7d0]
call fcn.00456200
mov eax, dword [edi + 0x7e4]
lea ecx, [eax - 1]
cmp ecx, eax
jge 0x413e27
mov eax, dword [edi + 0x7e8]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x10]
jmp 0x413e29
xor esi, esi
test esi, esi
je 0x413e35
cmp esi, dword [edi + 0x8d4]
je 0x413e70
mov eax, dword [edi + 0x8d4]
test eax, eax
je 0x413e52
push eax
call fcn.0047d4ed
add esp, 4
mov dword [edi + 0x8d4], 0
mov dword [edi + 0x8d8], 0xffffffff
test esi, esi
je 0x413e70
or edx, 0xffffffff
mov ecx, esi
call fcn.00412220
mov dword [edi + 0x8d4], eax
cmp dword [edi + 0x7e4], 2
jl 0x413e84
lea ecx, [edi + 0x7d0]
call fcn.004562f0
mov ecx, dword [edi + 0x834]
mov edx, ecx
call fcn.0045e850
push dword [edi + 0x834]
mov dword [edi + 0x84c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x413eb2
mov dword [edi + 0x688], 5
test al, 0x10
jne 0x413ed1
push 3
push dword [edi + 0x834]
mov ecx, edi
push str.Not_a_directory
call fcn.00419420
xor esi, esi
jmp 0x414043
mov edx, dword [edi + 0x834]
mov ecx, ebx
push 0x8000
mov dword [ebp - 0x14], 0xffffffff
call fcn.0041ae80
mov ecx, dword [edi + 0x834]
add esp, 4
mov edx, ebx
push 0x7fffffff
push 0x4afb74
call fcn.0045c480
mov edx, dword [edi + 0x834]
add esp, 8
mov ecx, edx
mov eax, ebx
mov si, word [eax]
cmp si, word [ecx]
jne 0x413f37
test si, si
je 0x413f33
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x413f37
add eax, 4
add ecx, 4
test si, si
jne 0x413f11
xor eax, eax
jmp 0x413f3c
sbb eax, eax
or eax, 1
test eax, eax
je 0x413f4d
cmp dword [edi + 0x7c4], 1
jg 0x413f4d
xor eax, eax
jmp 0x413f52
mov eax, 1
mov dword [edi + 0x850], eax
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x413f60
sub edx, ecx
mov esi, 0x4c2758
sar edx, 1
mov ecx, esi
mov dword [edi + 0x844], edx
mov eax, dword [edi + 0x8d4]
test eax, eax
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.00413aa0
mov dword [edi + 0x8cc], eax
mov ecx, edi
mov eax, dword [edi + 0x8d4]
test eax, eax
cmovne esi, eax
lea eax, [edi + 0x8b0]
push eax
push esi
call fcn.00413ca0
mov dword [edi + 0x8ac], eax
mov eax, dword [edi + 0x8cc]
test al, 0x10
je 0x413fc9
or ecx, 0xffffffff
mov eax, 0x7fffffff
jmp 0x413fe7
test al, 5
je 0x413fdb
mov ecx, dword [edi + 0x6d8]
mov eax, dword [edi + 0x6dc]
jmp 0x413fe7
mov ecx, dword [edi + 0x6e0]
mov eax, dword [edi + 0x6e4]
push dword [edi + 0x6e4]
mov dword [edi + 0x870], ecx
push dword [edi + 0x6e0]
mov dword [edi + 0x874], eax
push dword [edi + 0x6dc]
push dword [edi + 0x6d8]
push eax
push ecx
push str.minSize___lld__ntfs_lld_fat_lld__n
call fcn.00459e20
mov ecx, dword [edi + 0x834]
add esp, 0x1c
mov edx, dword [edi + 0x838]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x414026
mov ecx, edi
call fcn.00414130
mov esi, 1
push ebx
call fcn.0047d4ed
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret