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

Disassembly:
push 0x54
mov eax, 0x68d5dc
call fcn.0056e23b
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x50], edi
call fcn.004173bc
and dword [ebp - 4], 0
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x58], eax
jb 0x4727c2
mov eax, dword [eax]
push eax
push esi
lea eax, [ebp - 0x2c]
push 0x6b6c74
push eax
call fcn.0041ccda
add esp, 0x10
mov dword [ebp - 0x54], 1
cmp dword [edi + 0x20], 0
je 0x472888
push 0x18
call fcn.0056def4
mov edi, eax
pop ecx
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x47281d
movsd xmm0, qword [ebx]
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
movsd qword [edi], xmm0
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], esi
jmp 0x47281f
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x472885
mov eax, dword [ebp - 0x50]
add eax, 0x1c
mov dword [ebp - 0x4c], eax
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x47287b
cmp dword [ebp - 0x14], 8
lea ecx, [esi + 8]
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.0047278e
test eax, eax
je 0x472866
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00473503
mov esi, dword [eax]
jmp 0x472868
mov esi, dword [esi]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x472874
call fcn.004c2c9d
mov eax, dword [ebp - 0x4c]
cmp esi, dword [eax]
jne 0x472838
push 0x18
push edi
call fcn.0056df27
pop ecx
pop ecx
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x472894
call fcn.004c2c9d
cmp dword [edi + 0x28], 0
je 0x47297c
lea eax, [edi + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x47297c
mov edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x4728ca
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4728d4
mov ecx, dword [edi]
jmp 0x4728d6
mov ecx, edi
push eax
push ecx
push dword [ebp - 0x5c]
lea eax, [ebp - 0x48]
push 0x6c2f4c
push eax
call fcn.0041ccda
add esp, 0x14
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x472911
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x472911
mov esi, dword [esi]
jmp 0x472929
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0043ae6c
mov esi, dword [eax]
mov eax, dword [ebx + 0x10]
dec dword [eax + 0x88]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x472956
movsd xmm0, qword [ebx]
push 1
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.005663fc
test eax, eax
je 0x472956
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x472952
call fcn.0041935f
and dword [ebx + 0xc], 0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x472962
call fcn.004c2c9d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0041786a
mov eax, dword [ebp - 0x4c]
cmp esi, dword [eax]
jne 0x4728b3
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x472988
call fcn.004c2c9d
xor ebx, ebx
cmp dword [edi + 0x28], ebx
jne 0x4729ca
cmp dword [edi + 0x20], ebx
jne 0x4729ca
cmp dword [ebp + 0x10], ebx
jne 0x4729ca
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4729bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x10d8
jne 0x4729ca
push 0x7321d0
mov ecx, edi
call fcn.004179fb
jmp 0x4729cd
mov dword [ebp - 0x54], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov eax, dword [ebp - 0x54]
call fcn.0056e1e5
ret 0xc