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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b003
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1d8], esi
mov edi, ecx
mov dword [ebp - 0x1dc], edi
mov dword [ebp - 4], 0
cmp edi, 1
jg 0x4239f5
mov ecx, dword [ebp + 0x1c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 2
jb 0x423a2d
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 2
cmovae eax, dword [ebp + 0xc]
push 0x49416c
push ecx
push eax
push ecx
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x80]
call fcn.0040f790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c0]
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
push ecx
cmovae eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1d4], eax
cmp eax, 0xffffffff
je 0x4239d8
nop
test byte [ebp - 0x1c0], 0x10
je 0x42376e
test edi, edi
jne 0x4239af
xorps xmm0, xmm0
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x18], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423570
sub ecx, edx
lea eax, [ebp - 0x194]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408cd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
setae byte [ebp - 0x1c1]
cmovae ecx, edx
cmp edi, 1
jne 0x4235c1
movzx eax, byte [ecx]
cmp al, 0x2e
jne 0x4235b4
xor eax, eax
jmp 0x4235b9
sbb eax, eax
or eax, 1
test eax, eax
je 0x423753
cmp byte [ebp - 0x1c1], 0
lea ecx, [ebp - 0x28]
cmovne ecx, edx
cmp edi, 2
jne 0x4235f3
movzx eax, byte [ecx]
cmp al, 0x2e
jne 0x4235e6
movzx eax, byte [ecx + 1]
cmp al, 0x2e
jne 0x4235e6
xor eax, eax
jmp 0x4235eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x423753
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x1ac]
push eax
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x423a2d
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 1
cmovae eax, dword [ebp + 0xc]
push 0x493b28
push ecx
push eax
push ecx
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1fc]
call fcn.0040f790
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1e8]
sub esp, 0x1c
cmp dword [ebp - 0x14], 0x10
mov edi, esp
mov ecx, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1e4]
sub eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1cc], ecx
push ecx
push edx
cmp ecx, eax
ja 0x4236ba
mov esi, dword [ebp - 0x1c8]
cmp dword [ebp - 0x1e4], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1f8]
cmovae eax, dword [ebp - 0x1f8]
add esi, eax
push esi
call fcn.0042d8f0
mov eax, dword [ebp - 0x1cc]
add esp, 0xc
mov byte [eax + esi], 0
lea eax, [ebp - 0x1fc]
mov esi, dword [ebp - 0x1d8]
jmp 0x4236d3
mov byte [ebp - 0x1e0], 0
push dword [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.00409060
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [edi], 0
movups xmmword [edi + 4], xmm0
push 8
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0042b3f0
add esp, 4
mov ecx, edi
mov dword [eax + 4], 0
push dword [ebp - 0x1c8]
mov dword [edi], eax
mov dword [eax], edi
call fcn.00406a60
mov edx, esi
mov byte [ebp - 4], 3
mov ecx, 1
call fcn.00423490
add esp, 0x20
lea ecx, [ebp - 0x1fc]
call fcn.00406820
mov eax, dword [ebp - 0x1fc]
push 8
push eax
mov dword [ebp - 0x1fc], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00406820
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
jmp 0x423998
cmp edi, 1
jne 0x4239af
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x194]
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4237a0
sub eax, edx
lea ecx, [ebp - 0x64]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.00408cd0
mov byte [ebp - 4], 5
mov eax, 0x7fffffff
mov ecx, dword [ebp + 0x1c]
sub eax, ecx
cmp eax, 1
jb 0x423a2d
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 1
cmovae eax, dword [ebp + 0xc]
push 0x493b28
push ecx
push eax
push ecx
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x218]
call fcn.0040f790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x200]
cmovae ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x204]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x423856
cmp dword [ebp - 0x200], 0x10
lea esi, [ebp - 0x214]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x214]
add esi, edx
mov dword [ebp - 0x204], eax
push esi
call fcn.0042d8f0
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x1d8]
lea edi, [ebp - 0x218]
jmp 0x423871
mov byte [ebp - 0x1d0], 0
lea ecx, [ebp - 0x218]
push dword [ebp - 0x1d0]
push edi
call fcn.00409060
mov edi, eax
mov byte [ebp - 4], 7
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.0042b3f0
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [eax + 4], 0
mov dword [ebp - 0x48], eax
push edi
mov dword [eax], ecx
call fcn.00406a60
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 9
call fcn.00406820
mov eax, dword [ebp - 0x218]
push 8
push eax
mov dword [ebp - 0x218], 0
call fcn.0042b3d0
mov eax, dword [ebp + 0x24]
add esp, 8
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x1ac]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0x1a8]
push 0
push 0xf4240
push eax
push ecx
call fcn.00478900
sub esp, 0x1c
mov dword [ebp - 0x1cc], edx
mov edi, eax
mov ecx, esp
lea eax, [ebp - 0x48]
push eax
call fcn.004058a0
call fcn.00424540
add esp, 0x1c
test al, al
je 0x423965
mov eax, dword [ebp - 0x1cc]
add edi, 0xffa3b703
adc eax, 0xffffffff
test eax, eax
ja 0x423965
jb 0x423938
cmp edi, 5
ja 0x423965
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x48]
push ecx
cmp eax, dword [esi + 0xc]
je 0x42395d
mov ecx, eax
call fcn.004058a0
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push eax
call fcn.0041ac10
add dword [esi + 8], 0x1c
jmp 0x423965
push eax
mov ecx, esi
call fcn.0041a5a0
lea ecx, [ebp - 0x48]
call fcn.00406820
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x48], 0
call fcn.0042b3d0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00406820
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], 0
push 8
push eax
call fcn.0042b3d0
mov eax, dword [ebp - 0x1d4]
add esp, 8
mov edi, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4239cc
mov eax, dword [ebp - 0x1d4]
jmp 0x423540
push dword [ebp - 0x1d4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x80]
call fcn.00406820
mov eax, dword [ebp - 0x80]
push 8
push eax
mov dword [ebp - 0x80], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp + 8]
call fcn.00406820
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 8], 0
call fcn.0042b3d0
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.0042b3c0
mov esp, ebp
pop ebp
ret
call fcn.00401930
int3