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

Disassembly:
sub esp, 0x138
mov eax, dword [0x13183360]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
push edi
mov dword [esp + 0x18], eax
call esi
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateFileA]
xor edi, edi
cmp eax, edi
mov dword [0x131843e0], eax
mov ebx, str.djbh33
je 0x13154806
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154806
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push ebx
call ebp
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13154806
push edi
push 0x131843dc
push 4
push 0x13184340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131843d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], edi
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x1315483a
call esi
add eax, dword [0x131843d4]
add eax, dword [esp + 0x10]
mov dword [0x131843d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x1315481a
mov dword [esp + 0x1c], 0x128
call esi
cmp eax, edi
mov dword [0x131843e0], eax
je 0x1315489b
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x1315489b
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push ebx
call ebp
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x1315489b
push edi
push 0x131843dc
push 4
push 0x13184340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131843d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], edi
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x131548cf
call esi
add eax, dword [0x131843d4]
add eax, dword [esp + 0x10]
mov dword [0x131843d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x131548af
push edi
push 2
call dword [0x131843c0]
mov dword [esp + 0x14], eax
call esi
cmp eax, edi
mov dword [0x131843e0], eax
je 0x13154935
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154935
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push ebx
call ebp
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13154935
push edi
push 0x131843dc
push 4
push 0x13184340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131843d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], edi
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154969
call esi
add eax, dword [0x131843d4]
add eax, dword [esp + 0x10]
mov dword [0x131843d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x13154949
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [0x131843c4]
call esi
cmp eax, edi
mov dword [0x131843e0], eax
je 0x131549d1
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x131549d1
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push ebx
call ebp
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x131549d1
push edi
push 0x131843dc
push 4
push 0x13184340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131843d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], edi
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154a05
call esi
add eax, dword [0x131843d4]
add eax, dword [esp + 0x10]
mov dword [0x131843d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x131549e5
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x13154a2c
mov eax, dword [esp + 0x24]
jmp 0x13154b69
call esi
cmp eax, edi
mov dword [0x131843e0], eax
je 0x13154a7a
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154a7a
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push ebx
call ebp
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13154a7a
push edi
push 0x131843dc
push 4
push 0x13184340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131843d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], edi
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154aae
call esi
add eax, dword [0x131843d4]
add eax, dword [esp + 0x10]
mov dword [0x131843d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x13154a8e
jmp 0x13154ad2
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
je 0x13154a23
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [0x131843c8]
test eax, eax
jne 0x13154abb
call esi
cmp eax, edi
mov dword [0x131843e0], eax
je 0x13154b33
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154b33
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push ebx
call ebp
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13154b33
push edi
push 0x131843dc
push 4
push 0x13184340
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [0x131843d0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
add dword [0x131843d4], eax
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13154b61
call esi
add eax, dword [0x131843d4]
add eax, edi
mov dword [0x131843d8], eax
inc edi
cmp edi, 0xd
jl 0x13154b43
xor eax, eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.13155e7a
add esp, 0x138
ret