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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab0f5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x6370c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x2d4], edx
mov eax, dword [edx + 0x10]
cmp eax, 3
ja 0x407b74
xor al, al
jmp 0x407f55
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c1], 1
cmp ecx, edx
je 0x407c24
cmp dword [edx + 0x14], 7
mov ecx, edx
jbe 0x407bc0
mov ecx, dword [edx]
cmp eax, 7
ja 0x407be2
lea esi, [eax + eax]
mov dword [ebp - 0x18], eax
push esi
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.00477010
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x407bf9
push ecx
mov byte [ebp - 0x2c8], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c8]
push eax
call fcn.004049f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x407c24
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov edx, 0x5c
cmova eax, dword [ebp - 0x28]
cmp dx, word [eax + ecx*2 - 2]
je 0x407c24
push 0x62a88c
lea ecx, [ebp - 0x28]
call fcn.00401a40
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0047a5b3
add esp, 8
test eax, eax
je 0x407c4f
cmp eax, 0xd
je 0x407c4f
mov byte [ebp - 0x2c1], 1
jmp 0x407ecf
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x407c87
cmp eax, 7
mov dword [ebp - 0x30], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x40]
cmova esi, dword [ebp - 0x40]
push ecx
push esi
call fcn.00477010
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x407c9e
push ecx
mov byte [ebp - 0x2c8], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c8]
push edi
call fcn.004049f0
push 0x62ab24
lea ecx, [ebp - 0x40]
call fcn.00401a40
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov esi, eax
mov dword [ebp - 0x2c8], eax
test byte [ebp - 0x2c0], 0x10
je 0x407db4
push 0x62ab2c
lea eax, [ebp - 0x294]
push eax
call edi
test eax, eax
je 0x407e93
push 0x62ab30
lea eax, [ebp - 0x294]
push eax
call edi
test eax, eax
je 0x407e93
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 7
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov esi, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
cmp esi, 7
ja 0x407d5a
lea eax, [esi + esi]
mov dword [ebp - 0x60], esi
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.00477010
add esp, 0xc
xor eax, eax
mov word [ebp + esi*2 - 0x70], ax
jmp 0x407d71
push ecx
mov byte [ebp - 0x2cc], 0
lea ecx, [ebp - 0x70]
push dword [ebp - 0x2cc]
push esi
call fcn.004049f0
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.00401a40
lea ecx, [ebp - 0x70]
call fcn.00407b30
movzx ecx, byte [ebp - 0x2c1]
xor edx, edx
test al, al
mov byte [ebp - 4], 1
cmovne edx, ecx
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 0x2c1], dl
cmp ecx, 7
jbe 0x407e8d
mov edx, dword [ebp - 0x70]
jmp 0x407e5e
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov esi, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
cmp esi, 7
ja 0x407e03
lea eax, [esi + esi]
mov dword [ebp - 0x48], esi
push eax
push ecx
lea eax, [ebp - 0x58]
push eax
call fcn.00477010
add esp, 0xc
xor eax, eax
mov word [ebp + esi*2 - 0x58], ax
jmp 0x407e1a
push ecx
mov byte [ebp - 0x2d0], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x2d0]
push esi
call fcn.004049f0
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401a40
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx ecx, byte [ebp - 0x2c1]
xor edx, edx
test eax, eax
mov byte [ebp - 4], 1
cmovne edx, ecx
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 0x2c1], dl
cmp ecx, 7
jbe 0x407e8d
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407e83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f70
push ecx
push edx
call fcn.0042dd9f
add esp, 8
mov esi, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407cd2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2d4]
cmp dword [eax + 0x14], 7
jbe 0x407ebe
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x407ecf
mov byte [ebp - 0x2c1], al
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x407f05
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407efb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f70
push ecx
push edx
call fcn.0042dd9f
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x407f4f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407f45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f70
push ecx
push edx
call fcn.0042dd9f
add esp, 8
mov al, byte [ebp - 0x2c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042db10
mov esp, ebp
pop ebp
ret
call fcn.0047a9c0
int3