Function at 0x1002b600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x10108c80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x1010add8]
lea eax, [ebp - 0x5c]
push 1
push 4
push eax
call fcn.100bb04f
push dword [0x1010add8]
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push 1
push 4
push eax
mov dword [ebp - 0x64], edi
call fcn.100bb04f
push dword [0x1010add8]
mov ebx, dword [ebp - 0x58]
lea eax, [ebp - 0x68]
push 1
push 4
push eax
call fcn.100bb04f
mov eax, dword [ebp - 0x68]
xorps xmm0, xmm0
push dword [0x1010add8]
mov esi, dword [0x1010adc4]
mov dword [ebp - 0x7c], eax
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xffffffff
mov byte [ebp - 0x28], 0xff
movups xmmword [ebp - 0x38], xmm0
call fcn.100bc2b6
mov ecx, dword [esi - 4]
add esp, 0x34
sub ecx, eax
je 0x1002b892
mov esi, dword [ebp - 0x64]
and edi, 1
and esi, 2
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], esi
nop word [eax + eax]
push dword [0x1010add8]
lea eax, [ebp - 0x54]
push 1
push 0xc
push eax
call fcn.100bb04f
add esp, 0x10
test edi, edi
je 0x1002b6f0
push dword [0x1010add8]
lea eax, [ebp - 0x48]
push 1
push 0xc
push eax
call fcn.100bb04f
add esp, 0x10
test esi, esi
je 0x1002b80c
push dword [0x1010add8]
lea eax, [ebp - 0x6c]
push 1
push 4
push eax
call fcn.100bb04f
movss xmm1, dword [ebp - 0x6c]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b727
movss xmm0, dword [0x100e2954]
minss xmm0, xmm1
push dword [0x1010add8]
lea eax, [ebp - 0x70]
movss dword [ebp - 0x60], xmm0
push 1
push 4
push eax
call fcn.100bb04f
movss xmm1, dword [ebp - 0x70]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b75b
movss xmm0, dword [0x100e2954]
minss xmm0, xmm1
push dword [0x1010add8]
lea eax, [ebp - 0x74]
movss dword [ebp - 0x58], xmm0
push 1
push 4
push eax
call fcn.100bb04f
movss xmm1, dword [ebp - 0x74]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b78f
movss xmm0, dword [0x100e2954]
minss xmm0, xmm1
push dword [0x1010add8]
lea eax, [ebp - 0x78]
movss dword [ebp - 0x5c], xmm0
push 1
push 4
push eax
call fcn.100bb04f
movss xmm1, dword [ebp - 0x78]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b7c3
movss xmm0, dword [0x100e2954]
minss xmm0, xmm1
movss xmm1, dword [0x100e2958]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x60]
mulss xmm0, xmm1
shl ecx, 8
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm1
or ecx, eax
shl ecx, 8
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, xmm1
or ecx, eax
shl ecx, 8
cvttss2si eax, xmm0
or ecx, eax
mov dword [ebp - 0x3c], ecx
xor esi, esi
test ebx, ebx
jle 0x1002b850
mov eax, dword [ebp - 0x7c]
lea edi, [eax*4]
nop dword [eax]
push dword [0x1010add8]
lea eax, [ebp - 0x14]
push 1
push edi
push eax
call fcn.100bb04f
add esp, 0x10
cmp esi, 2
jae 0x1002b848
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + esi*8 - 0x38], eax
mov dword [ebp + esi*8 - 0x34], ecx
inc esi
cmp esi, ebx
jl 0x1002b820
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x54]
push eax
call fcn.10041ca0
push dword [0x1010add8]
mov esi, dword [0x1010adc4]
call fcn.100bc2b6
mov ecx, dword [esi - 4]
add esp, 4
mov esi, dword [ebp - 0x84]
sub ecx, eax
jne 0x1002b6c0
mov eax, dword [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad4b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ad4b8
mov esp, ebp
pop ebp
ret