Function at 0x13154234
Capabilities:
Get file attributes
Read file on windows

Disassembly:
sub esp, 0x138
mov eax, dword [0x13182360]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateFileA]
xor esi, esi
push esi
push esi
push 3
push esi
push esi
mov ebp, 0x80000000
push ebp
mov ebx, str.lksdjfjds
push ebx
mov dword [esp + 0x34], eax
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x1315429d
push esi
push 0x131833dc
push 4
push 0x13183340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131833d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.WINMM.dll_timeGetTime]
add dword [0x131833d4], eax
mov dword [esp + 0x10], esi
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x131542d9
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, dword [0x131833d4]
add eax, dword [esp + 0x10]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x131542b5
push esi
push esi
push 3
push esi
push esi
push ebp
push ebx
mov dword [esp + 0x38], 0x128
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x13154320
push esi
push 0x131833dc
push 4
push 0x13183340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131833d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.WINMM.dll_timeGetTime]
add dword [0x131833d4], eax
mov dword [esp + 0x10], esi
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x1315435c
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, dword [0x131833d4]
add eax, dword [esp + 0x10]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x13154338
push esi
push 2
call dword [0x131833c0]
push esi
push esi
push 3
push esi
push esi
push ebp
push ebx
mov dword [esp + 0x30], eax
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x131543a8
push esi
push 0x131833dc
push 4
push 0x13183340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131833d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.WINMM.dll_timeGetTime]
add dword [0x131833d4], eax
mov dword [esp + 0x10], esi
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x131543e4
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, dword [0x131833d4]
add eax, dword [esp + 0x10]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x131543c0
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [0x131833c4]
push esi
push esi
push 3
push esi
push esi
push ebp
push ebx
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x13154432
push esi
push 0x131833dc
push 4
push 0x13183340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131833d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.WINMM.dll_timeGetTime]
add dword [0x131833d4], eax
mov dword [esp + 0x10], esi
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x1315446e
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, dword [0x131833d4]
add eax, dword [esp + 0x10]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x1315444a
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x13154495
mov eax, dword [esp + 0x24]
jmp 0x131545ac
push esi
push esi
push 3
push esi
push esi
push ebp
push ebx
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x131544c9
push esi
push 0x131833dc
push 4
push 0x13183340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131833d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.WINMM.dll_timeGetTime]
add dword [0x131833d4], eax
mov dword [esp + 0x10], esi
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154505
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, dword [0x131833d4]
add eax, dword [esp + 0x10]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x131544e1
jmp 0x13154529
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
je 0x1315448c
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [0x131833c8]
test eax, eax
jne 0x13154512
push esi
push esi
push 3
push esi
push esi
push ebp
push ebx
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x13154570
push esi
push 0x131833dc
push 4
push 0x13183340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131833d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
add dword [0x131833d4], eax
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x131545a4
call edi
add eax, dword [0x131833d4]
add eax, esi
mov dword [0x131833d8], eax
inc esi
cmp esi, 0xd
jl 0x13154586
xor eax, eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1315574a
add esp, 0x138
ret