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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c570
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x492014]
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.00403a40
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x44]
call fcn.00417e60
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.00403a20
mov byte [ebp - 4], 2
push 4
mov dword [ebp - 0x14], 0
call fcn.004345e2
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 0x480374
lea ecx, [ebp - 0x2c]
call fcn.0040b550
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e140
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
mov esi, dword [ebp - 0x14]
test bl, bl
je 0x415291
mov edi, dword [ebp - 0x68]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x4150af
mov al, 1
jmp 0x4150b1
xor al, al
test al, al
je 0x415102
lea ecx, [ebp - 0x60]
call fcn.00403b30
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x415102
mov ebx, dword [eax + 0x14]
mov edx, eax
cmp ebx, 8
jb 0x4150d0
mov edx, dword [eax]
cmp word [edx], 0x2e
jne 0x415102
cmp ecx, 1
je 0x4150ee
cmp ebx, 8
jb 0x4150e2
mov eax, dword [eax]
cmp word [eax + 2], 0x2e
jne 0x415102
cmp ecx, 2
jne 0x415102
mov eax, dword [ebp - 0x2e8]
mov ebx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2dc], eax
jmp 0x41515c
or edi, 0
je 0x41510b
mov al, 1
jmp 0x41510d
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
je 0x415130
call fcn.004159e0
add esp, 4
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.00414f90
jmp 0x415148
call fcn.004159e0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.0041e480
movzx eax, al
cdq
mov ebx, edx
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
mov edi, dword [ebp - 0x2dc]
cmp dword [esi], 0xffffffff
je 0x41529d
push 0x250
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.0044b5b0
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41529d
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.0041df80
mov edi, dword [ebp - 0x68]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x4151bc
mov al, 1
jmp 0x4151be
xor al, al
test al, al
je 0x415202
lea ecx, [ebp - 0x60]
call fcn.00403b30
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x415202
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x4151db
mov edx, dword [eax]
cmp word [edx], 0x2e
jne 0x415202
cmp ecx, 1
je 0x41515c
cmp dword [eax + 0x14], 8
jb 0x4151f2
mov eax, dword [eax]
cmp word [eax + 2], 0x2e
jne 0x415202
cmp ecx, 2
je 0x41515c
or edi, 0
je 0x41520b
mov al, 1
jmp 0x41520d
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
je 0x415255
lea ecx, [ebp - 0x300]
call fcn.004159e0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00414f90
mov edi, dword [ebp - 0x2dc]
add edi, eax
mov dword [ebp - 0x2dc], edi
adc ebx, edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x300]
call fcn.00403930
jmp 0x415162
lea ecx, [ebp - 0x2c]
call fcn.004159e0
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.0041e480
mov edi, dword [ebp - 0x2dc]
movzx eax, al
cdq
add edi, eax
mov dword [ebp - 0x2dc], edi
adc ebx, edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
jmp 0x415162
mov ebx, dword [ebp - 0x2e4]
mov edi, dword [ebp - 0x2e8]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4152b5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4152b5
mov dword [esi], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004038f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4153dc
lea ecx, [ebp - 0x2c]
call fcn.00403a20
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0041e6b0
test al, al
je 0x4152fe
lea ecx, [ebp - 0x2c]
call fcn.004038f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4153d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
lea ecx, [ebp - 0x44]
call fcn.004038f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2dc], eax
cmp eax, 0xffffffff
jne 0x415369
lea ecx, [ebp - 0x2c]
call fcn.00403a20
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0041e6b0
test al, al
je 0x415354
lea ecx, [ebp - 0x2c]
call fcn.004038f0
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.00403930
cmp dword [ebp - 0x2dc], 0xffffffff
je 0x4153e2
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.0041e320
lea ecx, [ebp - 0x44]
call fcn.004038f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4153dc
lea ecx, [ebp - 0x2c]
call fcn.00403a20
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0041e6b0
test al, al
je 0x4153b4
lea ecx, [ebp - 0x2c]
call fcn.004038f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4153d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
mov edx, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x44]
call fcn.0041e320
jmp 0x4153e2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
add edi, 1
adc ebx, 0
mov byte [ebp - 4], 2
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4153fe
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4153fe
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.00434612
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00403930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00403930
mov eax, edi
mov edx, ebx
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.004345d1
mov esp, ebp
pop ebp
ret