Function at 0x426e00
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4301ba
push eax
mov dword fs:[0], esp
lea eax, [ebp - 0x68]
push ebx
sub esp, 0xf8
push esi
push edi
push eax
mov edi, ecx
call fcn.0040e022
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.0040df71
mov ecx, eax
add esp, 4
mov edx, dword [ecx + 0xc]
cmp edx, dword [edi + 0x36c]
je 0x426fdc
cmp dword [ecx + 8], 2
jle 0x426fdc
mov eax, dword [edi + 0x1bc]
mov dword [edi + 0x36c], edx
mov esi, dword [eax]
cmp esi, eax
je 0x427350
nop
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov edx, dword [eax + 0x1bc]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp byte [edx], 0
jne 0x426eb2
xor ecx, ecx
jmp 0x426eca
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426ec0
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401eb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [edi + 0x354]
push ecx
mov dword [ebp - 0x14], eax
push dword [eax + 4]
push eax
call fcn.00403b70
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [edi + 0x358]
sub ecx, eax
cmp ecx, 1
jb 0x42711d
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x358], ecx
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x426f66
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x426f5d
test cl, 0x1f
jne 0x426fd7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x426fd7
sub ecx, eax
cmp ecx, 4
jb 0x426fd7
cmp ecx, 0x23
ja 0x426fd7
mov ecx, eax
push ecx
call fcn.0040a4bb
add esp, 4
cmp byte [esi + 0xd], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x426fb8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x426f9d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x426fb8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x426f91
jmp 0x426fb8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x426fb6
cmp esi, dword [eax + 8]
jne 0x426fb6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x426fa6
mov esi, eax
cmp esi, dword [edi + 0x1bc]
jne 0x426e80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040e23e
cmp dword [edi + 0x358], 0
jbe 0x42728c
lea eax, [ebp - 0x88]
xorps xmm0, xmm0
push eax
mov eax, dword [edi + 0x350]
neg eax
push eax
push edx
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
inc edx
add ecx, 0x76c
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x78], xmm0
call fcn.00427370
mov esi, dword [edi + 0x354]
lea edx, [edi + 0x110]
add esp, 0xc
cmp byte [edx], 0
mov esi, dword [esi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jne 0x427054
xor ecx, ecx
jmp 0x42706a
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427060
sub ecx, dword [ebp - 0x14]
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00401eb0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
push 1
push 0x4469c0
call fcn.00401980
push 0xffffffffffffffff
lea eax, [esi + 8]
push 0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401880
push 1
push 0x4469c0
lea ecx, [ebp - 0x44]
call fcn.00401980
cmp byte [ebp - 0x88], 0
jne 0x4270b6
xor ecx, ecx
jmp 0x4270c9
lea ecx, [ebp - 0x88]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4270c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401980
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42723b
mov eax, dword [edi + 0x364]
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x14], eax
push dword [eax + 4]
push eax
call fcn.00403ab0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [edi + 0x368]
sub ecx, eax
cmp ecx, 1
jae 0x427127
push str.list_T__too_long
call fcn.00409ce0
inc eax
sub esp, 0x18
mov dword [edi + 0x368], eax
mov ecx, esp
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], esp
push 0xffffffffffffffff
push 0
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
lea eax, [ebp - 0x44]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00401b50
mov byte [ebp - 4], 2
lea eax, [edi + 0x35c]
push eax
mov byte [ebp - 4], 1
call fcn.00425f00
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00401b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0xb
push str._file_size:
call fcn.00401980
mov edx, dword [edi + 0x360]
lea ecx, [ebp - 0x60]
call fcn.00404050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00401880
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x4271ee
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00402190
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], 0xf
cmovae ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00402020
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x427229
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402190
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x354]
call fcn.00403730
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x427267
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00402190
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [edi + 0x360], 0
jbe 0x4272ea
mov esi, dword [edi + 0x35c]
lea eax, [edi + 0x35c]
mov dword [ebp - 0x14], eax
mov esi, dword [esi]
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
jb 0x4272b3
mov eax, dword [edi]
jmp 0x4272b5
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [edi + 0x14], 0x10
jb 0x4272c4
mov edi, dword [edi]
push eax
push edi
lea eax, [ebp - 0x108]
push str.deltefile__s_return:_d
push eax
call fcn.00402000
add esp, 0x10
lea ecx, [ebp - 0x108]
call fcn.00402020
mov ecx, dword [ebp - 0x14]
jmp 0x427346
cmp dword [edi + 0x368], 0
jbe 0x427350
mov esi, dword [edi + 0x364]
lea eax, [edi + 0x364]
mov dword [ebp - 0x14], eax
mov esi, dword [esi]
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
jb 0x427311
mov eax, dword [edi]
jmp 0x427313
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
cmp dword [edi + 0x14], 0x10
jb 0x427322
mov edi, dword [edi]
push eax
push edi
lea eax, [ebp - 0x108]
push str.RemoveDirectory__s_return:_d
push eax
call fcn.00402000
add esp, 0x10
lea ecx, [ebp - 0x108]
call fcn.00402020
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.00403730
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret