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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fb79
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x597644]
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
mov ebx, ecx
cmp dword [ebx + 0x10], 0
mov dword [ebp - 4], 0
je 0x471f0c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dda00
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push str..lnk
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 0x5c
mov dword [ebp - 0x238], 0
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp eax, 0x104
jge 0x471c6f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x668]
push 0x104
push eax
call fcn.005083ff
push eax
call fcn.0041d730
add esp, 0x10
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
jne 0x471c26
mov dword [ebp - 0x234], 0
jmp 0x471f0c
push 0
lea eax, [ebp - 0x444]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x471c7a
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x471c67
cmp eax, 0xffffffff
je 0x471c67
push eax
call esi
mov dword [ebp - 0x238], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x238]
jmp 0x471ece
lea eax, [ebp - 0x444]
push 0x5c
push eax
call fcn.004deeb8
mov esi, eax
lea eax, [ebp - 0x444]
push 0x2f
push eax
call fcn.004deeb8
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x471cab
test esi, esi
je 0x471cc6
lea ecx, [ebp - 0x444]
test esi, esi
lea eax, [ebp - 0x444]
cmovne eax, esi
cmp ecx, eax
jb 0x471cc1
xor eax, eax
mov word [ecx], ax
jmp 0x471cc6
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x238]
mov edx, 1
mov dword [ebp - 0x234], edx
test edx, edx
je 0x471d3b
mov ecx, dword [ebp - 0x694]
shr ecx, 4
and ecx, 1
je 0x471d0f
cmp word [ebp - 0x668], 0x2e
jne 0x471d0f
mov si, word [ebp - 0x666]
test si, si
je 0x471d13
cmp si, 0x2e
jne 0x471d0f
cmp word [ebp - 0x664], 0
je 0x471d13
test ecx, ecx
je 0x471d3b
test eax, eax
jne 0x471d1e
xor edi, edi
jmp 0x471ec0
lea ecx, [ebp - 0x694]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, eax
mov dword [ebp - 0x234], edx
mov edi, edx
jmp 0x471eba
lea eax, [ebp - 0x698]
push eax
lea ecx, [ebp - 0x694]
call fcn.00431c20
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov esi, dword [ebp - 0x698]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
cmp dword [esi - 4], 1
jle 0x471d95
push dword [esi - 0xc]
lea ecx, [ebp - 0x698]
call fcn.0040c600
mov esi, dword [ebp - 0x698]
sub esp, 0x18
mov ecx, esi
mov edx, esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471db2
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004282d0
mov ecx, ebx
call fcn.00471900
test eax, eax
je 0x471e06
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x471ddf
mov ecx, dword [ebx]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x471e06
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x471e14
xor edi, edi
jmp 0x471e37
cmp dword [ebp - 0x234], 0
jne 0x471e21
xor edi, edi
jmp 0x471e37
lea ecx, [ebp - 0x694]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [ebp - 0x234], edi
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x471e7b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471e71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471f60
push edx
push ecx
call fcn.00497eef
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
add esi, 0xfffffff0
mov dword [ebp - 0x21c], 7
or eax, 0xffffffff
mov byte [ebp - 4], 1
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x471eb4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x238]
test edi, edi
jne 0x471cd7
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x234], 0
test eax, eax
je 0x471eec
cmp eax, 0xffffffff
je 0x471eec
push eax
call esi
xor eax, eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0
test eax, eax
je 0x471f0c
cmp eax, 0xffffffff
je 0x471f0c
push eax
call esi
mov dword [ebp - 0x238], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x471f42
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471f38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471f60
push edx
push ecx
call fcn.00497eef
add esp, 8
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.004982ff
mov esp, ebp
pop ebp
ret 0x18
call fcn.004e9178
int3