Function at 0x4154e4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe4c
mov eax, 0x49ffbc
call fcn.0048715c
mov word [ebp - 0x4c], 0x14
lea eax, [ebp - 4]
mov edx, dword [ebp + 0xc]
call fcn.004961ec
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 8
mov word [ebp - 0x4c], 0x20
lea eax, [ebp - 8]
mov edx, dword [ebp + 0xc]
call fcn.004961ec
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 8
cmp byte [ebp + 0x14], 0
je 0x415564
mov word [ebp - 0x4c], 0x2c
mov edx, str..
lea eax, [ebp - 0xc]
call fcn.004961ec
inc dword [ebp - 0x40]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004963d4
dec dword [ebp - 0x40]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00496390
jmp 0x4155a2
mov word [ebp - 0x4c], 0x38
lea eax, [ebp - 0x10]
call fcn.00401800
mov ecx, eax
inc dword [ebp - 0x40]
mov edx, dword [ebp + 8]
add edx, 0x24
mov eax, 0x49fe5d
call fcn.004966d8
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004963d4
dec dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00496390
lea ecx, [ebp - 0x1b4]
push ecx
lea eax, [ebp - 8]
call fcn.00401de4
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
jne 0x4155ef
dec dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00496390
mov ecx, dword [ebp - 0x5c]
mov dword fs:[0], ecx
jmp 0x4158de
test byte [ebp - 0x1b4], 0x10
setne al
and eax, 1
mov byte [ebp - 0x65], al
movsx edx, byte [ebp - 0x188]
cmp edx, 0x2e
je 0x415821
cmp byte [ebp + 0x14], 0
je 0x4156d4
cmp byte [ebp - 0x65], 0
je 0x4156d4
mov word [ebp - 0x4c], 0x44
lea eax, [ebp - 0x18]
call fcn.00401800
push eax
inc dword [ebp - 0x40]
mov edx, 0x49fe5f
lea eax, [ebp - 0x14]
call fcn.004961ec
mov edx, eax
inc dword [ebp - 0x40]
lea eax, [ebp - 4]
pop ecx
call fcn.004963e8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
call fcn.00401800
push eax
inc dword [ebp - 0x40]
lea edx, [ebp - 0x188]
lea eax, [ebp - 0x1c]
call fcn.004961ec
inc dword [ebp - 0x40]
lea edx, [ebp - 0x1c]
pop ecx
pop eax
call fcn.004963e8
lea eax, [ebp - 0x20]
call fcn.00401de4
push eax
push dword [ebp + 8]
call fcn.00415aa0
add esp, 8
dec dword [ebp - 0x40]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00496390
jmp 0x415821
cmp byte [ebp + 0x14], 0
jne 0x415821
push 0x10
call fcn.00485e3c
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41570c
mov word [ebp - 0x4c], 0x5c
mov eax, dword [ebp - 0x24]
call fcn.00401800
inc dword [ebp - 0x40]
dec dword [ebp - 0x40]
mov word [ebp - 0x4c], 0x50
mov edx, dword [ebp - 0x24]
jmp 0x41570f
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov cl, byte [ebp - 0x65]
mov byte [eax + 0xc], cl
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x194]
mov dword [eax + 4], edx
cmp byte [ebp + 0x10], 0
je 0x4157d6
mov word [ebp - 0x4c], 0x68
lea eax, [ebp - 0x2c]
call fcn.00401800
push eax
inc dword [ebp - 0x40]
mov edx, 0x49fe61
lea eax, [ebp - 0x28]
call fcn.004961ec
mov edx, eax
inc dword [ebp - 0x40]
lea eax, [ebp - 4]
pop ecx
call fcn.004963e8
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x34]
call fcn.00401800
push eax
inc dword [ebp - 0x40]
lea edx, [ebp - 0x188]
lea eax, [ebp - 0x30]
call fcn.004961ec
inc dword [ebp - 0x40]
lea edx, [ebp - 0x30]
pop ecx
pop eax
call fcn.004963e8
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x64]
call fcn.004963c0
dec dword [ebp - 0x40]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00496390
jmp 0x415808
mov word [ebp - 0x4c], 0x74
lea edx, [ebp - 0x188]
lea eax, [ebp - 0x38]
call fcn.004961ec
inc dword [ebp - 0x40]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x64]
call fcn.004963c0
dec dword [ebp - 0x40]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00496390
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1b4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0042bbd0
lea edx, [ebp - 0x1b4]
push edx
push dword [ebp - 0x60]
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4155ef
push dword [ebp - 0x60]
call sub.KERNEL32.DLL_FindClose
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x4c], 8
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x4158a7
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0042bd2c
cmp byte [eax + 0xc], 0
je 0x4158a4
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0042bd2c
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call fcn.0042bd2c
mov ecx, eax
mov edx, dword [ebp - 0x6c]
inc dword [ebp - 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.0042be78
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.0042be78
inc dword [ebp - 0x74]
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ecx + 8]
cmp eax, dword [ebp - 0x74]
jg 0x415852
dec dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00496390
dec dword [ebp - 0x40]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00496390
mov ecx, dword [ebp - 0x5c]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret