Function at 0x402920
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f898
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x434018]
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 dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x40296a
mov bl, 1
jmp 0x402c22
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + ecx]
mov edx, ecx
inc ecx
cmp word [eax + 0x42b7cc], 0
jne 0x402970
mov esi, dword [ebp + 0xc]
cmp edx, esi
ja 0x4029b6
test edx, edx
je 0x4029b6
mov ecx, esi
sub ecx, edx
cmp ecx, esi
jae 0x4029ea
mov edx, 0x42b7cc
nop dword [eax + eax]
mov eax, dword [ebp + 8]
mov ax, word [eax + ecx*2]
cmp ax, word [edx]
jne 0x4029b6
inc ecx
add edx, 2
cmp ecx, esi
jb 0x4029a0
jmp 0x4029ea
push 0x42b7cc
lea ecx, [ebp - 0x20]
call fcn.00403a10
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
call fcn.004034a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4029e7
push eax
call fcn.0040a8a1
add esp, 4
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
test esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
cmove edx, eax
mov dword [ebp - 0x14], 7
mov ecx, edx
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402a10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004036f0
push 0x42b838
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x294]
call fcn.00403af0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x402a4b
mov eax, dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x280]
mov esi, eax
cmp edx, 8
jb 0x402a9b
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402a91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c50
push edx
push ecx
call fcn.0040aad3
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
cmp esi, 0xffffffff
je 0x402bea
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
test byte [ebp - 0x278], 0x10
lea eax, [ebp - 0x24c]
je 0x402b50
push 0x42b840
push eax
call fcn.004102a2
add esp, 8
test eax, eax
je 0x402bba
lea eax, [ebp - 0x24c]
push 0x42b844
push eax
call fcn.004102a2
add esp, 8
test eax, eax
je 0x402bba
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2ac]
call fcn.00403af0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x402b35
mov eax, dword [eax]
sub esp, 0x10
mov ecx, esp
push eax
call fcn.00403a10
call fcn.00402920
add esp, 0x10
mov byte [ebp - 4], 2
test al, al
jmp 0x402b73
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2ac]
call fcn.00403af0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x402b6a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov edx, dword [ebp - 0x298]
sete bl
cmp edx, 8
jb 0x402bb6
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c50
push edx
push ecx
call fcn.0040aad3
add esp, 8
test bl, bl
jne 0x402be3
lea eax, [ebp - 0x278]
push eax
push esi
call edi
test eax, eax
jne 0x402ad0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
jmp 0x402bec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402c22
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c55
push edx
push ecx
call fcn.0040aad3
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x402c32
push eax
call fcn.0040a8a1
add esp, 4
mov al, bl
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.0040a893
mov esp, ebp
pop ebp
ret
call fcn.00410025
call fcn.00410025
int3