Function at 0x1001314b
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0x100d661b
call fcn.100ac440
sub esp, 0x1cc
mov eax, dword [0x1011c710]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor eax, ebp
mov esi, ecx
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x30], 0xf
call fcn.10001594
cmp ebx, edi
mov dword [ebp - 4], edi
je 0x100133ab
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10002218
xor ebx, ebx
inc ebx
push ebx
push edi
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov byte [ebp - 0x18c], 0x2a
call fcn.10012a7c
push ebx
mov dword [ebp - 0x190], eax
push edi
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x18c], 0x3f
call fcn.10012a7c
cmp dword [ebp - 0x190], edi
jge 0x1001324a
cmp eax, edi
jge 0x1001324a
push ebx
push edi
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x18c], 0x5c
call fcn.10012a7c
cmp eax, edi
jge 0x10013236
push 0x100e2ac4
add esi, 4
lea eax, [ebp - 0x1bc]
push esi
push eax
call fcn.10003201
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.10001f03
push edi
push ebx
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], bl
call fcn.100017d0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10003000
jmp 0x1001339f
push 0x100e2ac4
add esi, 4
lea eax, [ebp - 0x1d8]
push esi
push eax
call fcn.10003201
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x1bc]
push eax
mov byte [ebp - 4], 2
call fcn.10012b9b
add esp, 0x18
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10001f03
push edi
push ebx
lea ecx, [ebp - 0x1bc]
call fcn.100017d0
push edi
push ebx
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 1
call fcn.100017d0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x190], edi
jae 0x100132b7
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100132dd
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100017d0
xor esi, esi
jmp 0x100133e8
lea ecx, [ebp - 0x1a0]
call fcn.10002ee7
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.10002218
lea eax, [ebp - 0x1bc]
push eax
push dword [ebp - 0x19c]
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 5
call fcn.10006a7d
push edi
push ebx
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 4
call fcn.100017d0
lea eax, [ebp - 0x188]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001335a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x10013362
mov dword [ebp - 0x190], ebx
cmp dword [ebp - 0x190], edi
je 0x100132f8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x19c]
mov esi, dword [eax]
cmp esi, eax
je 0x10013394
cmp dword [esi + 0x20], 0x10
jb 0x10013380
mov eax, dword [esi + 0xc]
jmp 0x10013383
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x19c]
jne 0x10013375
lea ecx, [ebp - 0x1a0]
call fcn.1000324f
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100017d0
jmp 0x100133c4
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x48]
call fcn.10001f03
mov ecx, esi
call fcn.10012dbb
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x34], edi
je 0x100133e2
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x100133d5
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x194], eax
mov esi, dword [ebp - 0x194]
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.100017d0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4