Function at 0x4162f0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c88d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
mov edx, ecx
mov dword [ebp - 4], 0
push ebx
mov eax, 0x7ffffffe
mov dword [ebp - 0x38], edx
push esi
mov ecx, dword [edx + 0x10]
sub eax, ecx
push edi
mov dword [ebp - 0x10], esp
cmp eax, 2
jb 0x416b10
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41633d
mov eax, dword [edx]
push 2
push 0x446d64
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00419fd0
mov byte [ebp - 4], 1
mov esi, dword [0x4551e8]
mov edi, dword [0x4551ec]
cmp esi, edi
je 0x4163fd
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x416374
mov ecx, dword [esi]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push ecx
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x416390
add esi, 0x18
jmp 0x416362
cmp dword [esi + 0x14], 8
jb 0x416398
mov esi, dword [esi]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push esi
cmovae eax, dword [ebp - 0x34]
push eax
push str.____Skip_directory:__s__found__s_n
call fcn.00401db0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
cmp ecx, 8
jb 0x4163ec
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4163e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b29
push ecx
push edx
call fcn.0041f22a
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push str.____ScanDirectory:__s_n
call fcn.00401db0
push 0x250
lea eax, [ebp - 0x2bc]
push 0
push eax
call fcn.00420e90
add esp, 0x14
lea ecx, [ebp - 0x2bc]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 2
push 0
push 0
push ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x41646f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push eax
cmovae ecx, dword [ebp - 0x34]
push ecx
push str.____FindFirstFileEx__s__error_0x_X_n
jmp 0x4163aa
push 0x18
call fcn.0041f1f5
mov edx, dword [ebp - 0x38]
mov esi, eax
xor eax, eax
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, 0x7ffffffe
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x416b15
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x4164b4
mov eax, dword [edx]
push 1
push 0x446e30
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.00419fd0
push 0x44e9b0
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00419600
mov edi, eax
add esp, 4
cmp esi, edi
je 0x41654f
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x41651f
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x416515
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b1a
mov eax, edx
push ecx
push eax
call fcn.0041f22a
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x416589
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41657f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b1a
push ecx
push edx
call fcn.0041f22a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp ecx, 8
jb 0x4165db
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4165d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b1a
push ecx
push edx
call fcn.0041f22a
add esp, 8
mov ecx, esi
call fcn.00415460
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [ebp - 0x14]
nop dword [eax + eax]
mov ecx, 0x446e34
lea eax, [ebp - 0x290]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416626
test dx, dx
je 0x416622
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416626
add eax, 4
add ecx, 4
test dx, dx
jne 0x416600
xor eax, eax
jmp 0x41662b
sbb eax, eax
or eax, 1
test eax, eax
je 0x416830
mov ecx, 0x446e3c
lea eax, [ebp - 0x290]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416666
test dx, dx
je 0x416662
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416666
add eax, 4
add ecx, 4
test dx, dx
jne 0x416640
xor eax, eax
jmp 0x41666b
sbb eax, eax
or eax, 1
test eax, eax
je 0x416830
mov edx, dword [ebp - 0x38]
mov eax, 0x7ffffffe
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x416b1f
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x416693
mov eax, dword [edx]
push 1
push 0x446e30
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.00419fd0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x50]
call fcn.004196c0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x416736
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x416704
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4166fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b24
push ecx
push edx
call fcn.0041f22a
add esp, 8
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x416770
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416766
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b24
push ecx
push edx
call fcn.0041f22a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp ecx, 8
jb 0x4167c2
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4167b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b24
push ecx
push edx
call fcn.0041f22a
add esp, 8
test byte [ebp - 0x2bc], 0x10
je 0x416936
cmp dword [0x44ea18], 8
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x24]
mov edx, 0x44ea04
cmovae edx, dword [0x44ea04]
cmp dword [ebp - 0x20], 8
cmovae ecx, dword [ebp - 0x34]
setae byte [ebp - 0x15]
cmp esi, dword [0x44ea14]
jne 0x41688a
mov edi, esi
test edi, edi
je 0x416827
sub ecx, edx
mov dword [ebp - 0x1c], ecx
nop dword [eax + eax]
movzx ecx, word [edx + ecx]
movzx eax, word [edx]
cmp cx, ax
jne 0x41688a
mov ecx, dword [ebp - 0x1c]
add edx, 2
sub edi, 1
jne 0x416810
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x2bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4165f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x4163ec
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4163e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b29
jmp 0x4163e2
cmp dword [0x44ea6c], 8
lea eax, [ebp - 0x34]
mov edx, 0x44ea58
cmovae edx, dword [0x44ea58]
cmp byte [ebp - 0x15], 0
cmovne eax, dword [ebp - 0x34]
cmp esi, dword [0x44ea68]
jne 0x4168dc
mov edi, esi
test edi, edi
je 0x416827
sub eax, edx
mov dword [ebp - 0x1c], eax
nop
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x4168dc
mov eax, dword [ebp - 0x1c]
add edx, 2
sub edi, 1
jne 0x4168c0
jmp 0x416827
cmp dword [0x44ea54], 8
lea edi, [ebp - 0x34]
mov edx, 0x44ea40
cmovae edx, dword [0x44ea40]
cmp byte [ebp - 0x15], 0
cmovne edi, dword [ebp - 0x34]
cmp esi, dword [0x44ea50]
jne 0x416929
test esi, esi
je 0x416827
sub edi, edx
nop dword [eax]
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x416929
add edx, 2
sub esi, 1
jne 0x416910
jmp 0x416827
lea ecx, [ebp - 0x34]
call fcn.004162f0
jmp 0x416827
cmp dword [0x44e9c4], 8
mov eax, 0x44e9b0
cmovae eax, dword [0x44e9b0]
push eax
lea eax, [ebp - 0x290]
push eax
call edi
test eax, eax
je 0x41682d
cmp dword [0x44ea3c], 8
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x24]
mov edx, 0x44ea28
cmovae edx, dword [0x44ea28]
cmp dword [ebp - 0x20], 8
cmovae edi, dword [ebp - 0x34]
cmp esi, dword [0x44ea38]
jne 0x4169a9
test esi, esi
je 0x416827
sub edi, edx
nop
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x4169a9
add edx, 2
sub esi, 1
jne 0x416990
jmp 0x416827
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, dword [0x44ea94]
mov edi, dword [0x44ea98]
mov dword [ebp - 0x1c], eax
cmp esi, edi
je 0x4169f4
nop dword [eax]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4169da
mov ecx, dword [esi]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x416827
mov eax, dword [ebp - 0x1c]
add esi, 0x18
cmp esi, edi
jne 0x4169d0
cmp dword [0x44eacc], 8
mov eax, 0x44eab8
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmovae eax, dword [0x44eab8]
push eax
push dword [ebp - 0x1c]
call edi
test eax, eax
je 0x41682d
mov eax, dword [ebp - 0x2bc]
test al, 1
je 0x416a65
and eax, 0xfffffffe
push eax
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x416a65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push eax
cmovae ecx, dword [ebp - 0x34]
push ecx
push 0x446e40
call fcn.00401db0
add esp, 0xc
jmp 0x41682d
push 0x20
call fcn.0041f1f5
mov esi, eax
xorps xmm0, xmm0
xor eax, eax
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x34]
movq qword [esi + 0x18], xmm0
cmp esi, eax
je 0x416aa9
cmp dword [ebp - 0x20], 8
mov ecx, esi
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00405b60
mov eax, dword [ebp - 0x29c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4551bc]
test eax, eax
je 0x416ae1
push eax
push esi
push 0x4162e0
call dword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test eax, eax
je 0x416ae1
push eax
call dword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
jmp 0x41682d
mov ecx, esi
call fcn.004155b0
jmp 0x41682d
call fcn.00401740
call fcn.00401740
call fcn.0042b82f
call fcn.00401740
call fcn.0042b82f
call fcn.0042b82f
int3