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

Disassembly:
push ebp
lea ebp, [esp - 0x1144]
mov eax, 0x1144
call fcn.6d2d9470
push 0xfffffffffffffffe
push 0x6d2dfbc0
push 0x6d2d943c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6d2e54cc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1140], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x114c]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 0x1150]
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp + 0x940], bl
push esi
lea ecx, [ebp + 0x940]
push ecx
mov edi, dword [sym.imp.kernel32.dll_lstrcatA]
call edi
xor eax, eax
cmp dword [ebp + 0x1154], eax
je 0x6d2cfda5
mov dword [ebp - 0x30], 1
jmp 0x6d2cfdb6
xor edx, edx
cmp dword [ebp + 0x1158], eax
setne dl
add edx, 2
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
lea esp, [esp]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], eax
jge 0x6d2cfee2
mov byte [ebp + 0x140], 0
push esi
lea ecx, [ebp + 0x140]
push ecx
call edi
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl edx, 4
sub edx, eax
add edx, 0x6d2dcbc8
push edx
lea eax, [ebp + 0x140]
push eax
call edi
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x140]
push edx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x6d2cfeda
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x940]
push ecx
call edi
cmp dword [ebp + 0x1154], 0
je 0x6d2cfe57
lea edx, [ebp + 0x940]
push edx
call fcn.6d2c3090
add esp, 4
test eax, eax
je 0x6d2cfe57
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x6d2e54cc
call sub.MSVCR100.dll__local_unwind4
add esp, 0xc
xor eax, eax
jmp 0x6d2cff32
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x6d2cfe82
lea ecx, [ebp + 0x2c]
push ecx
push esi
push eax
call fcn.6d2ce1d0
add esp, 0xc
test eax, eax
jne 0x6d2cfe82
mov byte [ebp + 0x940], al
push esi
lea edx, [ebp + 0x940]
push edx
call edi
jmp 0x6d2cfec4
push 0x404
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
test esi, esi
je 0x6d2cfe3d
mov byte [esi], 0
lea ecx, [ebp + 0x940]
push ecx
push esi
call edi
mov dword [esi + 0x400], ebx
mov ebx, esi
mov dword [ebp - 0x20], ebx
mov byte [ebp + 0x940], 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp + 0x940]
push eax
call edi
mov esi, dword [ebp - 0x24]
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x6d2cfe14
inc dword [ebp - 0x1c]
jmp 0x6d2cfdc0
mov edi, dword [sym.imp.kernel32.dll_DeleteFileA]
test ebx, ebx
je 0x6d2cff21
push ebx
call edi
test eax, eax
jne 0x6d2cff0b
push ebx
call fcn.6d2c3090
add esp, 4
test eax, eax
je 0x6d2cff0b
push 0
push ebx
call fcn.6d2cf230
add esp, 8
mov esi, dword [ebx + 0x400]
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, esi
mov dword [ebp - 0x20], ebx
jmp 0x6d2cfee8
mov dword [ebp - 4], 0xfffffffe
call fcn.6d2cff58
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1140]
xor ecx, ebp
call fcn.6d2d932c
lea esp, [ebp + 0x1144]
pop ebp
ret