Function at 0x4011d0
Capabilities:
Enumerate files on windows
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x42c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3e8], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.0040c5a0
add esp, 8
cmp dword [0x42e5dc], 0
je 0x401224
call fcn.004010e0
nop
push 8
call fcn.0040ea3e
add esp, 4
mov dword [0x42e5dc], eax
push 8
push 0
mov edx, dword [0x42e5dc]
push edx
call fcn.0040a5a0
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x280]
push ecx
call fcn.00402360
add esp, 0xc
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00402210
add esp, 0xc
lea ecx, [ebp - 0x3c4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0xffffffff
je 0x401306
mov eax, dword [ebp - 0x3c4]
and eax, 0x10
jne 0x4012e0
push 0
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x398]
push edx
call fcn.00401ce0
add esp, 0xc
test eax, eax
jne 0x4012e0
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x280]
push ecx
push str._s_s
push 0x12c
lea edx, [ebp - 0x154]
push edx
call fcn.00401060
add esp, 0x14
jmp 0x4012f8
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x3ec]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401290
mov edx, dword [ebp - 0x3ec]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3cc], 0xffffffff
je 0x401647
push 0
mov ecx, dword [ebp - 0x3cc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3e0], eax
push 0
call fcn.0040ea02
add esp, 4
mov edx, dword [ebp - 0x3e0]
add edx, 1
mov eax, 0xffffffff
cmovo edx, eax
push edx
mov ecx, dword [ebp - 0x3dc]
push ecx
call fcn.0040c698
add esp, 8
mov dword [ebp - 0x3f4], eax
call fcn.0040e9ef
cmp dword [eax], 0xc
jne 0x401387
jmp 0x401393
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3dc], edx
cmp dword [ebp - 0x3dc], 0
je 0x401630
push 0
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x3e0]
push ecx
mov edx, dword [ebp - 0x3dc]
push edx
mov eax, dword [ebp - 0x3cc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401630
mov ecx, dword [ebp - 0x3e0]
cmp ecx, dword [ebp - 0x284]
jne 0x401630
mov edx, dword [ebp - 0x3cc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3d0], 0
jmp 0x401410
mov eax, dword [ebp - 0x3d0]
add eax, 1
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0x3e8
jge 0x401630
cmp dword [ebp - 0x3e8], 1
je 0x401630
mov dword [ebp - 0x3d8], 0
mov ecx, dword [0x42cee4]
add ecx, dword [ebp - 0x3d0]
movzx edx, byte [ecx]
mov dword [ebp - 0x3d4], edx
jmp 0x40145d
mov eax, dword [ebp - 0x3d8]
add eax, 1
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3d8], 0x20
jge 0x4014cb
mov ecx, dword [0x42cee4]
add ecx, dword [ebp - 0x3d4]
movzx ecx, byte [ecx]
mov eax, dword [ebp - 0x3d4]
add eax, dword [ebp - 0x3d8]
add eax, dword [ebp - 0x3d0]
cdq
mov esi, 0x3e8
idiv esi
mov eax, dword [0x42cee4]
movzx edx, byte [eax + edx]
imul ecx, edx
add ecx, dword [ebp - 0x3d4]
mov eax, ecx
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x3d4], edx
mov edx, dword [0x42cee4]
add edx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0x3d8]
mov cl, byte [edx]
mov byte [ebp + eax - 0x28], cl
jmp 0x40144e
mov edx, 1
shl edx, 5
mov dword [ebp - 0x3f0], edx
cmp dword [ebp - 0x3f0], 0x21
jae 0x4014e4
jmp 0x4014ea
call fcn.00409389
nop
mov eax, dword [ebp - 0x3f0]
mov byte [ebp + eax - 0x28], 0
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x3c8]
push edx
mov eax, dword [ebp - 0x3e0]
push eax
mov ecx, dword [ebp - 0x3dc]
push ecx
call fcn.00403c50
add esp, 0x14
mov dword [ebp - 0x3e4], eax
cmp dword [ebp - 0x3e4], 0
je 0x401621
push 0
call fcn.0040ea02
add esp, 4
mov edx, dword [ebp - 0x3e4]
add edx, 4
mov eax, 0xffffffff
cmovb edx, eax
push edx
mov ecx, dword [ebp - 0x3c8]
push ecx
call fcn.0040c698
add esp, 8
mov dword [ebp - 0x3f8], eax
call fcn.0040e9ef
cmp dword [eax], 0xc
jne 0x401568
jmp 0x401574
mov edx, dword [ebp - 0x3f8]
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x3e4]
push eax
mov ecx, dword [ebp - 0x3c8]
push ecx
mov edx, dword [ebp - 0x3c8]
add edx, 4
push edx
call fcn.0040a020
add esp, 0xc
mov eax, dword [ebp - 0x3c8]
mov ecx, dword [ebp - 0x3e4]
mov dword [eax], ecx
push 1
mov edx, dword [0x42e5dc]
push edx
push str._::_0x
push 0x42d00c
mov eax, dword [ebp - 0x3c8]
push eax
push 0
call fcn.00407350
add esp, 0x18
test eax, eax
jne 0x401615
cmp dword [ebp - 0x3c8], 0
je 0x401609
lea ecx, [ebp - 0x3c8]
push ecx
call fcn.00404310
add esp, 4
mov edx, dword [ebp - 0x3c8]
push edx
call fcn.0040ea23
add esp, 4
mov dword [ebp - 0x3c8], 0
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x3fc], eax
jmp 0x401613
mov dword [ebp - 0x3fc], 0
jmp 0x401647
mov dword [ebp - 0x3e8], 1
jmp 0x40162b
mov dword [ebp - 0x3e8], 0xffffffff
jmp 0x401401
cmp dword [ebp - 0x3cc], 0
je 0x401647
mov ecx, dword [ebp - 0x3cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x3c8], 0
je 0x401686
lea edx, [ebp - 0x3c8]
push edx
call fcn.00404310
add esp, 4
mov eax, dword [ebp - 0x3c8]
push eax
call fcn.0040ea23
add esp, 4
mov dword [ebp - 0x3c8], 0
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x400], ecx
jmp 0x401690
mov dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x3e8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409258
mov esp, ebp
pop ebp
ret