Function at 0x10012a01
Capabilities:
Create directory
Delete directory
Delete file

Disassembly:
push 0x7c
mov eax, 0x1005d032
call fcn.10032378
mov esi, ecx
lea ecx, [ebp - 0x48]
call fcn.100013fb
lea eax, [ebp - 0x48]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.1000b5c3
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.10001413
push str.backup_
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.10001c79
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x70]
call fcn.10010b30
push str.2.ini
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.1001299f
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100048de
push 0x100629e4
lea ecx, [ebp - 0x2c]
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.1001299f
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100048de
push str.hpdarcsw.ini
lea ecx, [ebp - 0x2c]
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.1001299f
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100048de
push str.hpdarc.muz
lea ecx, [ebp - 0x2c]
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.1001299f
mov byte [ebp - 4], 2
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.100048de
push str.instance.ini
lea ecx, [ebp - 0x2c]
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.1001299f
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100048de
push str.config.ini
lea ecx, [ebp - 0x2c]
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.1001299f
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100048de
push str.Pump.log
lea ecx, [ebp - 0x2c]
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.1001299f
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100048de
lea eax, [ebp - 0x38]
push eax
push str.SnapshotCount
push 0x10062684
mov ecx, esi
mov dword [ebp - 0x38], ebx
call fcn.1000cfb6
mov eax, dword [esi + 0x6c]
mov eax, dword [eax]
add esi, 0x54
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.1000e11a
jmp 0x10012c21
lea ecx, [ebp - 0x34]
call fcn.1000ca49
cmp dword [eax + 4], ebx
je 0x10012c19
lea ecx, [ebp - 0x58]
call fcn.100013fb
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.1000ca49
push dword [ebp - 0x38]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.1002cb12
push dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call fcn.1000557a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.1001299f
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.100048de
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.10001636
lea ecx, [ebp - 0x34]
call fcn.1000ca78
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.1000e11a
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000c7e8
test al, al
je 0x10012bb6
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.10011a9d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.1000557a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.1000557a
mov byte [ebp - 4], 2
call fcn.100267c3
add esp, 0x50
lea ecx, [ebp - 0x88]
call fcn.10010b30
lea eax, [ebp - 0x88]
push eax
push 0x10062ca0
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xe
call fcn.100268e1
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x34]
call fcn.1000e90d
jmp 0x10012cf7
lea ecx, [ebp - 0x34]
call fcn.1000c951
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000545a
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10012cde
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.100048de
lea ecx, [ebp - 0x34]
call fcn.1000c97d
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.1000e90d
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000c9ac
test al, al
je 0x10012cc1
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.10011a9d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.1000557a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x38], esp
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.1000557a
mov byte [ebp - 4], 0xe
call fcn.100267c3
add esp, 0x50
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x88]
call fcn.100114c4
push dword [ebp - 0x88]
call fcn.1002f915
pop ecx
lea ecx, [ebp - 0x70]
call fcn.100114c4
push dword [ebp - 0x70]
call fcn.1002f915
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.10001636
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001636
xor eax, eax
call fcn.100323fb
ret