Function at 0x6a9c00
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e5458
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2f4], eax
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
push 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], eax
call fcn.0063bae8
add esp, 4
test eax, eax
jne 0x6a9c82
call fcn.0065a824
mov dword [ebp - 0x2ec], eax
lea ecx, [ebp - 0x2ec]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x2ec]
mov dword [eax], ecx
xor esi, esi
mov dword [ebp - 0x310], esi
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x300], esi
mov dword [ebp - 0x2fc], esi
mov dword [ebp - 0x2f8], esi
push edi
mov byte [ebp - 4], 3
call fcn.006aa890
add esp, 4
test al, al
jne 0x6a9ce1
xor bl, bl
jmp 0x6aa38a
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
cmp word [edi], ax
jne 0x6a9d02
xor ecx, ecx
jmp 0x6a9d16
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6a9d07
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.004891c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.006aaa00
lea eax, [ebp - 0x310]
push eax
push 0
push 0
call fcn.006a9310
lea eax, [ebp - 0x300]
xor edi, edi
push eax
push edi
push edi
mov dword [ebp - 0x30c], edi
call fcn.006a9310
add esp, 0x18
mov dword [ebp - 0x2fc], edi
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x300]
push eax
call fcn.005a6d52
cmp dword [ebp - 0x2dc], edi
sete al
test al, al
jne 0x6aa2e5
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
nop word [eax + eax]
push 1
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.006aa490
mov ecx, eax
call fcn.006a96b0
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x6a9dbc
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x6a9dda
push 0xffffffffffffffff
push 0
push eax
call fcn.004892c0
push 0x77a6a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.005a64df
push 0x771644
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00491840
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x6a9e40
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x6a9e23
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004897b0
xor eax, eax
mov dword [ebp - 0x44], 7
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004913c0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x6a9e97
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x6a9c7d
add eax, eax
cmp eax, 0x1000
jb 0x6a9e8e
test cl, 0x1f
jne 0x6a9c7d
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x6a9c7d
sub ecx, eax
cmp ecx, 4
jb 0x6a9c7d
cmp ecx, 0x23
ja 0x6a9c7d
mov ecx, eax
push ecx
call fcn.004e7fa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x6a9f05
mov ecx, dword [ebp - 0x88]
inc eax
cmp eax, 0x7fffffff
ja 0x6a9c7d
add eax, eax
cmp eax, 0x1000
jb 0x6a9efc
test cl, 0x1f
jne 0x6a9c7d
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x6a9c7d
sub ecx, eax
cmp ecx, 4
jb 0x6a9c7d
cmp ecx, 0x23
ja 0x6a9c7d
mov ecx, eax
push ecx
call fcn.004e7fa0
add esp, 4
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x2dc]
dec eax
mov edx, dword [ebp - 0x2e4]
add ecx, eax
mov eax, dword [ebp - 0x2e8]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x6a9f78
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x6a9c7d
add eax, eax
cmp eax, 0x1000
jb 0x6a9f6f
test cl, 0x1f
jne 0x6a9c7d
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x6a9c7d
sub ecx, eax
cmp ecx, 4
jb 0x6a9c7d
cmp ecx, 0x23
ja 0x6a9c7d
mov ecx, eax
push ecx
call fcn.004e7fa0
add esp, 4
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x6a9f8e
mov esi, dword [esi]
xor eax, eax
mov ecx, 0
mov word [esi], ax
sub dword [ebp - 0x2dc], 1
mov eax, dword [ebp - 0x2e0]
cmove eax, ecx
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x2e0], eax
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x6aa3fb
mov edx, 0x77a5ac
lea ecx, [ebp - 0x2ac]
nop dword [eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x6aa006
test ax, ax
je 0x6aa002
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x6aa006
add ecx, 4
add edx, 4
test ax, ax
jne 0x6a9fe0
xor eax, eax
jmp 0x6aa00b
sbb eax, eax
or eax, 1
test eax, eax
je 0x6aa1b9
mov eax, 0x7440a8
lea ecx, [ebp - 0x2ac]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x6aa046
test dx, dx
je 0x6aa042
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x6aa046
add ecx, 4
add eax, 4
test dx, dx
jne 0x6aa020
xor eax, eax
jmp 0x6aa04b
sbb eax, eax
or eax, 1
test eax, eax
je 0x6aa1b9
test byte [ebp - 0x2d8], 0x10
je 0x6aa1c6
push 0x77a6a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.005a64df
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00491840
add esp, 0x18
push eax
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 8
call fcn.006aa970
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x6aa0af
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004897b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x6aa0dc
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004897b0
push 0x77a6a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.005a64df
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00491840
add esp, 0x18
push eax
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0xa
call fcn.006aaad0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x6aa12b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004897b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x6aa158
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004897b0
push 0x77a6a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.005a64df
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00491840
mov eax, dword [ebp - 0x5c]
add esp, 0x18
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x6aa19e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004897b0
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x6aa1b9
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004897b0
test byte [ebp - 0x2d8], 0x10
jne 0x6aa2ac
push 0x77a6a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.005a64df
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00491840
add esp, 0x18
push eax
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0xd
call fcn.006aaad0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x6aa218
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004897b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x6aa24b
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004897b0
push 0x77a6a4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.005a64df
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00491840
mov eax, dword [ebp - 0x74]
add esp, 0x18
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x6aa297
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004897b0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x6aa2ac
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004897b0
lea eax, [ebp - 0x2d8]
push eax
push esi
call edi
test eax, eax
jne 0x6a9fd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x6aa2fa
call ebx
cmp dword [ebp - 0x2dc], 0
jne 0x6a9d90
mov edi, dword [ebp - 0x30c]
mov esi, dword [ebp - 0x310]
cmp esi, edi
je 0x6aa314
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp dword [esi + 0x14], 8
jb 0x6aa300
mov eax, dword [esi]
jmp 0x6aa302
call ebx
xor bl, bl
jmp 0x6aa361
mov eax, esi
push eax
call ebx
test eax, eax
je 0x6aa3fb
add esi, 0x18
cmp esi, edi
jne 0x6aa2f0
mov edi, dword [ebp - 0x2fc]
mov esi, dword [ebp - 0x300]
mov byte [ebp - 0x304], 0
push dword [ebp - 0x304]
push edi
push esi
call fcn.006a93a0
add esp, 0xc
cmp esi, edi
je 0x6aa35f
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x6aa34b
mov eax, dword [esi]
jmp 0x6aa34d
mov eax, esi
push eax
call ebx
test eax, eax
je 0x6aa3fb
add esi, 0x18
cmp esi, edi
jne 0x6aa341
mov bl, 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x6aa376
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004897b0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x300]
call fcn.004c0ab0
lea ecx, [ebp - 0x310]
call fcn.004c0ab0
lea ecx, [ebp - 0x2ec]
call fcn.006a98c0
push 1
push dword [ebp - 0x2ec]
lea ecx, [ebp - 0x2ed]
call fcn.006a9ba0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2ec], 0
cmp ecx, 8
jb 0x6aa3dd
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.004897b0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2f4]
xor bl, bl
mov dword [ecx], eax
jmp 0x6aa361