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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6d53
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x4cd00c]
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, ecx
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x284], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416050
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x294]
call fcn.0040afa0
push 0x4bdba0
lea edx, [ebp - 0x294]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00415d50
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x4160cd
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4160c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416375
push edx
push ecx
call fcn.0044434d
add esp, 8
push 0x250
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.00445940
add esp, 0xc
lea ecx, [ebp - 0x27c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41631a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [eax]
push 0x4bdba8
lea eax, [ebp - 0x250]
push eax
call esi
test eax, eax
je 0x41629e
push 0x4bdbac
lea eax, [ebp - 0x250]
push eax
call esi
test eax, eax
je 0x41629e
mov ecx, edi
mov dword [ebp - 0x294], 0
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416170
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x294]
call fcn.0040afa0
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x2ac]
call fcn.00415d50
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040a760
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x4161f4
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416370
push edx
push ecx
call fcn.0044434d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
cmp edx, 8
jb 0x416255
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41624b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416370
push edx
push ecx
call fcn.0044434d
add esp, 8
test byte [ebp - 0x27c], 0x10
je 0x41628c
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, 1
call fcn.00415ff0
add esp, 4
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41629e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x27c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416110
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, edi
lea ecx, [ebp - 0x2ac]
call fcn.00416380
cmp dword [eax + 0x14], 8
jb 0x4162d0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x416313
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416309
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416370
push edx
push ecx
call fcn.0044434d
add esp, 8
mov esi, 1
jmp 0x41631c
xor esi, esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x416352
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416348
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416375
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, esi
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.00443db6
mov esp, ebp
pop ebp
ret
call fcn.00447297
call fcn.00447297
int3