Function at 0x417190
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x350
mov al, byte [0x433f60]
push ebx
push esi
push edi
mov byte [esp + 0x25c], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x25d]
mov esi, dword [esp + 0x360]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x10]
inc ebx
push ecx
mov dword [esp + 0x10], ebx
call fcn.00415015
lea edx, [esp + 0x14]
push edx
call fcn.00414eb5
add esp, 8
test eax, eax
je 0x41741f
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push esi
push str.d:UVCCenter
lea ecx, [ecx + ecx*2]
push str._slog_s.log
lea ecx, [edx + ecx*4 + 0x5911]
mov edx, dword [eax + 0xc]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*2]
lea ecx, [esp + 0x268]
push ecx
mov dword [esp + 0x28], eax
call fcn.004041be
add esp, 0x10
lea edx, [esp + 0x11c]
lea eax, [esp + 0x25c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x41741f
push ebp
mov esi, 0x42c7bc
lea eax, [esp + 0x14c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x417287
test cl, cl
je 0x417283
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x417287
add eax, 2
add esi, 2
test cl, cl
jne 0x417263
xor eax, eax
jmp 0x41728c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4173fc
mov esi, 0x432c48
lea eax, [esp + 0x14c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4172c4
test cl, cl
je 0x4172c0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4172c4
add eax, 2
add esi, 2
test cl, cl
jne 0x4172a0
xor eax, eax
jmp 0x4172c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4173fc
mov eax, dword [esp + 0x120]
and eax, 0x10
cmp al, 0x10
je 0x4173fc
mov cl, byte [0x433f60]
xor eax, eax
mov byte [esp + 0x20], cl
mov ecx, 0x3f
lea edi, [esp + 0x21]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + ebx + 0x14c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
mov byte [esp + 0x24], 0
push ecx
call fcn.00404312
mov ebp, eax
lea edi, [esp + ebx + 0x155]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
mov byte [esp + 0x26], 0
push ecx
call fcn.00404312
mov edx, dword [esp + 0x18]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + edx + 0x15c]
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a], 0
push ecx
call fcn.00404312
lea edx, [ebp + ebp*2]
add esp, 0xc
lea ecx, [ebx + edx*4]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 1
sub edx, ecx
sub edx, eax
cmp edx, 0x1e
jl 0x4173f8
lea eax, [esp + 0x14c]
lea ecx, [esp + 0x260]
push eax
push str.d:UVCCenter
push str._slog_s
push ecx
call fcn.004041be
add esp, 0x10
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x120]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x417257
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x350
ret