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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4586e6
push eax
mov dword fs:[0], esp
sub esp, 0xab0
push ebx
mov ebx, dword [esp + 0xac4]
push ebp
xor ebp, ebp
cmp ebx, ebp
je 0x42a939
push ebx
call fcn.004438a5
add esp, 4
test eax, eax
je 0x42a939
push esi
push edi
mov word [esp + 0x474], 0x5c
mov dword [esp + 0x478], ebp
mov dword [esp + 0x47c], ebp
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x482]
mov word [esp + 0x480], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push 0x463abc
lea eax, [esp + 0x488]
push 0x190
push eax
mov dword [esp + 0xad8], ebp
call fcn.0042a960
mov eax, dword [esp + 0x488]
add esp, 0x10
cmp eax, ebp
lea esi, [esp + 0x480]
mov dword [esp + 0x47c], ebp
je 0x42a641
cmp eax, 0xffffffff
je 0x42a641
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x478], ebp
lea ecx, [esp + 0x480]
test ecx, ecx
jne 0x42a653
mov esi, 0x463ab4
jmp 0x42a66c
lea edx, [esp + 0x480]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x42a8f7
push esi
lea eax, [esp + 0x4c]
push 0x104
push eax
call fcn.0042b940
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x478], eax
je 0x42a8f7
lea edx, [esp + 0x26c]
push ebp
push edx
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
setne al
test al, al
jne 0x42a6cf
lea ecx, [esp + 0x1c]
call fcn.0042c240
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42a8f7
lea eax, [esp + 0x26c]
push 0x5c
push eax
call fcn.004442f0
lea ecx, [esp + 0x274]
push 0x2f
push ecx
mov esi, eax
call fcn.004442f0
add esp, 0x10
cmp eax, ebp
jne 0x42a701
cmp esi, ebp
je 0x42a718
lea eax, [esp + 0x26c]
cmp esi, ebp
jne 0x42a70c
lea esi, [esp + 0x26c]
cmp eax, esi
jb 0x42a715
mov word [eax], bp
jmp 0x42a718
mov word [esi], bp
mov eax, 1
mov dword [esp + 0x47c], eax
mov ecx, dword [esp + 0x478]
cmp ecx, ebp
jne 0x42a735
mov dword [esp + 0x10], ebp
jmp 0x42a756
cmp eax, ebp
jne 0x42a73f
mov dword [esp + 0x10], ebp
jmp 0x42a791
lea edx, [esp + 0x1c]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x47c], eax
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x42a791
mov ecx, dword [esp + 0x1c]
shr ecx, 4
and ecx, 1
mov dword [esp + 0x18], ecx
je 0x42a791
cmp word [esp + 0x48], 0x2e
jne 0x42a791
mov cx, word [esp + 0x4a]
cmp cx, bp
je 0x42a8e6
cmp cx, 0x2e
jne 0x42a791
cmp word [esp + 0x4c], bp
je 0x42a8e6
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
mov ebx, 0xc8
call fcn.0042c0b0
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0xac8], 1
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x42a7c0
cmp dword [eax - 4], ebx
jge 0x42a805
mov ebp, dword [eax - 8]
cmp ebp, 0xc8
jle 0x42a7cd
mov ebx, ebp
push ebx
mov ecx, esi
call fcn.00403db0
test eax, eax
jne 0x42a7df
xor esi, esi
xor ebp, ebp
jmp 0x42a807
lea eax, [ebp + ebp + 2]
lea ecx, [edi + 0xc]
push eax
mov eax, dword [esi]
lea edx, [ebx + ebx + 2]
push ecx
push edx
push eax
call fcn.00402e50
mov ecx, dword [esi]
add esp, 0x10
push edi
mov dword [ecx - 8], ebp
call fcn.00403f10
xor ebp, ebp
mov esi, dword [esi]
push esi
lea edx, [esp + 0x934]
push 0x190
push edx
call fcn.0042a9d0
lea ecx, [esp + 0x14]
mov byte [esp + 0xac8], 0
call fcn.00403d80
push 0x10
lea ecx, [esp + 0x20]
call fcn.0042c220
test eax, eax
je 0x42a88d
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x612]
mov word [esp + 0x610], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xad0]
lea edx, [esp + 0x610]
stosw word es:[edi], ax
lea eax, [esp + 0x930]
push eax
push ecx
push 0x463aa8
push 0x190
push edx
call fcn.0042a960
lea eax, [esp + 0x624]
push eax
call fcn.0042a580
add esp, 0x18
jmp 0x42a8df
mov edx, dword [esp + 0xad0]
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x7a2]
mov word [esp + 0x7a0], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x930]
push ecx
push edx
stosw word es:[edi], ax
push 0x463aa8
lea eax, [esp + 0x7ac]
push 0x190
push eax
call fcn.0042a960
add esp, 0x14
lea ecx, [esp + 0x7a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x47c]
cmp dword [esp + 0x10], ebp
jne 0x42a724
mov ebx, dword [esp + 0xad0]
lea ecx, [esp + 0x1c]
call fcn.0042c240
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac8], 0xffffffff
call fcn.0042c240
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xab0]
mov dword fs:[0], ecx
add esp, 0xabc
ret
mov ecx, dword [esp + 0xab8]
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xabc
ret