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 [0x42d040]
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
push 0x12c
lea ecx, [ebp - 0x154]
push ecx
call fcn.0040f9f2
add esp, 0xc
cmp dword [0x42f58c], 0
je 0x401229
call fcn.004010e0
nop
push 8
call fcn.0040fb38
add esp, 4
mov dword [0x42f58c], eax
push 8
push 0
mov edx, dword [0x42f58c]
push edx
call fcn.0040b740
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x280]
push ecx
call fcn.004035b0
add esp, 0xc
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00403460
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 0x40130b
mov eax, dword [ebp - 0x3c4]
and eax, 0x10
jne 0x4012e5
push 0
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x398]
push edx
call fcn.00402f30
add esp, 0xc
test eax, eax
jne 0x4012e5
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 0x4012fd
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x3ec]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401295
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 [0x4321f4]
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3cc], 0xffffffff
je 0x40164c
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.0040fafc
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.0040d733
add esp, 8
mov dword [ebp - 0x3f4], eax
call fcn.0040fae9
cmp dword [eax], 0xc
jne 0x40138c
jmp 0x401398
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3dc], edx
cmp dword [ebp - 0x3dc], 0
je 0x401635
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 0x401635
mov ecx, dword [ebp - 0x3e0]
cmp ecx, dword [ebp - 0x284]
jne 0x401635
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 0x401415
mov eax, dword [ebp - 0x3d0]
add eax, 1
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0x3e8
jge 0x401635
cmp dword [ebp - 0x3e8], 1
je 0x401635
mov dword [ebp - 0x3d8], 0
mov ecx, dword [0x42ded4]
add ecx, dword [ebp - 0x3d0]
movzx edx, byte [ecx]
mov dword [ebp - 0x3d4], edx
jmp 0x401462
mov eax, dword [ebp - 0x3d8]
add eax, 1
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3d8], 0x20
jge 0x4014d0
mov ecx, dword [0x42ded4]
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 [0x42ded4]
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 [0x42ded4]
add edx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0x3d8]
mov cl, byte [edx]
mov byte [ebp + eax - 0x28], cl
jmp 0x401453
mov edx, 1
shl edx, 5
mov dword [ebp - 0x3f0], edx
cmp dword [ebp - 0x3f0], 0x21
jae 0x4014e9
jmp 0x4014ef
call fcn.0040a529
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.00404ea0
add esp, 0x14
mov dword [ebp - 0x3e4], eax
cmp dword [ebp - 0x3e4], 0
je 0x401626
push 0
call fcn.0040fafc
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.0040d733
add esp, 8
mov dword [ebp - 0x3f8], eax
call fcn.0040fae9
cmp dword [eax], 0xc
jne 0x40156d
jmp 0x401579
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.0040b1c0
add esp, 0xc
mov eax, dword [ebp - 0x3c8]
mov ecx, dword [ebp - 0x3e4]
mov dword [eax], ecx
push 1
mov edx, dword [0x42f58c]
push edx
push str._::_0x
push 0x42e020
mov eax, dword [ebp - 0x3c8]
push eax
push 0
call fcn.004084e0
add esp, 0x18
test eax, eax
jne 0x40161a
cmp dword [ebp - 0x3c8], 0
je 0x40160e
lea ecx, [ebp - 0x3c8]
push ecx
call fcn.00401b50
add esp, 4
mov edx, dword [ebp - 0x3c8]
push edx
call fcn.0040fb1d
add esp, 4
mov dword [ebp - 0x3c8], 0
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x3fc], eax
jmp 0x401618
mov dword [ebp - 0x3fc], 0
jmp 0x40164c
mov dword [ebp - 0x3e8], 1
jmp 0x401630
mov dword [ebp - 0x3e8], 0xffffffff
jmp 0x401406
cmp dword [ebp - 0x3cc], 0
je 0x40164c
mov ecx, dword [ebp - 0x3cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x3c8], 0
je 0x40168b
lea edx, [ebp - 0x3c8]
push edx
call fcn.00401b50
add esp, 4
mov eax, dword [ebp - 0x3c8]
push eax
call fcn.0040fb1d
add esp, 4
mov dword [ebp - 0x3c8], 0
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x400], ecx
jmp 0x401695
mov dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x3e8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a3f8
mov esp, ebp
pop ebp
ret