Function at 0x4063d0
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431838
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x441008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x44]
movlpd qword [ebp - 0x2e8], xmm0
call fcn.00402c5e
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x44]
call fcn.004087f0
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x60]
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
movlpd qword [ebp - 0x68], xmm0
call fcn.00402c4b
mov byte [ebp - 4], 2
push 4
mov dword [ebp - 0x14], 0
call fcn.004226e9
add esp, 4
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 3
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
push 0x43742c
lea ecx, [ebp - 0x2c]
call fcn.00407530
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00412d10
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
mov esi, dword [ebp - 0x14]
test bl, bl
je 0x4066ae
lea ecx, [ebp - 0x88]
call fcn.00412b20
test al, al
jne 0x40654f
mov eax, dword [ebp - 0x68]
and eax, 0x10
or eax, 0
je 0x4064fc
mov al, 1
jmp 0x4064fe
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
je 0x406535
call fcn.004049d0
add esp, 4
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.004063d0
mov ebx, eax
mov dword [ebp - 0x2dc], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
jmp 0x406561
call fcn.004049d0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00413700
movzx eax, al
cdq
jmp 0x40651f
mov edx, dword [ebp - 0x2e4]
mov ebx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2dc], edx
mov edi, dword [ebp - 0x2dc]
cmp dword [esi], 0xffffffff
je 0x4066ba
push 0x250
lea eax, [ebp - 0x2d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4066ba
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.00412b80
mov edx, dword [ebp - 0x68]
and edx, 0x10
mov eax, edx
or eax, 0
je 0x4065c1
mov al, 1
jmp 0x4065c3
xor al, al
test al, al
je 0x40661f
lea ecx, [ebp - 0x60]
call fcn.00402ba5
test al, al
jne 0x40661f
call fcn.00402cf0
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x4065e2
mov eax, dword [edi]
cmp word [eax], 0x2e
jne 0x40661f
lea ecx, [ebp - 0x60]
call fcn.00402d70
cmp eax, 1
je 0x406561
cmp dword [edi + 0x14], 8
jb 0x406601
mov edi, dword [edi]
cmp word [edi + 2], 0x2e
jne 0x40661f
lea ecx, [ebp - 0x60]
call fcn.00402d70
mov edi, dword [ebp - 0x2dc]
cmp eax, 2
je 0x406567
or edx, 0
je 0x406628
mov al, 1
jmp 0x40662a
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
je 0x406672
lea ecx, [ebp - 0x300]
call fcn.004049d0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.004063d0
mov edi, dword [ebp - 0x2dc]
add ebx, eax
adc edi, edx
mov dword [ebp - 0x2dc], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x300]
call fcn.00402b04
jmp 0x406567
lea ecx, [ebp - 0x2c]
call fcn.004049d0
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00413700
mov edi, dword [ebp - 0x2dc]
movzx eax, al
cdq
add ebx, eax
adc edi, edx
mov dword [ebp - 0x2dc], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
jmp 0x406567
mov edi, dword [ebp - 0x2e4]
mov ebx, dword [ebp - 0x2e8]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4066d2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4066d2
mov dword [esi], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40683c
lea ecx, [ebp - 0x2c]
call fcn.00402c4b
mov byte [ebp - 4], 0xa
mov edx, ecx
lea ecx, [ebp - 0x44]
call fcn.00414a20
test al, al
je 0x40671a
lea ecx, [ebp - 0x2c]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406830
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
lea ecx, [ebp - 0x44]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2dc], eax
cmp eax, 0xffffffff
jne 0x406788
lea ecx, [ebp - 0x2c]
call fcn.00402c4b
mov byte [ebp - 4], 0xb
mov edx, ecx
lea ecx, [ebp - 0x44]
call fcn.00414a20
test al, al
je 0x40676f
lea ecx, [ebp - 0x2c]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
cmp dword [ebp - 0x2dc], 0xffffffff
je 0x406842
push 0
lea ecx, [ebp - 0x44]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4067d4
lea ecx, [ebp - 0x2c]
call fcn.00402c4b
mov byte [ebp - 4], 0xc
mov edx, ecx
lea ecx, [ebp - 0x44]
call fcn.00414a20
test al, al
je 0x4067c8
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
lea ecx, [ebp - 0x44]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40683c
lea ecx, [ebp - 0x2c]
call fcn.00402c4b
mov byte [ebp - 4], 0xd
mov edx, ecx
lea ecx, [ebp - 0x44]
call fcn.00414a20
test al, al
je 0x406814
lea ecx, [ebp - 0x2c]
call fcn.00402bad
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406830
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
mov edx, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x44]
call fcn.004134a0
jmp 0x406842
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402b04
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 2
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40685e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x40685e
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.00422996
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00402b04
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00402b04
mov eax, ebx
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004226d8
mov esp, ebp
pop ebp
ret