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

Disassembly:
sub esp, 0xb0
mov eax, dword [0x13183360]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
push edi
call esi
xor ebx, ebx
cmp eax, ebx
mov dword [0x131843e0], eax
mov edi, str.djbh33
je 0x13155a24
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155a24
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13155a24
push ebx
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 ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
push 5
call ebp
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], ebx
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155a5b
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 0x13155a3b
fld qword [0x131602c0]
fst qword [esp + 0x14]
fld qword [0x131602b8]
fst qword [esp + 0x1c]
fld qword [0x131602b0]
fstp qword [esp + 0x24]
fld qword [0x131602a8]
fstp qword [esp + 0x2c]
fld qword [0x131602a0]
fstp qword [esp + 0x34]
fld qword [0x13160298]
fst qword [esp + 0x3c]
fstp qword [esp + 0x4c]
fxch st(1)
fst qword [esp + 0x44]
fld qword [0x13160290]
fstp qword [esp + 0x54]
fst qword [esp + 0x5c]
fstp qword [esp + 0x6c]
fstp qword [esp + 0x64]
fldz
fstp qword [esp + 0x74]
call esi
cmp eax, ebx
mov dword [0x131843e0], eax
je 0x13155b1a
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155b1a
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13155b1a
push ebx
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 ebp
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], ebx
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155b4a
call esi
add eax, dword [esp + 0x10]
add eax, dword [0x131843d4]
mov dword [0x131843d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x13155b2a
call esi
cmp eax, ebx
mov dword [0x131843e0], eax
je 0x13155ba7
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155ba7
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13155ba7
push ebx
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 ebp
call esi
add dword [0x131843d4], eax
xor ebp, ebp
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155bd3
call esi
add eax, ebp
add eax, dword [0x131843d4]
mov dword [0x131843d8], eax
inc ebp
cmp ebp, 0xd
jl 0x13155bb5
xor ebp, ebp
fldz
lea ecx, [esp + ebp*8 + 0x14]
fcomp qword [ecx]
fnstsw ax
test ah, 0x44
jnp 0x13155c02
fld qword [ecx]
call fcn.13155f10
mov byte [esp + ebp + 0x7c], al
mov byte [esp + ebp + 0x7d], bl
inc ebp
cmp ebp, 0xfffff
jl 0x13155bdb
call esi
cmp eax, ebx
mov dword [0x131843e0], eax
je 0x13155c54
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155c54
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13155c54
push ebx
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]
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
push 5
call ebp
call esi
add dword [0x131843d4], eax
mov dword [esp + 0x10], ebx
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155c8a
call esi
add eax, dword [esp + 0x10]
add eax, dword [0x131843d4]
mov dword [0x131843d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x13155c6a
call fcn.13153326
test eax, eax
je 0x13155caf
lea eax, [esp + 0x7c]
push eax
push 0x13151d73
call fcn.13154b82
pop ecx
pop ecx
call esi
cmp eax, ebx
mov dword [0x131843e0], eax
je 0x13155d01
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155d01
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x131843d0], eax
je 0x13155d01
push ebx
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 ebp
call esi
add dword [0x131843d4], eax
pop ebp
push 0x131601e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155d2c
call esi
add eax, ebx
add eax, dword [0x131843d4]
mov dword [0x131843d8], eax
inc ebx
cmp ebx, 0xd
jl 0x13155d0e
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.13155e7a
add esp, 0xb0
ret 0x10