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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7a15
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4e7744]
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 ebx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp + 0xc]
xor eax, eax
push 1
mov dword [ebp - 0x40], 0
push 0x4caee4
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00409f70
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00402f80
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x40153a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401530
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40181c
push edx
push ecx
call fcn.004aa4d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x60], eax
je 0x4017c6
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4017c6
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x4ca810
lea eax, [ebp - 0x294]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4015b6
test dx, dx
je 0x4015b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4015b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401590
xor eax, eax
jmp 0x4015bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x401732
mov ecx, 0x4ca814
lea eax, [ebp - 0x294]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4015f6
test dx, dx
je 0x4015f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4015f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4015d0
xor eax, eax
jmp 0x4015fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x401732
xor eax, eax
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
lea edx, [ecx + 2]
mov word [ebp - 0x58], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401627
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00409f70
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x28]
push eax
call fcn.00402f80
add esp, 0xc
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x40169e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401694
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40181c
push edx
push ecx
call fcn.004aa4d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x18], eax
je 0x4016f4
mov eax, dword [ebp - 0x2c0]
shr eax, 4
and al, 1
mov byte [ebp - 0x2c8], al
je 0x4016db
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00401480
add esp, 8
test al, al
je 0x401753
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402770
test al, al
je 0x401798
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x401732
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401728
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401821
push edx
push ecx
call fcn.004aa4d8
add esp, 8
lea eax, [ebp - 0x2c0]
push eax
push edi
call ebx
cmp eax, 1
je 0x401581
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x4017c8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40178d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401821
push edx
push ecx
call fcn.004aa4d8
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x4017c8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40178d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401821
jmp 0x401783
xor bl, bl
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4017fe
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4017f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401826
push edx
push ecx
call fcn.004aa4d8
add esp, 8
mov al, bl
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.004aa4f4
mov esp, ebp
pop ebp
ret
call fcn.004aeecf
call fcn.004aeecf
call fcn.004aeecf
int3