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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5caf1d
push eax
mov dword fs:[0], esp
sub esp, 0x294
push esi
mov esi, dword [esp + 0x2a8]
push esi
call fcn.00591712
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
jne 0x4a6e28
push ebx
xor ebx, ebx
xor eax, eax
push ebp
push edi
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], bx
mov ecx, str._sf
mov dword [esp + 0x2ac], ebx
test ecx, ecx
je 0x4a6c02
cmp esi, ebx
je 0x4a6c02
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
call fcn.00401ee0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], 1
call fcn.00401070
push str._sf
lea ecx, [esp + 0x2c]
call fcn.00401e50
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], 2
call fcn.00401ed0
push eax
call fcn.00591712
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005a9fe9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x4a6bdd
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x10]
call fcn.00401ed0
push eax
lea ecx, [esp + 0x2c]
call fcn.00401ed0
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005916a2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00591712
add esp, 0x14
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2ac], 1
call fcn.00401070
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], bl
call fcn.00401070
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4a6c0a
lea eax, [esp + 0x20]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x38], esi
je 0x4a6e11
cmp dword [esp + 0x34], ebx
je 0x4a6e0a
lea eax, [esp + 0x80]
push eax
call fcn.00591712
mov ebp, eax
add esp, 4
xor edi, edi
cmp ebp, ebx
jle 0x4a6c76
lea esi, [esp + 0x80]
mov ax, word [esi]
cmp ax, 0x2e
je 0x4a6c76
push eax
call fcn.0059467d
add esp, 4
test eax, eax
jne 0x4a6c6e
cmp word [esi], 0x66
jne 0x4a6df1
inc edi
add esi, 2
cmp edi, ebp
jl 0x4a6c4e
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov word [esp + 0x14], bx
mov ecx, 0x665ff4
mov byte [esp + 0x2ac], 3
test ecx, ecx
je 0x4a6dd2
mov esi, dword [esp + 0x2b4]
cmp esi, ebx
je 0x4a6dd2
lea edx, [esp + 0x80]
test edx, edx
je 0x4a6dd2
push ebx
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], bx
call fcn.00402800
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2b0], 4
call fcn.00403af0
lea eax, [esp + 0x80]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x2b0], 5
call fcn.00403af0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], 6
call fcn.00401070
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
call fcn.00401ed0
push eax
call fcn.00591712
add esp, 4
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00591712
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005a9fe9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x4a6d9b
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x3c]
call fcn.00401ed0
push eax
lea ecx, [esp + 0x4c]
call fcn.00401ed0
push eax
lea ecx, [esp + 0x30]
call fcn.00401ed0
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.005916a2
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00591712
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2ac], 5
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x2ac], 4
call fcn.00401070
lea ecx, [esp + 0x28]
mov byte [esp + 0x2ac], 3
call fcn.00401070
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4a6dda
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], bl
call fcn.00401070
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x54]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x34], eax
jmp 0x4a6c25
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.00401070
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
pop esi
mov dword fs:[0], ecx
add esp, 0x2a0
ret