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

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4163c7
push eax
mov dword fs:[0], esp
xor edx, edx
sub esp, 0x194
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
push esi
mov dword [ebp - 0x18], edx
push edi
cmp eax, edx
je 0x4163b2
mov eax, dword [ebp + 0xc]
cmp eax, edx
je 0x416214
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub ecx, 2
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x415fd8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + eax]
cmp al, 0x2f
je 0x415fd8
cmp al, 0x5c
je 0x415fd8
cmp al, 0x3a
je 0x415fd8
lea eax, [ecx - 1]
mov dword [ebp - 0x10], eax
test eax, eax
jg 0x415fb9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
inc ecx
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040ec70
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
call fcn.0040e900
mov byte [ebp - 4], 2
add esp, 0xc
call fcn.004162c3
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
inc ecx
mov eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0040ec70
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
push ecx
call fcn.0040f450
mov byte [ebp - 4], 5
add esp, 0x10
call fcn.004162b3
push 0x437c8c
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0040f040
mov byte [ebp - 4], 6
add esp, 0xc
mov eax, dword [eax]
test eax, eax
jne 0x416057
mov eax, 0x4330e4
lea ecx, [ebp - 0x1a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], eax
call fcn.004162ab
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x4161ff
mov eax, dword [ebp - 0x1a0]
test al, 0x10
je 0x4161dc
lea eax, [ebp - 0x174]
mov ecx, 0x437d2c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4160b6
or dl, dl
je 0x4160b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4160b6
add eax, 2
add ecx, 2
or dl, dl
jne 0x416096
xor eax, eax
jmp 0x4160bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4161dc
lea eax, [ebp - 0x174]
mov ecx, 0x437d28
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4160ee
or dl, dl
je 0x4160ea
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4160ee
add eax, 2
add ecx, 2
or dl, dl
jne 0x4160ce
xor eax, eax
jmp 0x4160f3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4161dc
push 0x437ccc
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040ec70
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
push ecx
call fcn.0040f040
add esp, 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
push ecx
call fcn.0040f040
mov byte [ebp - 4], 9
add esp, 0xc
mov esi, dword [eax]
test esi, esi
jne 0x416144
mov esi, 0x4330e4
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x174]
push eax
lea edx, [ebp - 0x28]
push 0x437ccc
lea eax, [ebp - 0x60]
push ecx
push edx
push eax
call fcn.0040f040
add esp, 0xc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
push ecx
call fcn.0040f040
add esp, 0xc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
push eax
push ecx
call fcn.0040ee40
mov byte [ebp - 4], 0xc
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
jne 0x416195
mov ecx, 0x4330e4
push esi
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00415f60
mov byte [ebp - 4], 0xb
add dword [ebp - 0x18], eax
call fcn.0041628b
mov byte [ebp - 4], 0xa
call fcn.00416283
mov byte [ebp - 4], 9
call fcn.0041627b
mov byte [ebp - 4], 8
call fcn.004162a3
mov byte [ebp - 4], 7
call fcn.0041629b
mov byte [ebp - 4], 5
call fcn.00416293
lea eax, [ebp - 0x1a0]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41607d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
call fcn.004162bb
mov dword [ebp - 4], 0xffffffff
call fcn.004162cb
lea eax, [ebp - 0x1a0]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x4163b2
push 0x433108
push 8
call fcn.00418330
add esp, 8
mov esi, eax
test esi, esi
je 0x4162d3
lea eax, [ebp - 0x174]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040ec70
mov ecx, dword [ebp - 0x1c]
push eax
or ecx, 1
push esi
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x1c], ecx
call fcn.0040f040
add esp, 0xc
mov edi, eax
jmp 0x4162d5
xor edi, edi
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4162eb
xor eax, eax
mov esi, dword [esi + 8]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4162e1
push 0x433108
push 0x10
call fcn.00418330
add esp, 8
test eax, eax
je 0x41632e
mov dword [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x24], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0x4330e8
mov dword [eax + 0xc], edi
mov dword [eax], 0x4330ec
mov dword [esi + 8], eax
jmp 0x416335
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x416347
mov dword [eax + 4], esi
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
jmp 0x416362
test edi, edi
je 0x41635b
mov ecx, edi
call fcn.0040edb0
push edi
call fcn.00418320
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004163d9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
and eax, 0xfffffffe
test ecx, ecx
mov dword [ebp - 0x1c], eax
je 0x41638f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x18], eax
mov edx, dword [ecx + 0x10]
inc edx
mov dword [ecx + 0x10], edx
lea eax, [ebp - 0x1a0]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416231
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc