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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4682c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x48a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a0], edx
mov edi, ecx
mov dword [ebp - 0x2ac], edi
push 0x47ddc0
mov edx, edi
lea ecx, [ebp - 0x2c4]
call fcn.00413bf0
add esp, 4
cmp dword [eax + 0x14], 7
jbe 0x407cd8
mov eax, dword [eax]
lea ecx, [ebp - 0x290]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2b0]
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp ecx, 7
jbe 0x407d2e
mov edx, dword [ebp - 0x2c4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407d24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40814c
push ecx
push edx
call fcn.0043e202
add esp, 8
xor eax, eax
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
cmp esi, 0xffffffff
je 0x408131
nop dword [eax]
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407d80
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004148d0
push 0x47ddc8
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2dc]
call fcn.00413bf0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov ecx, dword [esi + 0x10]
cmova edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x14]
mov edi, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x298], ecx
cmp edi, eax
ja 0x407e24
cmp dword [esi + 0x14], 7
lea eax, [ecx + edi]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x29c], esi
jbe 0x407dfd
mov eax, dword [esi]
mov dword [ebp - 0x29c], eax
lea ecx, [eax + ecx*2]
lea eax, [edi + edi]
push eax
push edx
push ecx
call fcn.0043f880
mov eax, dword [ebp - 0x298]
add esp, 0xc
mov ecx, dword [ebp - 0x29c]
add eax, edi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x407e3d
push edi
push edx
mov byte [ebp - 0x2a8], 0
mov ecx, esi
push dword [ebp - 0x2a8]
push edi
call fcn.004145f0
mov esi, eax
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor eax, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c8]
cmp ecx, 7
jbe 0x407eba
mov edx, dword [ebp - 0x2dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407eb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40814c
push ecx
push edx
call fcn.0043e202
add esp, 8
xor eax, eax
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 7
mov esi, 0x48abe0
mov word [ebp - 0x2dc], ax
nop dword [eax]
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push dword [esi]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00449d15
mov edi, dword [ebp - 0x28]
add esp, 8
test eax, eax
je 0x407f54
add esi, 4
cmp esi, 0x48ac6c
jne 0x407ee0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
seta dl
cmova eax, edi
mov byte [ebp - 0x291], dl
cmp ecx, 1
jne 0x408017
mov edx, 0x47d754
mov esi, ecx
sub eax, edx
mov dword [ebp - 0x298], eax
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x40800e
mov eax, dword [ebp - 0x298]
add edx, 2
sub esi, 1
jne 0x407f36
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x407f95
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407f88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40814c
push ecx
push edx
call fcn.0043e202
mov edi, dword [ebp - 0x28]
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
cmp eax, 7
jbe 0x407fe7
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x407fdd
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40814c
push ecx
push edi
call fcn.0043e202
add esp, 8
mov esi, dword [ebp - 0x2a4]
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40812a
mov edi, dword [ebp - 0x2ac]
jmp 0x407d60
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 0x291]
test dl, dl
lea eax, [ebp - 0x28]
cmovne eax, edi
cmp ecx, 2
jne 0x408052
mov edx, 0x47d758
mov esi, ecx
sub eax, edx
mov dword [ebp - 0x298], eax
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x408052
mov eax, dword [ebp - 0x298]
add edx, 2
sub esi, 1
jne 0x408033
jmp 0x407f54
test byte [ebp - 0x290], 0x10
je 0x40806b
mov edx, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x40]
call fcn.00407c80
jmp 0x40809e
lea ecx, [ebp - 0x28]
call fcn.00407b00
test al, al
je 0x40809e
mov esi, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x40]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x408096
mov ecx, eax
call fcn.0040f1a0
add dword [esi + 4], 0x18
jmp 0x40809e
push eax
mov ecx, esi
call fcn.00416930
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4080d8
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4080ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40814c
push ecx
push edx
call fcn.0043e202
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x407fe7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408123
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40814c
push ecx
push edx
jmp 0x407fdf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de82
mov esp, ebp
pop ebp
ret
call fcn.0044d090
int3