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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6f2e
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x632a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2fc], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f8], ebx
test eax, eax
jne 0x415f21
xor eax, eax
jmp 0x416313
test ebx, ebx
je 0x415f1a
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2e0], 0
call fcn.00404a90
push 3
push 0x6259e4
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.0040d860
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00404a90
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00420ff0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
push 0x625ba8
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00404a90
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00404a90
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.004224a0
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x415ff6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405130
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x416023
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00405130
mov esi, dword [ebp - 0x2e8]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x2ec]
mov ecx, esi
sub ecx, ebx
xor edi, edi
imul ecx
lea ecx, [ebp - 0x2d8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x2dc], edx
cmp edx, 0xffffffff
je 0x4161f7
nop dword [eax]
lea eax, [ebp - 0x2d8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, dword [ebp - 0x2dc]
test eax, eax
je 0x4161f1
mov cx, word [ebp - 0x2ac]
cmp cx, 0x2e
je 0x416080
mov ax, word [ebp - 0x2aa]
test ax, ax
je 0x416080
cmp ax, 0x2e
jne 0x4160c5
cmp word [ebp - 0x2a8], 0
je 0x416080
test cx, cx
jne 0x4160ce
xor ecx, ecx
jmp 0x4160e6
lea ecx, [ebp - 0x2ac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4160d7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404db0
test byte [ebp - 0x2d8], 0x10
je 0x41616a
push dword [ebp - 0x2f4]
lea ecx, [ebp - 0x28]
call fcn.00404a90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d990
push 0x623ae4
lea ecx, [ebp - 0x28]
call fcn.0040d7c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2fc]
push eax
call fcn.00415ed0
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x4161dc
mov byte [ebp - 4], 3
call fcn.00403d40
mov edx, dword [ebp - 0x2dc]
jmp 0x416080
lea ecx, [ebp - 0x40]
call fcn.00420ff0
mov esi, ebx
mov edx, dword [ebp - 0x2dc]
cmp ebx, dword [ebp - 0x2e8]
je 0x416080
cmp dword [esi + 0x14], 8
jb 0x416190
mov eax, dword [esi]
jmp 0x416192
mov eax, esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00404a90
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00405b30
test eax, eax
lea ecx, [edi + 1]
mov eax, dword [ebp - 0x5c]
cmovne ecx, edi
mov edi, ecx
cmp eax, 8
jb 0x4161c6
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00405130
add esi, 0x18
cmp esi, dword [ebp - 0x2e8]
jne 0x416186
mov edx, dword [ebp - 0x2dc]
jmp 0x416080
mov dword [ebp - 0x2e0], 1
call fcn.00403d40
mov edx, dword [ebp - 0x2dc]
mov esi, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jle 0x41621c
mov eax, dword [ebp - 0x2e0]
mov ecx, 1
cmp edi, dword [ebp - 0x2f0]
cmovge eax, ecx
mov dword [ebp - 0x2e0], eax
test ebx, ebx
je 0x4162a0
push dword [ebp - 0x2f0]
mov edx, esi
push ecx
mov ecx, ebx
call fcn.00417bc0
mov ecx, dword [ebp - 0x2e4]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x41625c
call fcn.005864c3
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x416297
test bl, 0x1f
je 0x416273
call fcn.005864c3
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x41627f
call fcn.005864c3
sub ebx, eax
cmp ebx, 4
jae 0x41628b
call fcn.005864c3
cmp ebx, 0x23
jbe 0x416295
call fcn.005864c3
mov ebx, eax
push ebx
call fcn.00579ec4
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4162b5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00405130
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4162de
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405130
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x41630d
inc ecx
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x88]
call fcn.00405130
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00579ec9
mov esp, ebp
pop ebp
ret 8