Function at 0x847890
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov ebx, dword [esp + 0x100]
mov esi, dword [ebx + 0x75f0]
emms
cvtsi2ss xmm2, dword [ebx + 0x47a8]
cvtsi2ss xmm1, dword [esi + 0x50]
movss xmm0, dword [esi + 0x4c]
mov ecx, dword [ebx + 0x764c]
divss xmm1, xmm2
mov edx, dword [ebx + 0x7608]
mov eax, dword [ebx + 0x7618]
mov edi, dword [ebx + 0x3a6c]
add ecx, dword [ebx + 0x761c]
add edx, dword [ebx + 0x760c]
add eax, dword [ebx + 0x7614]
add edx, dword [ebx + 0x7604]
add eax, dword [ebx + 0x7620]
add eax, dword [ebx + 0x7624]
add eax, dword [ebx + 0x7628]
add eax, dword [ebx + 0x762c]
add eax, dword [ebx + 0x7630]
add eax, dword [ebx + 0x7634]
add eax, dword [ebx + 0x7638]
add eax, dword [ebx + 0x763c]
add eax, dword [ebx + 0x7640]
add eax, dword [ebx + 0x7644]
divss xmm0, xmm2
mov dword [ebx + 0x7658], ecx
mov dword [ebx + 0x7650], edx
mov dword [ebx + 0x7654], eax
movss dword [esi + 0x4c], xmm0
movss dword [edi + 0x84], xmm0
movss dword [edi + 0x88], xmm1
mov edi, dword [ebx + 0x2a4]
test edi, edi
je 0x847cd0
mov edi, dword [ebx + 0xbe8]
cmp edi, 2
je 0x848580
test edi, edi
jne 0x848562
mov edi, dword [ebx + 0x3a68]
mov dword [esp + 0x90], 0x50
mov ebp, dword [ebx + 0x78a0]
cmp dword [ebx + 0x6f8c], 0
mov dword [esp + 0xa4], ebp
mov ebp, dword [ebx + 0x789c]
mov dword [esp + 0x98], ebp
mov ebp, dword [ebx + 0x82d4]
mov dword [esp + 0xa8], ebp
mov ebp, dword [ebx + 0x82d0]
mov dword [esp + 0xac], ebp
mov ebp, 0x2d
je 0x8479f6
mov ebp, dword [esp + 0xa4]
sub ebp, dword [esp + 0x98]
mov dword [esp + 0xa4], ebp
mov ebp, 0x73
cmp dword [esp + 0xa4], 0
jle 0x8487e4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov eax, dword [ebx + 0x7600]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x75f8]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x75fc]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
fstp qword [esp + 0x24]
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x574]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 4], str.in:_d_out:_d_type:_c_dur:_I64d_cpbdur:_I64d_q:_.2f_tex:_d_mv:_d_misc:_d_imb:_d_pmb:_d_smb:_d_d:_c_ref:
mov dword [esp + 8], eax
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
call fcn.0083e6b0
test eax, eax
js 0x848730
mov eax, dword [ebx + 0x2ac]
xor edi, edi
test eax, eax
je 0x84853c
mov eax, dword [esi + 0x40]
xor ebp, ebp
cmp dword [eax + 0xa8], 1
jg 0x847adc
jmp 0x84853c
mov eax, dword [eax + ebp*4 + 0x68]
mov dword [esp + 4], 0xbb20d8
mov dword [esp + 8], eax
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
call fcn.0083e6b0
test eax, eax
js 0x848730
mov eax, dword [esi + 0x40]
add ebp, 1
cmp ebp, dword [eax + 0xa8]
jl 0x847ab0
mov edi, dword [ebx + 0x204]
test edi, edi
jle 0x847b9a
mov ecx, dword [ebx + 0xd6c]
test ecx, ecx
je 0x847b9a
mov eax, dword [ebx + 0xd68]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xd64]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xd60]
mov dword [esp + 4], str.w:_d__d__d
mov dword [esp + 8], eax
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
call fcn.0083e6b0
test eax, eax
js 0x848730
mov edx, dword [ebx + 0xd9c]
test edx, edx
je 0x848700
mov eax, dword [ebx + 0xdc8]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xdc4]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xd98]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xd94]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xd90]
mov dword [esp + 4], str.__d__d__d__d__d
mov dword [esp + 8], eax
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
call fcn.0083e6b0
test eax, eax
js 0x848730
mov dword [esp + 4], 0xbb2753
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
call fcn.0083e6b0
test eax, eax
js 0x848730
mov ebp, dword [ebx + 0x29c]
test ebp, ebp
je 0x847cd0
mov eax, dword [ebx + 0x3a68]
mov edi, dword [eax + 0x74]
test edi, edi
je 0x847cd0
mov ecx, dword [ebx + 0x2ac]
test ecx, ecx
jne 0x847cd0
mov edx, dword [ebx + 0xbe8]
mov byte [esp + 0xdf], dl
mov ecx, dword [ebx + 0x47a8]
test ecx, ecx
jle 0x847c63
mov edi, dword [eax + 0x2120]
xor eax, eax
mov ebp, dword [esi + 0x188]
fnstcw word [esp + 0xb6]
fld dword [0xbb29b4]
movzx edx, word [esp + 0xb6]
mov dh, 0xc
mov word [esp + 0xb4], dx
lea esi, [esi]
fld st(0)
fmul dword [edi + eax*4]
fldcw word [esp + 0xb4]
fistp dword [esp + 0xc4]
fldcw word [esp + 0xb6]
mov edx, dword [esp + 0xc4]
rol dx, 8
mov word [ebp + eax*2], dx
add eax, 1
cmp eax, ecx
jne 0x847c30
fstp st(0)
mov eax, dword [esi + 0xf8]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
lea eax, [esp + 0xdf]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
test eax, eax
je 0x848730
mov eax, dword [esi + 0xf8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x47a8]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov eax, dword [esi + 0x188]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
cmp eax, dword [ebx + 0x47a8]
jb 0x848730
lea esi, [esi]
mov edx, dword [esi]
test edx, edx
je 0x847d79
cmp dword [ebx + 0xbe8], 1
je 0x848758
movss xmm0, dword [0xbb2808]
addss xmm0, dword [esi + 0x4c]
mulss xmm0, dword [0xbb280c]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
fstp qword [esp + 8]
fld dword [0xbb2800]
fstp qword [esp]
call sub.msvcrt.dll_pow
cvtsi2ss xmm0, dword [esp + 0x104]
mulss xmm0, dword [0xbb2810]
fstp dword [esp + 0x90]
mulss xmm0, dword [esp + 0x90]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
fdiv qword [esi + 0x98]
fadd qword [esi + 0xa0]
fld qword [esi + 0xc0]
fmul st(1), st(0)
fxch st(1)
mov eax, dword [ebx + 0x3a68]
fstp qword [esi + 0xa0]
fld dword [eax + 0x38]
fmul qword [esi + 0x18]
fadd qword [esi + 0xb8]
fmulp st(1)
fstp qword [esi + 0xb8]
mov eax, dword [esi + 4]
test eax, eax
je 0x847e54
mov edi, dword [esi + 0x40]
cvtsi2ss xmm0, dword [edi + 0x40]
addss xmm0, dword [0xbb2808]
mulss xmm0, dword [0xbb280c]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
fstp qword [esp + 8]
fld dword [0xbb2800]
fstp qword [esp]
call sub.msvcrt.dll_pow
fstp dword [esp + 0x90]
movss xmm0, dword [esp + 0x90]
mulss xmm0, dword [0xbb2810]
movss dword [esp + 0x90], xmm0
fld dword [esp + 0x90]
fld qword [0xbb2870]
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fld qword [edi + 0x10]
fld qword [0xbb2880]
fstp qword [esp + 8]
fld st(0)
fdiv st(2)
fstp qword [esp]
fxch st(2)
fstp qword [esp + 0x60]
fstp qword [esp + 0x80]
fstp qword [esp + 0x70]
call sub.msvcrt.dll_pow
fld1
fld qword [esp + 0x70]
fcomi st(1)
fcmovb st(0), st(1)
fld qword [esp + 0x80]
fcomi st(2)
fcmovb st(0), st(2)
fstp st(2)
fdivrp st(1)
fsqrt
fild dword [edi + 0x20]
fadd qword [esi + 0xa8]
fild dword [edi + 0x1c]
fld qword [esp + 0x60]
faddp st(1)
fmulp st(3)
faddp st(2)
fild dword [edi + 0x18]
fmulp st(1)
faddp st(1)
fstp qword [esi + 0xa8]
mov ebp, dword [ebx + 0x6f80]
test ebp, ebp
jne 0x848151
mov eax, dword [ebx + 0x20b4]
mov edi, dword [ebx + 0x75f0]
mov edx, dword [ebx + 0x20b8]
mov ecx, dword [ebx + 0x2090]
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x328]
mov dword [esp + 0x98], edx
mov dword [esp + 0x90], ecx
mov eax, dword [eax + 0x75f0]
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x90]
cmp eax, dword [ebx + 0x47a8]
jl 0x847eb7
jmp 0x8483b0
fstp st(0)
mov edi, dword [edi + 8]
xor eax, eax
xor edx, edx
xor ecx, ecx
test edi, edi
je 0x848045
mov edi, dword [esp + 0x104]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x104]
mul dword [esp + 0x90]
mov ebp, edi
sar ebp, 0x1f
imul ecx, ebp
mov dword [esp + 0x50], eax
add edx, ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0xa4]
mov edi, dword [edx + 0x60]
mov ebp, dword [edx + 0x64]
sub edi, dword [esp + 0x50]
sbb ebp, dword [esp + 0x54]
mov dword [edx + 0x60], edi
test ebp, ebp
mov dword [edx + 0x64], ebp
js 0x848830
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x90]
mov ecx, edx
sar ecx, 0x1f
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x90]
mul dword [esp + 0x98]
imul ecx, dword [esp + 0x54]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0x208c]
add edx, ecx
mov ecx, edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x94], edx
mov edx, ebp
sar edx, 0x1f
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x50], edi
not edx
sar edx, 0x1f
and ecx, edx
mov dword [esp + 0x98], ecx
mov ecx, ebp
mov ebp, edi
and ecx, edx
mov edi, dword [ebx + 0x3a68]
sar ebp, 0x1f
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x54], ebp
mov ecx, dword [esp + 0x54]
mov ebp, dword [edi + 0x44]
imul ecx, eax
mul dword [esp + 0xa8]
lea edx, [ecx + edx]
mov ecx, dword [edi + 0x40]
imul ebp, eax
imul ecx, edx
mul dword [edi + 0x40]
mov edi, dword [esp + 0x98]
add ecx, ebp
mov ebp, dword [esp + 0x9c]
lea edx, [ecx + edx]
mov ecx, dword [ebx + 0x20bc]
add edi, eax
mov eax, dword [esp + 0xa4]
adc ebp, edx
test ecx, ecx
mov dword [eax + 0x60], edi
mov dword [eax + 0x64], ebp
je 0x848012
cmp dword [esp + 0x94], ebp
ja 0x848012
jb 0x848603
cmp dword [esp + 0x90], edi
jb 0x848603
cmp ebp, dword [esp + 0x94]
mov eax, edi
mov edx, ebp
jb 0x848032
ja 0x8485f0
cmp edi, dword [esp + 0x90]
ja 0x8485f0
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x60], eax
xor eax, eax
mov dword [ecx + 0x64], edx
xor edx, edx
xor ecx, ecx
mov edi, dword [esp + 0x108]
mov dword [edi], ecx
add dword [esi + 0xb0], eax
adc dword [esi + 0xb4], edx
xor eax, eax
mov edx, dword [ebx + 0x2098]
test edx, edx
je 0x848146
mov eax, dword [ebx + 0x3a68]
mov ebp, dword [eax + 0x5c]
test ebp, ebp
jne 0x8482e8
mov edx, dword [ebx + 0x3b20]
fldz
mov ecx, dword [ebx + 0x3b24]
fst qword [eax + 0x21a8]
mov dword [esi + 0x22c], edx
mov dword [esi + 0x230], ecx
mov dword [esp + 0xc4], edx
fild dword [esp + 0xc4]
fmul qword [0xbb29b8]
fst qword [esi + 0x238]
fst qword [eax + 0x21b8]
mov ecx, dword [esp + 0x108]
mov edx, dword [ecx]
xor ecx, ecx
test edx, edx
je 0x8480da
mov cl, 6
sub ecx, dword [ebx + 0x2e8]
cmp edx, ecx
cmovge ecx, edx
shl ecx, 3
add ecx, dword [esp + 0x104]
mov dword [esp + 0xc4], ecx
fild dword [esp + 0xc4]
fild dword [ebx + 0x20b4]
fdivp st(1)
movss xmm0, dword [ebx + 0x208c]
faddp st(2)
fxch st(1)
fst qword [esi + 0x240]
fstp qword [eax + 0x21b0]
movlps qword [esp + 0xc8], xmm0
fild qword [esp + 0xc8]
fild qword [eax + 0x50]
fmulp st(1)
movss xmm5, dword [ebx + 0x2090]
movlps qword [esp + 0xc8], xmm5
fild qword [esp + 0xc8]
fdivp st(1)
faddp st(1)
fstp qword [eax + 0x21c0]
xor eax, eax
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebx + 0xbe8], 1
jne 0x847e62
mov ebp, dword [esp + 0x104]
mov eax, dword [ebx + 0x3a68]
add ebp, dword [esi + 0x21c]
mov dword [esi + 0x21c], ebp
cmp byte [eax + 0x81], 0
je 0x847e62
movss xmm0, dword [0xbb2808]
mov eax, dword [ebx + 0x3a74]
mov edi, dword [esi + 0x218]
addss xmm0, dword [esi + 0x4c]
mov eax, dword [ebx + eax*4 + 0x3ac0]
mulss xmm0, dword [0xbb280c]
cvtsi2ss xmm1, dword [eax + 0x1bb4]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
fstp qword [esp + 8]
movss dword [esp + 0x80], xmm1
fld dword [0xbb2800]
fstp qword [esp]
call sub.msvcrt.dll_pow
mov ecx, dword [esi + 0x214]
movss xmm0, dword [0xbb2990]
movss xmm1, dword [esp + 0x80]
comiss xmm0, xmm1
ja 0x8482d7
mov edx, ebp
mov eax, ebp
sar edx, 0x1f
idiv edi
movss xmm5, dword [ecx]
movss xmm4, dword [ecx + 4]
movss xmm6, dword [0xbb2994]
fstp dword [esp + 0x90]
movaps xmm3, xmm5
divss xmm3, xmm4
mulss xmm6, xmm3
cvtsi2ss xmm0, eax
mulss xmm0, dword [0xbb2810]
mulss xmm0, dword [esp + 0x90]
movss dword [esp + 0x90], xmm6
movaps xmm2, xmm0
fld dword [esp + 0x90]
divss xmm2, xmm1
movss dword [esp + 0x5c], xmm2
fld dword [esp + 0x5c]
fcomi st(1)
jb 0x848281
fstp st(1)
mulss xmm3, dword [0xbb28d8]
movss dword [esp + 0x90], xmm3
fld dword [esp + 0x90]
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
jmp 0x848283
fstp st(0)
fstp dword [esp + 0x5c]
movss xmm3, dword [esp + 0x5c]
mulss xmm1, xmm3
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x8488b1
movss xmm2, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
mulss xmm4, xmm2
mulss xmm1, xmm2
mulss xmm2, xmm5
addss xmm4, dword [0xbb2804]
addss xmm1, xmm0
addss xmm2, xmm3
movss dword [ecx + 4], xmm4
movss dword [ecx + 0xc], xmm1
movss dword [ecx], xmm2
jmp 0x8482d9
fstp st(0)
mov dword [esi + 0x21c], 0
jmp 0x847e62
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
sub edx, dword [ebx + 0x5c0]
sbb ecx, dword [ebx + 0x5c4]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
movss xmm0, dword [ebx + 0x208c]
fild qword [esp + 0xb8]
movlps qword [esp + 0xc8], xmm0
fild qword [esp + 0xc8]
fmulp st(1)
movss xmm5, dword [ebx + 0x2090]
movlps qword [esp + 0xc8], xmm5
mov edi, dword [eax + 0x7c]
fild qword [esp + 0xc8]
fdivp st(1)
test edi, edi
fadd qword [esi + 0x238]
fst qword [eax + 0x21b8]
fild dword [esi + 0x22c]
fld qword [0xbb29b8]
fmul st(1), st(0)
fxch st(1)
fsubr st(2)
jne 0x8485a0
fstp st(2)
fxch st(1)
fild dword [esi + 0x230]
fmulp st(2)
mov ecx, dword [ebx + 0x20bc]
test ecx, ecx
fsubrp st(1)
je 0x8485d0
fstp st(0)
jmp 0x848392
fstp st(0)
fld qword [esi + 0x240]
fst qword [eax + 0x21a8]
fld qword [eax + 0x21b8]
jmp 0x8480bb
movss xmm0, dword [0xbb2808]
cvtsi2ss xmm1, eax
addss xmm0, dword [edi + 0x4c]
movss dword [esp + 0x80], xmm1
mulss xmm0, dword [0xbb280c]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
fstp qword [esp + 8]
fld dword [0xbb2800]
fstp qword [esp]
call sub.msvcrt.dll_pow
mov eax, dword [esp + 0xa4]
movss xmm0, dword [0xbb2990]
movss xmm1, dword [esp + 0x80]
mov edx, dword [eax + 0x80]
comiss xmm0, xmm1
mov eax, dword [ebx + 0xbe8]
ja 0x847eb5
cvtsi2ss xmm0, dword [esp + 0x104]
shl eax, 4
lea eax, [edx + eax]
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
mulss xmm0, dword [0xbb2810]
fstp dword [esp + 0xac]
movaps xmm2, xmm4
movss xmm6, dword [0xbb2994]
mulss xmm0, dword [esp + 0xac]
divss xmm2, xmm3
movaps xmm5, xmm0
divss xmm5, xmm1
mulss xmm6, xmm2
movss dword [esp + 0xb0], xmm5
movss dword [esp + 0xac], xmm6
fld dword [esp + 0xac]
fld dword [esp + 0xb0]
fcomi st(1)
jb 0x8484b0
fstp st(1)
mulss xmm2, dword [0xbb28d8]
movss dword [esp + 0xac], xmm2
fld dword [esp + 0xac]
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
jmp 0x8484b2
fstp st(0)
fstp dword [esp + 0xac]
mulss xmm1, dword [esp + 0xac]
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x848897
movss xmm2, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
mulss xmm3, xmm2
mulss xmm1, xmm2
mulss xmm2, xmm4
addss xmm3, dword [0xbb2804]
addss xmm1, xmm0
addss xmm2, dword [esp + 0xac]
movss dword [eax + 4], xmm3
movss dword [eax + 0xc], xmm1
movss dword [eax], xmm2
jmp 0x847eb7
mov eax, dword [ebx + edi*4 + 0x7664]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xbb20d8
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
call fcn.0083e6b0
test eax, eax
js 0x848730
add edi, 1
cmp edi, dword [ebx + 0x3a70]
jge 0x847ae4
mov ebp, dword [ebx + 0x94]
test ebp, ebp
je 0x848510
mov eax, dword [ebx + edi*8 + 0x7664]
add eax, dword [ebx + edi*8 + 0x7668]
jmp 0x848517
mov edi, dword [ebx + 0x3a68]
cmp dword [edi + 0x74], 1
sbb ebp, ebp
and ebp, 0x20
add ebp, 0x42
mov dword [esp + 0x90], ebp
jmp 0x84798c
mov edi, dword [ebx + 0x3a68]
cmp dword [edi], 1
sbb ebp, ebp
and ebp, 0xffffffe0
add ebp, 0x69
mov dword [esp + 0x90], ebp
jmp 0x84798c
fstp st(1)
fxch st(1)
mov edx, dword [ebx + 0x3b20]
fstp qword [esi + 0x238]
mov ecx, dword [ebx + 0x20bc]
mov dword [esi + 0x22c], edx
mov edx, dword [ebx + 0x3b24]
test ecx, ecx
mov dword [esi + 0x230], edx
jne 0x848390
fld qword [esi + 0x240]
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fst qword [eax + 0x21a8]
fld qword [eax + 0x21b8]
jmp 0x8480bb
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
jmp 0x848032
mov eax, dword [ebx + 0x2090]
mov ecx, 8
mul ecx
mov dword [esp + 8], eax
sub eax, dword [esp + 0x90]
mov dword [esp + 0xc], edx
sbb edx, dword [esp + 0x94]
mov dword [esp + 0x90], eax
add dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], edx
adc dword [esp + 0x94], 0xffffffff
add dword [esp + 0x90], edi
adc dword [esp + 0x94], ebp
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.008e90d4
mov ecx, eax
mov eax, 6
sub eax, dword [ebx + 0x2e8]
cmp ecx, eax
cmovge eax, ecx
shl eax, 3
mov dword [esp + 0x90], eax
mov edx, eax
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x2090]
sar edx, 0x1f
mov dword [esp + 0x9c], edx
imul eax, edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x90]
mul dword [ebx + 0x2090]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa8]
add edx, eax
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0xa4]
lea eax, [ecx*8]
sub edi, dword [esp + 0x90]
sbb ebp, dword [esp + 0x94]
mov dword [edx + 0x60], edi
mov dword [edx + 0x64], ebp
mov edx, eax
sar edx, 0x1f
jmp 0x848045
mov eax, dword [ebx + 0xdcc]
test eax, eax
jne 0x847b4a
mov dword [esp + 4], 0xbb20dc
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
call fcn.0083e6b0
test eax, eax
jns 0x847b9a
lea esi, [esi]
mov dword [esp], ebx
mov dword [esp + 8], str.ratecontrol_end:_stats_file_could_not_be_written_to_n
mov dword [esp + 4], 0
call fcn.0080cd70
add esp, 0xec
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
movss xmm0, dword [0xbb2808]
addss xmm0, dword [esi + 0x4c]
mulss xmm0, dword [0xbb280c]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
fstp qword [esp + 8]
fld dword [0xbb2800]
fstp qword [esp]
call sub.msvcrt.dll_pow
movss xmm1, dword [ebx + 0x290]
movss xmm2, dword [0xbb28a0]
cvtsi2ss xmm0, dword [esp + 0x104]
andps xmm1, xmm2
fstp dword [esp + 0x90]
movss dword [esp + 0x5c], xmm1
mulss xmm0, dword [0xbb2810]
fld dword [esp + 0x5c]
mulss xmm0, dword [esp + 0x90]
fmul qword [esi + 0x98]
movss dword [esp + 0x5c], xmm0
fld dword [esp + 0x5c]
fdivrp st(1)
fadd qword [esi + 0xa0]
jmp 0x847d4f
mov bp, 0x74
jne 0x8479f6
mov ebp, dword [esp + 0xa8]
sub ebp, dword [esp + 0xac]
mov dword [esp + 0xa8], ebp
mov ebp, 0x73
cmp dword [esp + 0xa8], 0
jg 0x8479f6
cmp dword [esp + 0xa8], 1
sbb ebp, ebp
and ebp, 0xffffffb9
add ebp, 0x74
jmp 0x8479f6
movss xmm0, dword [esp + 0x90]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], ebp
fild qword [esp + 0xb8]
movlps qword [esp + 0xc8], xmm0
fild qword [esp + 0xc8]
fdivp st(1)
fstp qword [esp + 0x10]
mov eax, dword [ebx + 0x574]
mov dword [esp + 8], str.VBV_underflow__frame__d___.0f_bits__n
mov dword [esp + 4], 1
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.0080cd70
mov eax, dword [esp + 0xa4]
mov edi, dword [eax + 0x60]
mov ebp, dword [eax + 0x64]
jmp 0x847f19
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm1
jmp 0x8484d2
movaps xmm3, xmm2
movaps xmm0, xmm1
jmp 0x8482a1