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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c5a7
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x602c90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x27c], ecx
xor esi, esi
push 0x5c78e0
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x26c], esi
call fcn.00401d80
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x274]
push edi
push ecx
mov dword [ebp - 4], esi
call fcn.00420d00
add esp, 0xc
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.00405100
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x264]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x288], eax
nop
call fcn.0047977b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42ffbd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x274], eax
mov ecx, 0x5c5bf4
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x42fb35
mov edx, ecx
movzx esi, dx
push esi
call fcn.00473506
test eax, eax
je 0x42fb47
push esi
push eax
lea ecx, [ebp - 0x274]
call fcn.00401f60
jmp 0x42fb47
push 1
push 0x5c5bf4
lea ecx, [ebp - 0x274]
call fcn.004021a0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x274]
or dword [ebp - 0x26c], 1
lea ecx, [ebp - 0x238]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42fb86
test dx, dx
je 0x42fb82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42fb86
add eax, 4
add ecx, 4
test dx, dx
jne 0x42fb60
xor eax, eax
jmp 0x42fb8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42fbe3
push 0x5c78e8
lea ecx, [ebp - 0x28c]
call fcn.00401d80
or dword [ebp - 0x26c], 2
mov eax, dword [eax]
lea ecx, [ebp - 0x238]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42fbd6
test dx, dx
je 0x42fbd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42fbd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42fbb0
xor eax, eax
jmp 0x42fbdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42fbe3
mov bl, 1
jmp 0x42fbe5
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x26c], 2
je 0x42fc1e
mov eax, dword [ebp - 0x28c]
and dword [ebp - 0x26c], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
test byte [ebp - 0x26c], 1
je 0x42fc51
and dword [ebp - 0x26c], 0xfffffffe
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42ff9a
test byte [ebp - 0x264], 0x10
je 0x42feef
mov esi, dword [edi]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x42fc8e
cmp eax, dword [esi - 0x10]
jne 0x42fc8e
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42fcc6
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x42ffc7
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0055fdb4
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x268], edi
push 0x5c232c
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x298]
push edx
mov byte [ebp - 4], 5
call fcn.00420dc0
add esp, 0xc
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov esi, dword [ebp - 0x268]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42fd4f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42fd3f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42fd3f
push eax
call fcn.00405370
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42fd34
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x268], ebx
jmp 0x42fd4f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.004021a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x298]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fd75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x294]
call fcn.00401d80
push eax
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 7
call fcn.00420d00
add esp, 0xc
push 0x5c20fc
push eax
lea ecx, [ebp - 0x278]
push ecx
mov byte [ebp - 4], 8
call fcn.00420dc0
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov esi, dword [ebp - 0x268]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42fe1c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42fe0c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42fe0c
push eax
call fcn.00405370
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42fe01
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x268], ebx
jmp 0x42fe1c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.004021a0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x294]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fe8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp - 0x27c]
call fcn.0042fa20
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x42ffc7
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ff9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42ff9a
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x280]
push edi
push edx
call fcn.00420dc0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
mov esi, dword [ebp - 0x270]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42ff67
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42ff57
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42ff57
push eax
call fcn.00405370
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42ff4c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x270], ebx
jmp 0x42ff67
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x270]
call fcn.004021a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ff8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov esi, dword [ebp - 0x288]
lea edx, [ebp - 0x264]
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x42ffcc
mov edi, dword [ebp - 0x290]
jmp 0x42fae0
push 0x80004005
call fcn.00401090
call fcn.004022b0
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fffc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055f89e
mov esp, ebp
pop ebp
ret 4