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

Disassembly:
push ebp
mov eax, 0x24fc
mov ebp, esp
push edi
push esi
push ebx
call fcn.005e3260
sub esp, eax
cmp word [0x8551a0], 0
mov dword [ebp - 0x24d0], esp
je 0x4167d0
mov esp, dword [ebp - 0x24d0]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ecx]
mov esi, ecx
mov ecx, 0x869458
mov dword [esp], eax
call fcn.004420d0
sub esp, 4
test eax, eax
je 0x416c10
mov ecx, 0x849100
mov dword [esp], 5
call fcn.0041ed80
sub esp, 4
test byte [0x8671a2], 2
mov dword [0x847070], 0
mov ecx, dword [esi + 8]
mov dword [0x847074], 1
jne 0x416827
mov dword [ecx + 8], 1
mov edx, dword [esi + 0xc]
cmp edx, ecx
je 0x41686e
lea ebx, [ecx + 0xa0]
lea eax, [ecx + 8]
sub edx, ebx
shr edx, 5
imul edx, edx, 0x4cccccd
lea edx, [edx + edx*4]
shl edx, 5
lea ecx, [ecx + edx + 0xa8]
nop
mov edi, dword [eax]
test edi, edi
jne 0x416865
mov edx, dword [0x847070]
add edx, 1
mov dword [0x847070], edx
add eax, 0xa0
cmp eax, ecx
jne 0x416850
mov eax, dword [0x847070]
test eax, eax
jne 0x416d02
mov eax, dword [0x869444]
lea eax, [eax*4 + 0x12]
and eax, 0xfffffff0
call fcn.005e3260
sub esp, eax
lea ecx, [ebp - 0x24c8]
lea eax, [esp + 0x24]
mov dword [ebp - 0x24cc], eax
call fcn.0060b490
mov ebx, dword [0x869444]
test ebx, ebx
jle 0x416d20
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
call fcn.00440fc0
mov edi, dword [ebp - 0x24cc]
mov edx, dword [eax]
mov ecx, eax
mov dword [edi + ebx*4], eax
lea edi, [ebp - 0x24c8]
mov dword [esp], 0x416030
mov dword [esp + 4], edi
call dword [edx + 8]
mov eax, dword [0x869444]
add ebx, 1
sub esp, 8
cmp eax, ebx
jg 0x4168c0
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cmp ebx, edi
jne 0x41690b
jmp 0x41693e
add ebx, 0xa0
cmp ebx, edi
je 0x416939
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x416901
lea eax, [ebp - 0x2018]
lea ecx, [ebp - 0x24c8]
mov dword [ebp - 0x2018], ebx
mov dword [esp], eax
call fcn.0060b170
add ebx, 0xa0
sub esp, 4
cmp ebx, edi
jne 0x41690b
mov eax, dword [0x869444]
test eax, eax
jle 0x4169a2
lea edi, [ebp - 0x2018]
xor ebx, ebx
lea esi, [esi]
lea ecx, [ebp - 0x24c8]
mov dword [ebp - 0x2018], 0
mov dword [esp], edi
call fcn.0060b170
mov eax, dword [0x869444]
add ebx, 1
sub esp, 4
cmp eax, ebx
jg 0x416950
test eax, eax
jle 0x4169a2
xor edi, edi
lea esi, [esi]
mov eax, dword [ebp - 0x24cc]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
add edi, 1
call dword [eax + 4]
cmp dword [0x869444], edi
jg 0x416980
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xb
mov ecx, dword [0x720348]
call fcn.00430da0
mov eax, dword [0x847070]
sub esp, 0x24
test eax, eax
je 0x416a14
mov dword [esp + 4], 0x7306ca
mov dword [esp], 0x849160
call fcn.0041f5d0
lea edx, [ebp - 0x236a]
lea eax, [ebp - 0x247e]
mov dword [ebp - 0x248c], 0
mov dword [ebp - 0x2484], pe_nt_image_headers32
mov byte [ebp - 0x2480], 0
mov dword [ebp - 0x2374], edx
xor edx, edx
mov dword [ebp - 0x2488], eax
mov word [ebp - 0x236a], dx
xor eax, eax
mov edx, dword [esi]
mov word [ebp - 0x247e], ax
lea eax, [ebp - 0x237c]
mov dword [ebp - method.Pg.virtual_0], vtable.Pg.0
mov dword [ebp - 0x2378], 0
mov dword [ebp - 0x2370], pe_nt_image_headers32
mov byte [ebp - 0x236c], 0
mov dword [ebp - method.Pg.virtual_0], vtable.Pg.0
mov dword [esp + 8], edx
mov dword [esp + 4], str._ws.
mov dword [esp], eax
call fcn.00403a60
lea eax, [ebp - 0x2268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2374]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
sub esp, 8
mov dword [ebp - 0x24d4], eax
lea esi, [esi]
lea edi, [edi]
lea eax, [ebp - 0x2268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24d4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x416c40
test byte [ebp - 0x2268], 0x10
jne 0x416ad0
cmp word [ebp - 0x223c], 0x5f
je 0x416ad0
lea eax, [ebp - 0x223c]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp + 4], 0x730278
mov dword [esp + 8], eax
lea eax, [ebp - 0x2490]
mov dword [esp], eax
call fcn.00403a60
xor eax, eax
test byte [0x8671a2], 2
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
sete al
sub edx, ecx
sar edx, 5
mov dword [ebp - 0x24cc], eax
imul edx, edx, 0xcccccccd
cmp eax, edx
jae 0x416bca
lea ebx, [eax*4]
lea edi, [ebp - 0x2018]
add ebx, eax
shl ebx, 5
jmp 0x416b87
add dword [ebp - 0x24cc], 1
add ebx, 0xa0
mov eax, dword [ebp - 0x24cc]
cmp eax, edx
jae 0x416bca
mov dword [esp + 8], edi
mov dword [esp + 4], 0x730284
add ecx, ebx
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00413980
mov eax, dword [ebp - 0x2488]
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, ecx
sar edx, 5
imul edx, edx, 0xcccccccd
test eax, eax
jne 0x416b70
cmp dword [ebp - 0x24cc], edx
jne 0x416ad0
mov eax, dword [ebp - 0x2488]
mov dword [esp + 4], str.Deleting__S_n
mov dword [esp], 0x849160
mov dword [esp + 8], eax
call fcn.0041f5d0
mov eax, dword [ebp - 0x2488]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wremove]
jmp 0x416ad0
mov eax, dword [esi]
mov dword [esp + 4], str.ERROR_in_collection_save__:_Write_protected__S_n
mov dword [esp], 0x849160
mov dword [esp + 8], eax
call fcn.0041f010
mov esp, dword [ebp - 0x24d0]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 5
mov ecx, 0x849100
call fcn.0041edb0
mov eax, dword [ebp - 0x2378]
sub esp, 4
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x416c70
mov dword [esp], eax
call fcn.006febd0
mov eax, dword [ebp - 0x248c]
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x416c8c
mov dword [esp], eax
call fcn.006febd0
mov eax, dword [ebp - 0x2498]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 4
xchg dword [ebp - 0x249c], eax
test eax, eax
je 0x416cb4
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [ebp - 0x24c8]
test eax, eax
je 0x4167c2
mov esi, dword [ebp - 0x24a4]
mov ebx, dword [ebp - 0x24b4]
add esi, 4
cmp esi, ebx
jbe 0x416cec
mov eax, dword [ebx]
add ebx, 4
mov dword [esp], eax
call fcn.006febf0
cmp esi, ebx
ja 0x416cd5
mov eax, dword [ebp - 0x24c8]
mov dword [esp], eax
call fcn.006febf0
mov esp, dword [ebp - 0x24d0]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.Saving_indexes..._n
mov dword [esp], 0x849160
call fcn.0041f5d0
jmp 0x41687b
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cmp edi, ebx
jne 0x41690b
jmp 0x4169a2