Function at 0x6a8900
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x709935
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
cmp eax, 1
jne 0x6a8950
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x6a8b44
mov dword [esi], 0
call fcn.006a3c70
mov dword [esi + 4], eax
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp eax, 3
je 0x6a8a4a
cmp eax, 0xb
je 0x6a8a4a
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00473560
movups xmm0, xmmword [str.boost::filesystem::remove]
mov dword [ebp - 0x1c], 0x19
mov dword [ebp - 0x18], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x7c13e0]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x7c13e8]
mov byte [eax + 0x18], cl
mov byte [eax + 0x19], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x6a89ce
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete byte [ebp + 0xf]
test eax, eax
je 0x6a89f6
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x6a8a13
mov dword [esi], 0
call fcn.006a3c70
mov dword [esi + 4], eax
jmp 0x6a8a13
mov edi, dword [ebp + 0x10]
call fcn.006a3c70
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x6a8b68
mov dword [edi], eax
mov dword [edi + 4], esi
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x6a8b3e
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6a8b34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a8b94
jmp 0x6a8b34
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
push 0x20
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00473560
movups xmm0, xmmword [str.boost::filesystem::remove]
mov dword [ebp - 0x34], 0x19
mov dword [ebp - 0x30], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x7c13e0]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x7c13e8]
mov byte [eax + 0x18], cl
mov byte [eax + 0x19], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x6a8ab6
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
sete byte [ebp + 0xf]
test eax, eax
je 0x6a8ade
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x6a8b0e
mov dword [esi], 0
call fcn.006a3c70
mov dword [esi + 4], eax
jmp 0x6a8b0e
mov edi, dword [ebp + 0x10]
call fcn.006a3c70
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x6a8b09
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004e6070
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x44]
push dword [ebp + 8]
jmp 0x6a8b7d
mov dword [edi], eax
mov dword [edi + 4], esi
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x6a8b3e
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6a8b34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a8b99
push edx
push ecx
call fcn.004e7fa0
add esp, 8
cmp byte [ebp + 0xf], 0
je 0x6a8b56
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004e6070
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
call fcn.006a6730
push 0x7ea55c
lea eax, [ebp - 0x78]
push eax
call fcn.006c19b9
call fcn.006cc674
call fcn.006cc674
int3