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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ae73
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 0x4062ef
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405e2a
mov eax, dword [esi]
push 4
push str..
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x70]
call fcn.00413580
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 0x40629e
test byte [ebp - 0x1b0], 0x10
je 0x405ff5
mov ecx, 0x42eb90
lea eax, [ebp - 0x184]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405eb0
test dl, dl
je 0x405eac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405eb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x405e90
xor eax, eax
jmp 0x405eb5
sbb eax, eax
or eax, 1
test eax, eax
je 0x406277
mov ecx, 0x42ed08
lea eax, [ebp - 0x184]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405ee8
test dl, dl
je 0x405ee4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405ee8
add eax, 2
add ecx, 2
test dl, dl
jne 0x405ec8
xor eax, eax
jmp 0x405eed
sbb eax, eax
or eax, 1
test eax, eax
je 0x406277
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x4062ef
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x405f12
mov eax, dword [esi]
push 1
push 0x42ed0c
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1d4]
call fcn.00413580
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040c830
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 0x405fb8
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405fae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062c4
push ecx
push edx
call fcn.00429acf
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.00405dd0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x406277
mov edx, dword [ebp - 0x40]
jmp 0x406252
mov ecx, dword [esi + 0x10]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x4062ef
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x406012
mov eax, dword [esi]
push 1
push 0x42ed0c
push ecx
push eax
push ecx
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1d4]
call fcn.00413580
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040c830
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 0x4060b8
mov edx, dword [ebp - 0x1d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4060ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062c4
push ecx
push edx
call fcn.00429acf
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.00416a40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f630
sub esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.0040c5d0
cmp eax, 0xffffffff
je 0x406187
push 0
push ecx
push dword [0x439100]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040e5d0
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 0x406157
cmp byte [eax], 0x5c
jne 0x40614c
mov byte [eax], 0x2f
inc eax
cmp eax, edx
jne 0x406144
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.0040e750
push 0
push ecx
push 1
push 0
lea ecx, [ebp - 0x58]
call fcn.0040e5d0
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 0x4061a0
mov ecx, eax
call fcn.0040cbb0
add dword [edi + 4], 0x18
jmp 0x4061a8
push eax
mov ecx, edi
call fcn.00417a80
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4061e0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4061d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062c4
push ecx
push edx
call fcn.00429acf
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 0x406230
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406226
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062c4
push ecx
push edx
call fcn.00429acf
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 0x406277
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40626d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062c4
push ecx
push edx
call fcn.00429acf
add esp, 8
lea eax, [ebp - 0x1b0]
push eax
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405e71
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x4062d4
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4062ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4062ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00429acf
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.00429726
mov esp, ebp
pop ebp
ret
call fcn.00401590
int3