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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4108c2
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x29c], edi
mov esi, ecx
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2a4], esi
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2b0], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2a0], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x2a8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2b8], ecx
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x2a0], 1
call fcn.0040dbc0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
test ecx, ecx
je 0x40aa2e
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp edx, 8
cmovae eax, edi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x40aa28
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x40aa04
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, edi
mov dword [eax + ecx*2], 0x5c
jmp 0x40aa22
push 1
push 0x4127d4
mov byte [ebp - 0x2a4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2a4]
push 1
call fcn.0040ded0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x29c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x40b01f
push 1
push 0x481e4c
cmp edx, 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2d0]
call fcn.004073b0
cmp dword [ebp - 0x2bc], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2a0], 5
cmovae eax, dword [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2a4], eax
cmp ecx, 8
jb 0x40aadd
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aacd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40aacd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040f0fe
mov eax, dword [ebp - 0x2a4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], cx
cmp eax, 0xffffffff
je 0x40afc6
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040daa0
mov byte [ebp - 4], 2
test byte [ebp - 0x290], 0x10
je 0x40ad6b
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
setae byte [ebp - 0x295]
cmovae edi, edx
mov dword [ebp - 0x294], edx
cmp ecx, 1
jne 0x40ab6f
mov edx, ecx
mov ecx, 0x481e50
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x40ab66
add ecx, 2
sub edx, 1
jne 0x40ab50
jmp 0x40af04
mov edx, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x30]
cmp byte [ebp - 0x295], 0
lea edi, [ebp - 0x40]
cmovne edi, edx
cmp ecx, 2
jne 0x40abaf
mov edx, ecx
mov ecx, 0x481e54
sub edi, ecx
nop word [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x40aba6
add ecx, 2
sub edx, 1
jne 0x40ab90
jmp 0x40af04
mov edx, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2b0]
cmp byte [eax], 0
je 0x40af04
mov edi, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, edi
cmp eax, ecx
jb 0x40b01f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp byte [ebp - 0x295], 0
cmovne eax, edx
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x318]
call fcn.004073b0
or dword [ebp - 0x2a0], 8
push dword [ebp - 0x2b8]
mov edx, dword [ebp - 0x29c]
lea eax, [ebp - 0x318]
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 3
push dword [ebp - 0x2b0]
push eax
call fcn.0040a910
mov edi, eax
add esp, 0x10
cmp esi, edi
je 0x40aca7
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40ac77
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40ac6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aac7
mov eax, edx
push ecx
push eax
call fcn.0040f0fe
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 - 0x2ec]
cmp ecx, 8
jb 0x40ace7
mov edx, dword [ebp - 0x300]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40acdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aac7
push ecx
push edx
call fcn.0040f0fe
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
cmp ecx, 8
jb 0x40ad48
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ad3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aac7
push ecx
push edx
call fcn.0040f0fe
add esp, 8
cmp dword [esi + 0x10], 0
je 0x40ad5d
mov eax, dword [ebp - 0x2a8]
cmp byte [eax], 0
jne 0x40af6d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x294], eax
jmp 0x40af0a
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x40ad75
mov ecx, dword [edi]
mov esi, dword [ebp - 0x29c]
lea edi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmovae edi, eax
cmp edx, dword [esi + 0x10]
mov esi, dword [ebp - 0x2b4]
mov dword [ebp - 0x294], eax
jne 0x40af0a
test edx, edx
je 0x40adc5
sub edi, ecx
nop word [eax + eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x40af04
add ecx, 2
sub edx, 1
jne 0x40adb0
mov ecx, dword [ebp - 0x29c]
mov eax, 0x7ffffffe
mov edx, dword [ebp - 0x18]
sub eax, edx
mov edi, dword [ecx + 0x10]
cmp eax, edi
jb 0x40b01f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, ecx
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
mov esi, dword [ebp - 0x2b4]
jb 0x40adfb
mov ecx, dword [ecx]
push edi
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2e8]
call fcn.004073b0
or dword [ebp - 0x2a0], 2
lea eax, [ebp - 0x2e8]
cmp esi, eax
je 0x40ae95
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40ae5b
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40ae51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aff2
mov eax, edx
push ecx
push eax
call fcn.0040f0fe
add esp, 8
movups xmm0, xmmword [ebp - 0x2e8]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x2e8], ax
movq xmm0, qword [ebp - 0x2d8]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2d4], 7
jmp 0x40aed5
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x40aed5
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aecb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aff2
push ecx
push edx
call fcn.0040f0fe
add esp, 8
mov edi, dword [ebp - 0x2b8]
push esi
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40aef1
mov ecx, eax
call fcn.0040dbc0
add dword [edi + 4], 0x18
jmp 0x40aef9
push eax
mov ecx, edi
call fcn.0040e070
mov eax, dword [ebp - 0x2a8]
cmp byte [eax], 0
jne 0x40af81
mov eax, dword [ebp - 0x294]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x40af4b
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40af3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aff2
jmp 0x40af41
mov edx, dword [ebp - 0x294]
push ecx
push edx
call fcn.0040f0fe
add esp, 8
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40afba
mov edi, dword [ebp - 0x29c]
jmp 0x40ab03
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x40afba
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
jmp 0x40af96
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x40afba
mov edx, dword [ebp - 0x294]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40afb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aff2
push ecx
push edx
call fcn.0040f0fe
add esp, 8
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40b002
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aff8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40aff8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040f0fe
add esp, 8
mov eax, esi
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.0040eba8
mov esp, ebp
pop ebp
ret
call fcn.00401280
int3