Function at 0x416d70
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d32d
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 0x417590
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x416dbd
mov eax, dword [edx]
push 2
push 0x447e64
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00408520
mov byte [ebp - 4], 1
mov esi, dword [0x456424]
mov edi, dword [0x456428]
cmp esi, edi
je 0x416e7d
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x416df4
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 0x416e10
add esi, 0x18
jmp 0x416de2
cmp dword [esi + 0x14], 8
jb 0x416e18
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.00401dd0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
cmp ecx, 8
jb 0x416e6c
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416e62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175a9
push ecx
push edx
call fcn.0041fc4a
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.00401dd0
push 0x250
lea eax, [ebp - 0x2bc]
push 0
push eax
call fcn.004218b0
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 0x416eef
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 0x416e2a
push 0x18
call fcn.0041fc15
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 0x417595
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x416f34
mov eax, dword [edx]
push 1
push 0x447f30
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.00408520
push 0x44f9b4
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.0041a2c0
mov edi, eax
add esp, 4
cmp esi, edi
je 0x416fcf
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x416f9f
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x416f95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41759a
mov eax, edx
push ecx
push eax
call fcn.0041fc4a
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 0x417009
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416fff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41759a
push ecx
push edx
call fcn.0041fc4a
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 0x41705b
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417051
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41759a
push ecx
push edx
call fcn.0041fc4a
add esp, 8
mov ecx, esi
call fcn.00415f80
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [ebp - 0x14]
nop dword [eax + eax]
mov ecx, 0x447f34
lea eax, [ebp - 0x290]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4170a6
test dx, dx
je 0x4170a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4170a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x417080
xor eax, eax
jmp 0x4170ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x4172b0
mov ecx, 0x447f3c
lea eax, [ebp - 0x290]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4170e6
test dx, dx
je 0x4170e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4170e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4170c0
xor eax, eax
jmp 0x4170eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4172b0
mov edx, dword [ebp - 0x38]
mov eax, 0x7ffffffe
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x41759f
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x417113
mov eax, dword [edx]
push 1
push 0x447f30
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.00408520
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x50]
call fcn.00406f50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x4171b6
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x417184
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41717a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175a4
push ecx
push edx
call fcn.0041fc4a
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 0x4171f0
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4171e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175a4
push ecx
push edx
call fcn.0041fc4a
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 0x417242
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417238
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175a4
push ecx
push edx
call fcn.0041fc4a
add esp, 8
test byte [ebp - 0x2bc], 0x10
je 0x4173b6
cmp dword [0x44fa1c], 8
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x24]
mov edx, 0x44fa08
cmovae edx, dword [0x44fa08]
cmp dword [ebp - 0x20], 8
cmovae ecx, dword [ebp - 0x34]
setae byte [ebp - 0x15]
cmp esi, dword [0x44fa18]
jne 0x41730a
mov edi, esi
test edi, edi
je 0x4172a7
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 0x41730a
mov ecx, dword [ebp - 0x1c]
add edx, 2
sub edi, 1
jne 0x417290
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 0x417070
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x416e6c
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416e62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4175a9
jmp 0x416e62
cmp dword [0x44fa70], 8
lea eax, [ebp - 0x34]
mov edx, 0x44fa5c
cmovae edx, dword [0x44fa5c]
cmp byte [ebp - 0x15], 0
cmovne eax, dword [ebp - 0x34]
cmp esi, dword [0x44fa6c]
jne 0x41735c
mov edi, esi
test edi, edi
je 0x4172a7
sub eax, edx
mov dword [ebp - 0x1c], eax
nop
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x41735c
mov eax, dword [ebp - 0x1c]
add edx, 2
sub edi, 1
jne 0x417340
jmp 0x4172a7
cmp dword [0x44fa58], 8
lea edi, [ebp - 0x34]
mov edx, 0x44fa44
cmovae edx, dword [0x44fa44]
cmp byte [ebp - 0x15], 0
cmovne edi, dword [ebp - 0x34]
cmp esi, dword [0x44fa54]
jne 0x4173a9
test esi, esi
je 0x4172a7
sub edi, edx
nop dword [eax]
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x4173a9
add edx, 2
sub esi, 1
jne 0x417390
jmp 0x4172a7
lea ecx, [ebp - 0x34]
call fcn.00416d70
jmp 0x4172a7
cmp dword [0x44f9c8], 8
mov eax, 0x44f9b4
cmovae eax, dword [0x44f9b4]
push eax
lea eax, [ebp - 0x290]
push eax
call edi
test eax, eax
je 0x4172ad
cmp dword [0x44fa40], 8
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x24]
mov edx, 0x44fa2c
cmovae edx, dword [0x44fa2c]
cmp dword [ebp - 0x20], 8
cmovae edi, dword [ebp - 0x34]
cmp esi, dword [0x44fa3c]
jne 0x417429
test esi, esi
je 0x4172a7
sub edi, edx
nop
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x417429
add edx, 2
sub esi, 1
jne 0x417410
jmp 0x4172a7
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, dword [0x44fa98]
mov edi, dword [0x44fa9c]
mov dword [ebp - 0x1c], eax
cmp esi, edi
je 0x417474
nop dword [eax]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41745a
mov ecx, dword [esi]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4172a7
mov eax, dword [ebp - 0x1c]
add esi, 0x18
cmp esi, edi
jne 0x417450
cmp dword [0x44fad0], 8
mov eax, 0x44fabc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmovae eax, dword [0x44fabc]
push eax
push dword [ebp - 0x1c]
call edi
test eax, eax
je 0x4172ad
mov eax, dword [ebp - 0x2bc]
test al, 1
je 0x4174e5
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 0x4174e5
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 0x447f40
call fcn.00401dd0
add esp, 0xc
jmp 0x4172ad
push 0x20
call fcn.0041fc15
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 0x417529
cmp dword [ebp - 0x20], 8
mov ecx, esi
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00406270
mov eax, dword [ebp - 0x29c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4563b8]
test eax, eax
je 0x417561
push eax
push esi
push 0x416d60
call dword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test eax, eax
je 0x417561
push eax
call dword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
jmp 0x4172ad
mov ecx, esi
call fcn.004160e0
jmp 0x4172ad
call fcn.00401760
call fcn.00401760
call fcn.0042c24f
call fcn.00401760
call fcn.0042c24f
call fcn.0042c24f
int3