Function at 0x1002b180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x100da174]
lea eax, [ebp - 0x5c]
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push 1
push 4
push eax
mov dword [ebp - 0x64], edi
call fcn.1008d4af
push dword [0x100da174]
mov ebx, dword [ebp - 0x58]
lea eax, [ebp - 0x68]
push 1
push 4
push eax
call fcn.1008d4af
mov eax, dword [ebp - 0x68]
xorps xmm0, xmm0
push dword [0x100da174]
mov esi, dword [0x100da160]
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.1008e716
mov ecx, dword [esi - 4]
add esp, 0x34
sub ecx, eax
je 0x1002b412
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 [0x100da174]
lea eax, [ebp - 0x54]
push 1
push 0xc
push eax
call fcn.1008d4af
add esp, 0x10
test edi, edi
je 0x1002b270
push dword [0x100da174]
lea eax, [ebp - 0x48]
push 1
push 0xc
push eax
call fcn.1008d4af
add esp, 0x10
test esi, esi
je 0x1002b38c
push dword [0x100da174]
lea eax, [ebp - 0x6c]
push 1
push 4
push eax
call fcn.1008d4af
movss xmm1, dword [ebp - 0x6c]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b2a7
movss xmm0, dword [0x100b49d4]
minss xmm0, xmm1
push dword [0x100da174]
lea eax, [ebp - 0x70]
movss dword [ebp - 0x60], xmm0
push 1
push 4
push eax
call fcn.1008d4af
movss xmm1, dword [ebp - 0x70]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b2db
movss xmm0, dword [0x100b49d4]
minss xmm0, xmm1
push dword [0x100da174]
lea eax, [ebp - 0x74]
movss dword [ebp - 0x58], xmm0
push 1
push 4
push eax
call fcn.1008d4af
movss xmm1, dword [ebp - 0x74]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b30f
movss xmm0, dword [0x100b49d4]
minss xmm0, xmm1
push dword [0x100da174]
lea eax, [ebp - 0x78]
movss dword [ebp - 0x5c], xmm0
push 1
push 4
push eax
call fcn.1008d4af
movss xmm1, dword [ebp - 0x78]
xorps xmm0, xmm0
add esp, 0x10
comiss xmm0, xmm1
ja 0x1002b343
movss xmm0, dword [0x100b49d4]
minss xmm0, xmm1
movss xmm1, dword [0x100b49d8]
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 0x1002b3d0
mov eax, dword [ebp - 0x7c]
lea edi, [eax*4]
nop dword [eax]
push dword [0x100da174]
lea eax, [ebp - 0x14]
push 1
push edi
push eax
call fcn.1008d4af
add esp, 0x10
cmp esi, 2
jae 0x1002b3c8
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 0x1002b3a0
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x54]
push eax
call fcn.10041930
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
mov esi, dword [ebp - 0x84]
sub ecx, eax
jne 0x1002b240
mov eax, dword [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f9c9
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.1007f9c9
mov esp, ebp
pop ebp
ret