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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4356c6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x45a6d0]
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]
xor esi, esi
mov dword [ebp - 0x3d0], edi
cmp edi, esi
je 0x41533c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414f56
sub eax, edx
cmp eax, 2
jb 0x41533c
mov eax, edi
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], esi
mov byte [ebp - 0x240], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414f83
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x240]
call fcn.004028b2
mov eax, edi
mov dword [ebp - 4], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414fa1
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
jne 0x415078
push 1
push 0x43bdb8
lea edx, [ebp - 0x240]
call fcn.004025ee
push eax
push esi
lea eax, [ebp - 0x240]
push eax
lea esi, [ebp - 0x25c]
call fcn.00402464
mov esi, eax
lea ecx, [ebp - 0x240]
mov ebx, 0x10
cmp ecx, esi
je 0x41505b
cmp dword [ebp - 0x22c], ebx
jb 0x415003
mov edx, dword [ebp - 0x240]
push edx
call fcn.0041bfc5
add esp, 4
xor eax, eax
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x240], al
cmp dword [esi + 0x14], ebx
jae 0x415039
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x240]
push esi
push eax
call fcn.0041b8d0
add esp, 0xc
xor eax, eax
jmp 0x415043
mov ecx, dword [esi]
mov dword [ebp - 0x240], ecx
mov dword [esi], eax
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x230], edx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x22c], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x248], ebx
jb 0x41507d
mov edx, dword [ebp - 0x25c]
push edx
call fcn.0041bfc5
add esp, 4
jmp 0x41507d
mov ebx, 0x10
mov eax, dword [ebp - 0x240]
cmp dword [ebp - 0x22c], ebx
jae 0x415091
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call fcn.0041d63b
add esp, 8
test dword [ebp - 0x286], 0x4000
je 0x41531e
push 0x103
lea edx, [ebp - 0x223]
push 0
push edx
mov bl, 1
mov byte [ebp - 0x224], 0
call fcn.00426cd0
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4150d5
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
push edi
je 0x4150f9
push 0x43cc24
push 0x104
lea eax, [ebp - 0x224]
push eax
jmp 0x41510a
push str._s.
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call fcn.0041d1e8
add esp, 0x10
lea edx, [ebp - 0x3cc]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x3d4], esi
cmp esi, 0xffffffff
je 0x41530b
cmp bl, 1
jne 0x41530b
mov al, byte [ebp - 0x3cc]
test al, 0x20
je 0x4151ee
push 0x104
lea ecx, [ebp - 0x11c]
push edi
push ecx
call fcn.0041d360
lea eax, [ebp - 0x11c]
add esp, 0xc
mov byte [ebp - 0x19], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415170
sub eax, edx
cmp byte [ebp + eax - 0x11d], 0x5c
je 0x4151a2
lea edi, [ebp - 0x11c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415190
mov dx, word [0x43bdb8]
mov word [edi], dx
lea eax, [ebp - 0x3a0]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4151b0
lea edi, [ebp - 0x11c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4151c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x11c]
rep movsb byte es:[edi], byte [esi]
push eax
mov byte [ebp - 0x19], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4152e7
test al, 0x10
je 0x4152ed
lea eax, [ebp - 0x3a0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415200
sub eax, edx
push eax
lea ecx, [ebp - 0x3a0]
push 0x43c718
push ecx
call fcn.00430a1b
add esp, 0xc
test eax, eax
je 0x4152ed
lea eax, [ebp - 0x3a0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415230
sub eax, edx
push eax
lea edx, [ebp - 0x3a0]
push 0x43cc34
push edx
call fcn.00430a1b
add esp, 0xc
test eax, eax
je 0x4152ed
push 0x104
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.0041d360
lea eax, [ebp - 0x11c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415274
sub eax, edx
cmp byte [ebp + eax - 0x11d], 0x5c
je 0x4152a2
lea edi, [ebp - 0x11c]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415290
mov cx, word [0x43bdb8]
mov word [edi], cx
lea eax, [ebp - 0x3a0]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4152b0
lea edi, [ebp - 0x11c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4152c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x11c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call sym.jsService.exe_void___cdecl_KpBase::DeleteAllFile_char_const__
add esp, 4
mov edi, dword [ebp - 0x3d0]
mov esi, dword [ebp - 0x3d4]
lea eax, [ebp - 0x3cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
setne bl
jmp 0x415137
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ebx, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x22c], ebx
jb 0x41533c
mov ecx, dword [ebp - 0x240]
push ecx
call fcn.0041bfc5
add esp, 4
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.0041b4d6
mov esp, ebp
pop ebp
ret