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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480b5a
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4a2e84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x191], 0
mov dword [ebp - 0x198], 0xffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x190]
call fcn.00403a10
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x190]
push ecx
call fcn.00402300
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x40178e
mov ecx, dword [ebp + 0x10]
call fcn.00403ee0
movzx edx, al
test edx, edx
jne 0x40178e
mov dword [ebp - 0x19c], 0
jmp 0x40165b
mov eax, dword [ebp - 0x19c]
add eax, 1
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp + 0x10]
call fcn.00403ec0
cmp dword [ebp - 0x19c], eax
jae 0x40178e
lea ecx, [ebp - 0x190]
call fcn.00403c60
sub eax, 2
push eax
push 0x5c
lea ecx, [ebp - 0x190]
call fcn.00403d00
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
cmp ecx, dword [0x486938]
je 0x401789
mov edx, dword [ebp - 0x19c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00403f00
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00403a50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00403c60
mov dword [ebp - 0x1c0], eax
push 0
lea eax, [ebp - 0x1bc]
push eax
call fcn.00402300
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.00403c60
sub eax, dword [ebp - 0x1a0]
add eax, 1
push eax
mov ecx, dword [ebp - 0x1a0]
add ecx, 1
push ecx
lea edx, [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x190]
call fcn.00403d20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.00406020
add esp, 8
movzx edx, al
test edx, edx
je 0x40176b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1dc]
call fcn.00403a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00403a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x190]
call fcn.00403a90
jmp 0x401a89
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1dc]
call fcn.00403a90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00403a90
jmp 0x40164c
push 0x486870
lea ecx, [ebp - 0x190]
call fcn.00403af0
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x174]
call fcn.00403a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00403c40
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0xffffffff
je 0x401a4f
mov edx, dword [ebp - 0x154]
and edx, 0x10
je 0x401a31
push 0x486874
lea eax, [ebp - 0x128]
push eax
call fcn.00464b70
add esp, 8
test eax, eax
je 0x401a31
push 0x486878
lea ecx, [ebp - 0x128]
push ecx
call fcn.00464b70
add esp, 8
test eax, eax
je 0x401a31
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x1f8]
call fcn.00403a10
mov byte [ebp - 4], 4
push 0
lea eax, [ebp - 0x1f8]
push eax
call fcn.00402300
add esp, 8
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.00403af0
push 0
lea edx, [ebp - 0x1f8]
push edx
call fcn.00402300
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x4019ed
mov ecx, dword [ebp + 0x10]
call fcn.00403ee0
movzx eax, al
test eax, eax
jne 0x4019ed
mov dword [ebp - 0x1fc], 0
jmp 0x4018a6
mov ecx, dword [ebp - 0x1fc]
add ecx, 1
mov dword [ebp - 0x1fc], ecx
mov ecx, dword [ebp + 0x10]
call fcn.00403ec0
cmp dword [ebp - 0x1fc], eax
jae 0x4019bd
lea ecx, [ebp - 0x1f8]
call fcn.00403c60
sub eax, 1
push eax
push 0x48687c
lea ecx, [ebp - 0x190]
call fcn.00403cd0
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x200]
cmp edx, dword [0x486938]
je 0x4019b8
mov eax, dword [ebp - 0x1fc]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00403f00
push eax
lea ecx, [ebp - 0x21c]
call fcn.00403a50
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00402300
add esp, 8
lea ecx, [ebp - 0x1f8]
call fcn.00403c60
sub eax, dword [ebp - 0x200]
add eax, 1
push eax
mov edx, dword [ebp - 0x200]
add edx, 1
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00403d20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.00406020
add esp, 8
movzx eax, al
test eax, eax
je 0x40199a
mov byte [ebp - 0x191], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.00403a90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00403a90
jmp 0x4019bd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.00403a90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00403a90
jmp 0x401897
movzx ecx, byte [ebp - 0x191]
test ecx, ecx
je 0x4019ed
movzx edx, byte [ebp - 0x191]
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x191], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f8]
call fcn.00403a90
jmp 0x401a31
lea eax, [ebp - 0x1f8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403f80
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x401a22
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00403c40
push eax
call fcn.004015c0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f8]
call fcn.00403a90
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4017e0
jmp 0x401a5b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.00403a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x190]
call fcn.00403a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004644d6
mov esp, ebp
pop ebp
ret