Function at 0x10077cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bb528
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x99], 0
test ecx, ecx
je 0x100781ad
cmp byte [ecx + 0x80], 0
lea edi, [ecx + 0x2c]
lea esi, [ecx + 0x44]
je 0x1007814f
lea eax, [ebx + 0x54]
push eax
call fcn.10058040
push edi
lea ecx, [ebp - 0x94]
call fcn.1004d8a0
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.1004d8a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.10087ab0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x10077e1e
add eax, 0x124
lea ecx, [ebp - 0x34]
push eax
call fcn.1004d8a0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
call fcn.10047850
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x10077dd5
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077dcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781dd
push edx
push ecx
call fcn.1018a765
add esp, 8
mov ecx, dword [ebx + 0x48]
lea eax, [ebp - 0x34]
push eax
call fcn.1006cfd0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10047850
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x10077e1e
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077e14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781d3
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebx + 0x74]
xor ecx, ecx
mov eax, dword [ebx + 0x22c]
test eax, eax
je 0x10077ef1
mov ecx, dword [ebx + 0x22c]
mov eax, dword [ebx + 0x78]
sub eax, dword [ebx + 0x74]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
movd xmm0, eax
addsd xmm1, qword [ecx*8 + 0x10231f10]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10231f10]
divsd xmm0, xmm1
call fcn.1018aef0
mov edx, dword [ebx + 0x230]
mov dword [ebp - 0x98], eax
mov esi, dword [ebx + 0x22c]
mov edi, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x78]
sub ecx, edi
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
movd xmm2, ecx
addsd xmm0, qword [edx*8 + 0x10231f10]
cvtdq2pd xmm2, xmm2
shr ecx, 0x1f
movd xmm1, esi
addsd xmm2, qword [ecx*8 + 0x10231f10]
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
mulsd xmm0, xmm2
addsd xmm1, qword [esi*8 + 0x10231f10]
divsd xmm0, xmm1
movd xmm1, edi
cvtdq2pd xmm1, xmm1
shr edi, 0x1f
addsd xmm1, qword [edi*8 + 0x10231f10]
addsd xmm0, xmm1
call fcn.1018aef0
mov ecx, dword [ebp - 0x98]
mov edx, eax
push ecx
push edx
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100860c0
mov bl, al
test bl, bl
je 0x10077f1a
lea ecx, [ebp - 0x94]
call fcn.10087ab0
xor bh, bh
cmp dword [ebp - 0x3c], 0
je 0x1007804a
cmp dword [ebp - 0x6c], 0
je 0x1007805c
cmp dword [ebp - 0x38], 0x10
lea edx, [ebp - 0x4c]
push 0x1022de54
cmovae edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 0
call fcn.10089750
add esp, 4
test eax, eax
jne 0x1007804a
mov dword [ebp - 0x34], eax
push 4
push str.flac
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], al
mov byte [ebp - 4], 5
call fcn.10047990
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.100873d0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x99], al
cmp edx, 0x10
jb 0x10077fd6
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077fc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781d8
push edx
push ecx
call fcn.1018a765
mov al, byte [ebp - 0x99]
add esp, 8
test al, al
je 0x10078031
push dword [ebp - 0x98]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push 4
push 1
push eax
mov byte [ebp - 0x18], 0
call fcn.101973fd
add esp, 0x10
cmp eax, 4
jne 0x10078033
mov ecx, str.fLaC
lea eax, [ebp - 0x1c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10078028
test dl, dl
je 0x10078024
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10078028
add eax, 2
add ecx, 2
test dl, dl
jne 0x10078008
xor eax, eax
jmp 0x1007802d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10078033
mov bh, 1
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x10078046
push eax
call fcn.10193392
add esp, 4
test bh, bh
jne 0x1007805c
xor bl, bl
call fcn.10080e00
test eax, eax
je 0x1007805c
mov ecx, eax
call fcn.10081c60
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x10078090
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10078086
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781dd
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x100780c4
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100780ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781dd
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x1007810a
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10078100
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781dd
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x100781b3
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100781a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781dd
jmp 0x100781a1
push edi
lea ecx, [ebp - 0x34]
call fcn.1004d8a0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 8
cmp esi, eax
je 0x10078179
cmp dword [ebp - 0x20], 0x10
mov ecx, esi
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.10047990
mov edx, dword [ebp - 0x20]
mov bl, 1
cmp edx, 0x10
jb 0x100781b3
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100781a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100781e2
push edx
push ecx
call fcn.1018a765
add esp, 8
jmp 0x100781b3
mov bl, byte [ebp - 0x99]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret 4
call fcn.1019291f
call fcn.1019291f
call fcn.1019291f
call fcn.1019291f
int3