Function at 0x10052100
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
sub esp, 0x944
mov ecx, 0x100
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x154]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x958]
lea eax, [esp + 0x154]
push eax
push edi
call sub.platform.dll_Ordinal_13
add esp, 8
test eax, eax
jne 0x10052158
or ecx, 0xffffffff
lea edx, [esp + 0x154]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov ebp, dword [sym.imp.MSVCRT.dll_strrchr]
lea ecx, [esp + 0x154]
push 0x5c
push ecx
call ebp
xor ebx, ebx
add esp, 8
cmp eax, ebx
jne 0x10052180
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x944
ret
mov byte [eax + 1], bl
mov edi, 0x10232584
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x154]
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 + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x100521dd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x944
ret
mov esi, 0x10232580
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1005220a
cmp cl, bl
je 0x10052206
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1005220a
add eax, 2
add esi, 2
cmp cl, bl
jne 0x100521e6
xor eax, eax
jmp 0x1005220f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1005230c
mov esi, 0x1023257c
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x10052244
cmp cl, bl
je 0x10052240
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x10052244
add eax, 2
add esi, 2
cmp cl, bl
jne 0x10052220
xor eax, eax
jmp 0x10052249
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1005230c
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x554]
lea edx, [esp + 0x554]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x154]
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 + 0x558]
push ecx
call ebp
add esp, 8
cmp eax, ebx
je 0x10052325
mov byte [eax + 1], bl
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x554]
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 + 0x554]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1005230c
push 4
lea ecx, [esp + 0x558]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea edx, [esp + 0x554]
push edx
push 0x10227334
call fcn.10029940
add esp, 8
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1005233d
jmp 0x100521dd
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x944
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [esp + 0x154]
push 0x5c
push edx
call ebp
add esp, 8
cmp eax, ebx
jne 0x10052364
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x944
ret
mov byte [eax + 1], bl
push 4
lea eax, [esp + 0x158]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [esp + 0x154]
push ecx
push 0x10227334
call fcn.10029940
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x944
ret