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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2e50
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x268], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
mov edx, dword [eax - 0xc]
test edx, edx
je 0x479f83
lea ecx, [edx - 1]
test ecx, ecx
js 0x47a18d
cmp ecx, edx
jg 0x47a18d
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x479f83
cmp eax, 0x2f
je 0x479f83
push 1
push 0x5b9804
lea ecx, [ebp + 8]
call fcn.004299d0
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00560a80
add esp, 0xc
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x47a183
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov eax, 0x5c29ec
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
test eax, 0xffff0000
jne 0x479fd7
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x479fe3
push 5
push 0x5c29ec
call fcn.0042a060
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0042afa0
add esp, 0xc
mov edx, dword [ebp - 0x264]
or ebx, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a025
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x270], esi
cmp esi, 0xffffffff
je 0x47a12b
lea esp, [esp]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x47a063
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x47a06f
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x47a183
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov byte [ebp - 4], 5
or edi, 1
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x268], edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a0a1
mov eax, dword [ebp + 8]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x234]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0042b6f0
mov esi, dword [ebp - 0x264]
push esi
call fcn.0047f310
add esp, 0x18
cmp eax, 0x1b
je 0x47a0eb
cmp eax, 0x10
je 0x47a0eb
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and edi, 0xfffffffe
mov byte [ebp - 4], 4
mov dword [ebp - 0x268], edi
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47a10f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x270]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47a050
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x26c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47a14f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47a167
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
push 0x80070057
call fcn.00429b60
int3