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

Disassembly:
push 0x30
mov eax, 0x67b7bd
call fcn.005b852e
mov dword [ebp - 0x3c], ecx
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x10]
call fcn.004015a6
mov eax, dword [0x7534c4]
mov edi, dword [eax + 0x6f4]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 0x69cdcc
jmp 0x42860b
mov ecx, edi
cmp edi, ebx
je 0x4286a6
mov ecx, dword [ecx + 8]
mov edi, dword [edi]
add eax, 0x108
mov dword [ebp - 0x20], ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040191c
push esi
lea ecx, [ebp - 0x10]
call fcn.00405af6
push esi
call fcn.005b80b0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00403c44
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.004075e2
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00403c44
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
push dword [ebp - 0x10]
call dword [0x69b358]
test eax, eax
lea eax, [ebp - 0x10]
push eax
push str.Delete_image_file:
je 0x4285c5
lea eax, [ebp - 0x18]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 2
call fcn.0043b7c8
mov ecx, dword [ebp - 0x18]
jmp 0x4285fb
lea eax, [ebp - 0x14]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
push ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], eax
call dword [0x69b310]
mov ecx, dword [0x7534c4]
push eax
push 1
push dword [ebp - 0x20]
add ecx, 0x6dc
call fcn.0043b7c8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
mov eax, dword [0x7534c4]
cmp edi, ebx
jne 0x42851d
cmp eax, ebx
je 0x4286f3
cmp byte [eax + 0x5c4], bl
je 0x4286f3
push 0x69c5b8
lea ecx, [ebp - 0x14]
call fcn.00401b65
mov eax, dword [0x7534c4]
add eax, 0x108
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0040191c
push esi
lea ecx, [ebp - 0x14]
call fcn.00405af6
mov edi, str.irsetup.skin
push edi
call fcn.005b80b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.00403c44
push ebx
push ebx
call fcn.00642850
mov ecx, eax
call fcn.006418a0
push dword [ebp - 0x14]
call dword [0x69b358]
test eax, eax
lea eax, [ebp - 0x14]
push eax
push str.Delete_skin_file:
lea eax, [ebp - 0x20]
push eax
je 0x4286ab
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
push ebx
push ebx
push ebx
mov byte [ebp - 4], 5
push eax
jmp 0x4286c4
call fcn.004b8094
call fcn.0040ccc6
add esp, 0xc
mov edi, dword [eax]
push ebx
mov byte [ebp - 4], 6
call dword [0x69b310]
push eax
push 1
push edi
mov ecx, dword [0x7534c4]
add ecx, 0x6dc
call fcn.0043b7c8
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
mov eax, dword [0x7534c4]
mov eax, dword [eax + 0x108]
sub eax, 0x10
push eax
call fcn.0040149c
add eax, 0x10
pop ecx
mov dword [ebp - 0x1c], eax
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00405af6
mov eax, dword [0x7534c4]
mov eax, dword [eax + 0x508]
cmp eax, ebx
je 0x4288c3
mov edi, str.Delete_primer_file:
jmp 0x428733
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4286a6
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x4288ba
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.0040149c
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
push 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0040391b
cmp eax, 0xffffffff
je 0x4287a6
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403bae
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0040191c
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.0040124d
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405bb5
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xa
call fcn.00405b5e
add esp, 0x18
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.0040124d
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], ebx
je 0x428868
push dword [ebp - 0x14]
call dword [0x69b370]
cmp eax, 0xffffffff
je 0x428868
push dword [ebp - 0x14]
call dword [0x69b358]
test eax, eax
lea eax, [ebp - 0x14]
push eax
push edi
je 0x428830
lea eax, [ebp - 0x30]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0xd
call fcn.0043b7c8
mov ecx, dword [ebp - 0x30]
jmp 0x428898
lea eax, [ebp - 0x34]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
push ebx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x2c], eax
call dword [0x69b310]
mov ecx, dword [0x7534c4]
push eax
push 1
push dword [ebp - 0x2c]
add ecx, 0x6dc
call fcn.0043b7c8
mov ecx, dword [ebp - 0x34]
jmp 0x428898
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push 3
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0xf
call fcn.0043b7c8
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.0040124d
cmp dword [ebp - 0x20], ebx
jne 0x428730
mov eax, dword [0x7534c4]
push dword [eax + 0x134]
call fcn.004b704c
mov eax, dword [0x7534c4]
pop ecx
mov dword [eax + 0x134], ebx
mov ecx, dword [0x7534c4]
add ecx, 0x144
call fcn.00483da7
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax + 0xa4]
cmp esi, ebx
je 0x4289ba
mov edi, str.Delete_plugin_file:
mov eax, esi
cmp esi, ebx
je 0x4286a6
mov eax, dword [eax + 8]
mov esi, dword [esi]
sub eax, 0x10
push eax
call fcn.0040149c
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
push eax
mov byte [ebp - 4], 0x10
call dword [0x69b358]
test eax, eax
lea eax, [ebp - 0x18]
push eax
push edi
je 0x428965
lea eax, [ebp - 0x3c]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0x11
call fcn.0043b7c8
mov ecx, dword [ebp - 0x3c]
jmp 0x42899b
lea eax, [ebp - 0x34]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
push ebx
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x38], eax
call dword [0x69b310]
mov ecx, dword [0x7534c4]
push eax
push 1
push dword [ebp - 0x38]
add ecx, 0x6dc
call fcn.0043b7c8
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.0040124d
cmp esi, ebx
jne 0x428906
mov eax, dword [0x7534c4]
push dword [eax + 0x108]
call dword [0x69b59c]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040124d
call fcn.005b8606
ret