Function at 0x426ed0
Capabilities:
Check if file exists
Delete directory
Get common file path
Move file
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463ada
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x47a4a4]
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
mov esi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
push ebx
xor eax, eax
mov edi, 7
push 0x4669cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.004073d0
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x250]
push str.Deleting_directory:
push ecx
call fcn.00409700
add esp, 0xc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x234]
push edx
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x238], 8
jb 0x426f7a
mov eax, dword [ebp - 0x24c]
push eax
call fcn.0043ff5a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], cx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
jb 0x426fab
mov edx, dword [ebp - 0x230]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
cmp dword [esi + 0x1c], ebx
je 0x426fca
call fcn.00421e40
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x426fd6
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42709c
xor ecx, ecx
push ebx
mov word [ebp - 0x230], cx
push 0x4669cc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
call fcn.004073d0
mov byte [ebp - 4], 4
push str._does_not_exist.
lea edx, [ebp - 0x250]
push esi
push edx
call fcn.00408820
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
push ecx
push eax
call fcn.0041ceb0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x238], 8
jb 0x427051
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
jb 0x427082
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.0043ff5a
add esp, 4
xor edx, edx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], dx
jmp 0x427155
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x4270ba
lea eax, [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call edi
sub esp, 0x20
lea edx, [ebp + 0x28]
mov ecx, esp
mov dword [ebp - 0x254], esp
push edx
call fcn.00426970
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x258], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.004071e0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00426ab0
lea ecx, [ebp - 0x218]
push ecx
call edi
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x42712a
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x427150
cmp dword [ebp + 0x24], ebx
je 0x427150
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x427146
lea eax, [ebp + 0xc]
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, 7
cmp dword [esi + 0x1c], ebx
je 0x42715f
call fcn.004201e0
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 8
jb 0x427174
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043ff5a
add esp, 4
xor eax, eax
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov word [ebp + 0xc], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.00415fd0
mov eax, 1
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.00440721
mov esp, ebp
pop ebp
ret 0x40