Function at 0x6f8220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70b1e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x78]
push eax
mov dword [ebp - 0x3c], eax
call fcn.006abda0
add esp, 4
test eax, eax
jne 0x6f8976
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x6f82a4
cmp dword [esi + 0x14], 0x10
jb 0x6f8288
mov ecx, dword [esi]
mov dword [ebp - 0x1c], ecx
lea edi, [eax + ecx]
jmp 0x6f828e
lea edi, [esi + eax]
mov dword [ebp - 0x1c], esi
call fcn.006a45f0
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push dword [ebp - 0x1c]
call fcn.006a3d50
add esp, 0x10
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004c54d0
add esp, 0xc
mov edx, dword [ebp - 0x50]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x6f82fa
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6f82f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6f897c
push edx
push ecx
call fcn.004e7fa0
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x50], 7
call fcn.004dace0
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x6f8908
push 2
push 0
push edi
call fcn.006d37c5
add esp, 0xc
push edi
test eax, eax
jne 0x6f8900
call fcn.006d4773
push 0
push 0
push edi
mov dword [ebp - 0x18], eax
call fcn.006d37c5
add esp, 0x10
push edi
test eax, eax
jne 0x6f8900
cmp dword [ebp - 0x18], 0x40
mov byte [ebp - 0xd], al
jb 0x6f8900
push 8
lea eax, [ebp - 0x44]
push 1
push eax
call fcn.006d333a
add esp, 0x10
cmp eax, 8
je 0x6f8401
cmp byte [0x991b00], 0
mov eax, dword [str.BandwidthTracker]
mov ecx, dword [0x7f5dc0]
mov dword [ebp - 0x48], eax
je 0x6f83b4
cmp byte [0x7f0008], 0
je 0x6f83b4
test cl, cl
je 0x6f83f3
cmp cl, 6
jb 0x6f83f3
shr ecx, 8
cmp cl, 3
jb 0x6f83f3
jmp 0x6f83b8
test cl, cl
je 0x6f83f3
mov dword [ebp + 8], 0x1186dc4
mov ecx, esi
mov eax, dword [ebp + 8]
sub eax, 0x9b74a4
cmp dword [esi + 0x14], 0x10
jb 0x6f83d1
mov ecx, dword [esi]
add esi, 0x30
cmp dword [esi + 0x14], 0x10
jb 0x6f83dc
mov esi, dword [esi]
push ecx
push esi
push eax
push dword [0x7f5dc4]
push dword [0x7f5dc0]
call fcn.004e9480
add esp, 0x14
push edi
call fcn.006d2a7f
add esp, 4
jmp 0x6f890c
cmp dword [ebp - 0x44], 0x52425842
je 0x6f848f
cmp dword [ebp - 0x40], 1
je 0x6f848f
cmp byte [0x991b00], 0
mov eax, dword [str.BandwidthTracker]
mov ecx, dword [0x7f5dc0]
mov dword [ebp - 0x48], eax
je 0x6f8447
cmp byte [0x7f0008], 0
je 0x6f8447
test cl, cl
je 0x6f8481
cmp cl, 6
jb 0x6f8481
shr ecx, 8
cmp cl, 3
jb 0x6f8481
jmp 0x6f844b
test cl, cl
je 0x6f8481
mov dword [ebp + 8], 0x11ae0c4
add esi, 0x30
mov eax, dword [ebp + 8]
sub eax, 0x9de75c
cmp dword [esi + 0x14], 0x10
jb 0x6f8465
mov esi, dword [esi]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push esi
push eax
push dword [0x7f5dc4]
push dword [0x7f5dc0]
call fcn.004e9480
add esp, 0x18
push edi
call fcn.006d2a7f
add esp, 4
jmp 0x6f890c
mov edi, dword [ebp - 0x18]
mov eax, 0x24924925
mov ecx, dword [esi + 0x4c]
add edi, 0xfffffff8
sub ecx, dword [esi + 0x48]
mul edi
mov eax, 0x92492493
sub edi, edx
shr edi, 1
add edi, edx
imul ecx
shr edi, 5
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x28], eax
cmp edi, eax
jae 0x6f84d6
mov edx, dword [esi + 0x48]
lea eax, [edi*8]
sub eax, edi
lea eax, [edx + eax*8]
jmp 0x6f8513
jbe 0x6f8516
mov ecx, dword [esi + 0x50]
mov eax, 0x92492493
sub ecx, dword [esi + 0x48]
imul ecx
add edx, ecx
lea ecx, [esi + 0x48]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x6f8504
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.006f5e70
jmp 0x6f8516
push dword [ebp - 0x28]
sub edi, dword [ebp - 0x28]
push edi
push dword [esi + 0x4c]
call fcn.006f71c0
mov dword [esi + 0x4c], eax
mov edi, dword [esi + 0x48]
mov eax, 0x92492493
mov ecx, dword [esi + 0x4c]
push dword [ebp - 0x1c]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax*8]
sub esi, eax
shl esi, 3
push esi
push 1
push edi
call fcn.006d333a
mov ecx, dword [0x7f5dc0]
add esp, 0x10
cmp esi, eax
mov eax, dword [str.BandwidthTracker]
mov dword [ebp - 0x48], eax
je 0x6f85d6
cmp byte [0x991b00], 0
je 0x6f8583
cmp byte [0x7f0008], 0
je 0x6f8583
test cl, cl
je 0x6f85c6
cmp cl, 6
jb 0x6f85c6
shr ecx, 8
cmp cl, 3
jb 0x6f85c6
jmp 0x6f8587
test cl, cl
je 0x6f85c6
mov eax, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp + 8], 0x11ef5b4
mov ecx, dword [ebp + 8]
sub ecx, 0xa1fbe4
cmp dword [eax + 0x14], 0x10
jb 0x6f85a4
mov edx, dword [eax]
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x6f85af
mov eax, dword [eax]
push edx
push eax
push ecx
push dword [0x7f5dc4]
push dword [0x7f5dc0]
call fcn.004e9480
add esp, 0x14
push dword [ebp - 0x1c]
call fcn.006d2a7f
add esp, 4
jmp 0x6f890c
cmp byte [0x991b00], 0
je 0x6f86ca
cmp byte [0x7f0008], 0
je 0x6f86ca
test cl, cl
je 0x6f8605
cmp cl, 6
jb 0x6f8605
shr ecx, 8
cmp cl, 3
jae 0x6f86d2
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov byte [ebp - 0xd], 1
call fcn.006d2a7f
mov dword [ebp - 0x4c], 0
call fcn.006a3c70
push 0
mov dword [ebp - 0x48], eax
call fcn.006d2760
lea ecx, [ebp - 0x4c]
push ecx
push edx
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.006a7bd0
add esp, 0x18
call fcn.004f4f70
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, 0x92492493
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], 0
mov dword [ecx], 0
mov ecx, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x6f890c
mov al, byte [ebp - 0xd]
xor edx, edx
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xd], al
cmp byte [0x991b00], 0
mov eax, dword [str.BandwidthTracker]
mov ecx, dword [0x7f5dc0]
mov dword [ebp - 0x34], eax
je 0x6f8736
cmp byte [0x7f0008], 0
je 0x6f8736
test cl, cl
je 0x6f87ad
cmp cl, 6
jb 0x6f87ad
shr ecx, 8
cmp cl, 3
jb 0x6f87ad
jmp 0x6f873a
test cl, cl
je 0x6f8605
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0x12097d4
mov edi, dword [ebp - 0x24]
sub edi, 0xa39db4
mov dword [ebp - 0x18], esi
cmp dword [esi + 0x14], 0x10
jb 0x6f86f3
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
mov eax, 0x92492493
sub ecx, dword [esi + 0x48]
imul ecx
lea eax, [esi + 0x30]
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [eax + 0x14], 0x10
jb 0x6f8717
mov eax, dword [eax]
push dword [ebp - 0x18]
push ecx
push eax
push edi
push dword [0x7f5dc4]
push dword [0x7f5dc0]
call fcn.004e9480
add esp, 0x18
jmp 0x6f8608
test cl, cl
je 0x6f87ad
mov dword [ebp - 0x2c], 0x12787c8
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x48]
sub ecx, 0xaa8d68
mov esi, dword [eax + edx + 0x10]
mov edi, dword [eax + edx + 8]
movsd xmm0, qword [eax + edx]
mov dword [ebp - 0x34], esi
mov esi, dword [eax + edx + 0x14]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x44], 0x10
mov dword [ebp - 0x2c], edi
mov edi, dword [eax + edx + 0xc]
lea eax, [esi + 0x30]
jb 0x6f8779
mov eax, dword [eax]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
sub esp, 8
movsd qword [esp], xmm0
push dword [ebp - 0x18]
push eax
push ecx
push dword [0x7f5dc4]
push dword [0x7f5dc0]
call fcn.004e9480
mov edi, dword [esi + 0x48]
add esp, 0x34
mov eax, dword [0xf2e7f0]
mov ecx, dword [ebp - 0x1c]
test eax, eax
jle 0x6f88ce
cdq
add eax, dword [edi + ecx + 8]
adc edx, dword [edi + ecx + 0xc]
cmp edx, dword [ebp - 0x20]
jg 0x6f88ce
jl 0x6f87da
cmp eax, dword [ebp - 0x24]
jae 0x6f88ce
cmp byte [0x991b00], 0
mov eax, dword [str.BandwidthTracker]
mov ecx, dword [0x7f5dc0]
mov dword [ebp - 0x34], eax
je 0x6f880d
cmp byte [0x7f0008], 0
je 0x6f880d
test cl, cl
je 0x6f8842
cmp cl, 6
jb 0x6f8842
shr ecx, 8
cmp cl, 3
jb 0x6f8842
jmp 0x6f8811
test cl, cl
je 0x6f8842
mov dword [ebp - 0x34], 0x1292a20
lea eax, [esi + 0x30]
mov ecx, dword [ebp - 0x34]
sub ecx, 0xac2f38
cmp dword [eax + 0x14], 0x10
jb 0x6f882c
mov eax, dword [eax]
push eax
push ecx
push dword [0x7f5dc4]
push dword [0x7f5dc0]
call fcn.004e9480
add esp, 0x10
mov ecx, dword [esi + 0x4c]
mov eax, 0x92492493
mov edi, dword [esi + 0x48]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx - 1]
cmp dword [ebp - 0x18], eax
jae 0x6f88c3
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movups xmm0, xmmword [edi + eax*8 - 0x38]
movups xmm1, xmmword [edi + ecx]
movups xmm2, xmmword [edi + ecx + 0x10]
movups xmm3, xmmword [edi + ecx + 0x20]
movq xmm4, qword [edi + ecx + 0x30]
movups xmmword [edi + ecx], xmm0
movups xmm0, xmmword [edi + eax*8 - 0x28]
movups xmmword [edi + ecx + 0x10], xmm0
movups xmm0, xmmword [edi + eax*8 - 0x18]
movups xmmword [edi + ecx + 0x20], xmm0
movq xmm0, qword [edi + eax*8 - 8]
movq qword [edi + ecx + 0x30], xmm0
movups xmmword [edi + eax*8 - 0x38], xmm1
movups xmmword [edi + eax*8 - 0x28], xmm2
movups xmmword [edi + eax*8 - 0x18], xmm3
movq qword [edi + eax*8 - 8], xmm4
mov eax, dword [ebp + 8]
add dword [esi + 0x4c], 0xffffffc8
inc dword [eax]
jmp 0x6f88d7
inc dword [ebp - 0x18]
add ecx, 0x38
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x4c]
mov eax, 0x92492493
mov edi, dword [esi + 0x48]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], eax
jb 0x6f8683
jmp 0x6f890c
call fcn.006d2a7f
add esp, 4
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x68]
pop edi
pop esi
cmp edx, 8
jb 0x6f8944
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6f893a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6f8981
push edx
push ecx
call fcn.004e7fa0
add esp, 8
push dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.006abdfb
mov ecx, dword [ebp - 0xc]
add esp, 4
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.006ac15c
call fcn.006cc674
call fcn.006cc674
int3