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

Disassembly:
sub esp, 0xb0
mov eax, dword [0x13182360]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateFileA]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
mov ebp, str.lksdjfjds
push ebp
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x13155331
push ebx
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 esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
add dword [0x131833d4], eax
mov dword [esp + 0x10], ebx
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x1315536b
call esi
add eax, dword [0x131833d4]
add eax, dword [esp + 0x10]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x1315534b
fld qword [0x1315f2c0]
push ebx
fst qword [esp + 0x18]
push ebx
fld qword [0x1315f2b8]
push 3
fst qword [esp + 0x28]
push ebx
fld qword [0x1315f2b0]
push ebx
fstp qword [esp + 0x38]
push 0x80000000
fld qword [0x1315f2a8]
push ebp
fstp qword [esp + 0x48]
fld qword [0x1315f2a0]
fstp qword [esp + 0x50]
fld qword [0x1315f298]
fst qword [esp + 0x58]
fstp qword [esp + 0x68]
fxch st(1)
fst qword [esp + 0x60]
fld qword [0x1315f290]
fstp qword [esp + 0x70]
fst qword [esp + 0x78]
fstp qword [esp + 0x88]
fstp qword [esp + 0x80]
fldz
fstp qword [esp + 0x90]
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x13155419
push ebx
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 esi
add dword [0x131833d4], eax
mov dword [esp + 0x10], ebx
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x1315544d
call esi
add eax, dword [esp + 0x10]
add eax, dword [0x131833d4]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x1315542d
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push ebp
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x13155490
push ebx
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 esi
add dword [0x131833d4], eax
mov dword [esp + 0x10], ebx
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x131554c4
call esi
add eax, dword [esp + 0x10]
add eax, dword [0x131833d4]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x131554a4
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
fldz
lea ecx, [esp + ecx*8 + 0x14]
fcomp qword [ecx]
fnstsw ax
test ah, 0x44
jnp 0x13155506
fld qword [ecx]
call fcn.131557e0
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x7c], al
mov byte [esp + ecx + 0x7d], bl
inc ecx
cmp ecx, 0xfffff
mov dword [esp + 0x10], ecx
jl 0x131554d3
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push ebp
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x1315553e
push ebx
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 esi
add dword [0x131833d4], eax
mov dword [esp + 0x10], ebx
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x13155572
call esi
add eax, dword [esp + 0x10]
add eax, dword [0x131833d4]
mov dword [0x131833d8], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xd
jl 0x13155552
call fcn.1315307c
test eax, eax
je 0x13155597
lea eax, [esp + 0x7c]
push eax
push 0x13151c6f
call fcn.131545c5
pop ecx
pop ecx
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push ebp
call edi
cmp eax, 0xffffffff
mov dword [0x131833d0], eax
je 0x131555cf
push ebx
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 esi
add dword [0x131833d4], eax
push 0x1315f1e0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
je 0x131555fd
call esi
add eax, ebx
add eax, dword [0x131833d4]
mov dword [0x131833d8], eax
inc ebx
cmp ebx, 0xd
jl 0x131555df
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1315574a
add esp, 0xb0
ret 0x10