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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a7f3
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x438080]
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 - 0x1b4], edi
mov esi, ecx
mov dword [ebp - 0x1d8], esi
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 4
jb 0x405fef
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405b2a
mov eax, dword [esi]
push 4
push str..
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x70]
call fcn.00413150
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push ecx
cmova eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1b8], eax
cmp eax, 0xffffffff
je 0x405f9e
test byte [ebp - 0x1b0], 0x10
je 0x405cf5
mov ecx, 0x42eb34
lea eax, [ebp - 0x184]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405bb0
test dl, dl
je 0x405bac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405bb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x405b90
xor eax, eax
jmp 0x405bb5
sbb eax, eax
or eax, 1
test eax, eax
je 0x405f77
mov ecx, 0x42eca0
lea eax, [ebp - 0x184]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405be8
test dl, dl
je 0x405be4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405be8
add eax, 2
add ecx, 2
test dl, dl
jne 0x405bc8
xor eax, eax
jmp 0x405bed
sbb eax, eax
or eax, 1
test eax, eax
je 0x405f77
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x405fef
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405c12
mov eax, dword [esi]
push 1
push 0x42eca4
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1d4]
call fcn.00413150
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040c260
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c0]
cmp ecx, 0xf
jbe 0x405cb8
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405cae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fc4
push ecx
push edx
call fcn.004294df
add esp, 8
mov edx, edi
mov dword [ebp - 0x1c4], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
call fcn.00405ad0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x405f77
mov edx, dword [ebp - 0x40]
jmp 0x405f52
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x405fef
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405d12
mov eax, dword [esi]
push 1
push 0x42eca4
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1d4]
call fcn.00413150
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040c260
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c0]
cmp ecx, 0xf
jbe 0x405db8
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405dae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fc4
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 0x1bc], 0
lea edx, [ebp - 0x58]
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
call fcn.00416610
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f060
sub esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.0040c000
cmp eax, 0xffffffff
je 0x405e87
push 0
push ecx
push dword [0x439100]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040e000
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp esi, 0xf
mov edx, dword [ebp - 0x18]
cmova eax, edi
seta cl
add edx, eax
test cl, cl
lea eax, [ebp - 0x28]
cmovne eax, edi
cmp eax, edx
je 0x405e57
cmp byte [eax], 0x5c
jne 0x405e4c
mov byte [eax], 0x2f
inc eax
cmp eax, edx
jne 0x405e44
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
push dword [ebp - 0x18]
cmp esi, 0xf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmova eax, edi
push eax
call fcn.0040e180
push 0
push ecx
push 1
push 0
lea ecx, [ebp - 0x58]
call fcn.0040e000
mov esi, dword [ebp - 0x1d8]
mov edi, dword [ebp - 0x1b4]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x58]
push ecx
cmp eax, dword [edi + 8]
je 0x405ea0
mov ecx, eax
call fcn.0040c5e0
add dword [edi + 4], 0x18
jmp 0x405ea8
push eax
mov ecx, edi
call fcn.00417650
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x405ee0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405ed6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fc4
push ecx
push edx
call fcn.004294df
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 7
jbe 0x405f30
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fc4
push ecx
push edx
call fcn.004294df
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 0xf
jbe 0x405f77
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405f6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fc4
push ecx
push edx
call fcn.004294df
add esp, 8
lea eax, [ebp - 0x1b0]
push eax
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405b71
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x405fd4
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405fca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004294df
add esp, 8
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.00429136
mov esp, ebp
pop ebp
ret
call fcn.00401470
int3