Function at 0x1002a3b0
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Move file

Disassembly:
sub esp, 0xd44
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x544]
push ebp
push esi
push edi
mov edi, dword [esp + 0xd58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.MSVCRT.dll_strrchr]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x2e
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x554]
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x1002a407
pop edi
pop esi
pop ebp
add esp, 0xd44
ret
push 0x102325e4
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1002a426
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xd44
ret
lea edx, [esp + 0x550]
push 0x5c
push edx
call ebp
add esp, 8
test eax, eax
jne 0x1002a443
pop edi
pop esi
pop ebp
add esp, 0xd44
ret
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x950]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x550]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10232584
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x554]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1002a4c3
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xd44
ret
mov esi, 0x10232580
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1002a4f0
test cl, cl
je 0x1002a4ec
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1002a4f0
add eax, 2
add esi, 2
test cl, cl
jne 0x1002a4cc
xor eax, eax
jmp 0x1002a4f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1002a633
mov esi, 0x1023257c
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1002a52a
test cl, cl
je 0x1002a526
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1002a52a
add eax, 2
add esi, 2
test cl, cl
jne 0x1002a506
xor eax, eax
jmp 0x1002a52f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1002a633
lea eax, [esp + 0x950]
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x1002a633
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x150]
lea edx, [esp + 0x150]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x550]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
call ebp
add esp, 8
test eax, eax
je 0x1002a64c
mov byte [eax + 1], 0
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x150]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x150]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
and ecx, 2
cmp cl, 2
jne 0x1002a633
and eax, 4
cmp al, 4
jne 0x1002a633
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1002a633
push 4
push eax
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edx, dword [esp + 0xd54]
lea ecx, [esp + 0x150]
push ecx
push edx
call fcn.10029940
add esp, 8
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1002a663
jmp 0x1002a4c3
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xd44
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xd44
ret