Function at 0x1004c1b0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov esi, dword [esp + 0xe0]
mov edi, dword [esi + 0x7720]
emms
mov ebx, dword [esi + 0x4888]
movss xmm0, dword [edi + 0x4c]
cvtsi2ss xmm2, dword [edi + 0x54]
cvtsi2ss xmm1, ebx
mov ebp, dword [esi + 0x774c]
mov edx, dword [esi + 0x773c]
divss xmm0, xmm1
mov eax, dword [esi + 0x7744]
mov ecx, dword [esi + 0x3b3c]
add ebp, dword [esi + 0x777c]
add edx, dword [esi + 0x7738]
add eax, dword [esi + 0x7748]
add edx, dword [esi + 0x7734]
add eax, dword [esi + 0x7750]
add eax, dword [esi + 0x7754]
add eax, dword [esi + 0x7758]
add eax, dword [esi + 0x775c]
add eax, dword [esi + 0x7760]
add eax, dword [esi + 0x7764]
add eax, dword [esi + 0x7768]
add eax, dword [esi + 0x776c]
add eax, dword [esi + 0x7770]
add eax, dword [esi + 0x7774]
mov dword [esi + 0x7788], ebp
divss xmm2, xmm1
movss xmm1, dword [esi + 0x288]
mov dword [esi + 0x7780], edx
mov dword [esi + 0x7784], eax
subss xmm1, dword [edi + 0x5c]
movss dword [edi + 0x4c], xmm0
movss dword [ecx + 0x84], xmm0
addss xmm1, xmm0
movss dword [ecx + 0x8c], xmm1
movss dword [ecx + 0x88], xmm2
mov ecx, dword [esi + 0x2bc]
test ecx, ecx
je 0x1004c600
mov ecx, dword [esi + 0xcb8]
cmp ecx, 2
je 0x1004cc60
test ecx, ecx
mov ecx, dword [esi + 0x3b38]
jne 0x1004cc40
mov dword [esp + 0x60], 0x50
mov ebx, dword [esi + 0x79d0]
mov dword [esp + 0x68], 0x2d
mov dword [esp + 0x70], ebx
mov ebx, dword [esi + 0x79cc]
mov dword [esp + 0x78], ebx
mov ebx, dword [esi + 0x8404]
mov dword [esp + 0x80], ebx
mov ebx, dword [esi + 0x8400]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esi + 0x70ac]
test ebx, ebx
je 0x1004c31d
mov ebx, dword [esp + 0x70]
sub ebx, dword [esp + 0x78]
mov dword [esp + 0x68], 0x73
cmp ebx, 0
jle 0x1004d060
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], ebx
mov eax, dword [esi + 0x7730]
movss dword [esp + 0x68], xmm2
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x7728]
fld dword [esp + 0x68]
movss dword [esp + 0x68], xmm0
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x772c]
fstp qword [esp + 0x2c]
fld dword [esp + 0x68]
fstp qword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x618]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x5c]
mov dword [esp + 4], str.in:_d_out:_d_type:_c_dur:_lld_cpbdur:_lld_q:_.2f_aq:_.2f_tex:_d_mv:_d_misc:_d_imb:_d_pmb:_d_smb:_d_d:_c_ref:
mov dword [esp + 8], eax
mov eax, dword [edi + 0xf0]
mov dword [esp], eax
call dword [0x104132b8]
test eax, eax
js 0x1004cf40
mov eax, dword [esi + 0x2c4]
test eax, eax
je 0x1004ceb6
mov eax, dword [edi + 0x40]
xor ebx, ebx
cmp dword [eax + 0xa8], 1
jg 0x1004c40d
jmp 0x1004ceb6
mov eax, dword [eax + ebx*4 + 0x68]
mov dword [esp + 4], 0x10330741
mov dword [esp + 8], eax
mov eax, dword [edi + 0xf0]
mov dword [esp], eax
call dword [0x104132b8]
test eax, eax
js 0x1004cf40
mov eax, dword [edi + 0x40]
add ebx, 1
cmp ebx, dword [eax + 0xa8]
jl 0x1004c3e0
mov eax, dword [esi + 0x210]
test eax, eax
jle 0x1004c4cd
mov eax, dword [esi + 0xe3c]
test eax, eax
je 0x1004c4cd
mov eax, dword [esi + 0xe38]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xe34]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xe30]
mov dword [esp + 4], str.w:_d__d__d
mov dword [esp + 8], eax
mov eax, dword [edi + 0xf0]
mov dword [esp], eax
call dword [0x104132b8]
test eax, eax
js 0x1004cf40
mov eax, dword [esi + 0xe6c]
test eax, eax
je 0x1004cf10
mov eax, dword [esi + 0xe98]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xe94]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xe68]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xe64]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xe60]
mov dword [esp + 4], str.__d__d__d__d__d
mov dword [esp + 8], eax
mov eax, dword [edi + 0xf0]
mov dword [esp], eax
call dword [0x104132b8]
test eax, eax
js 0x1004cf40
mov dword [esp + 4], 0x10330b39
mov eax, dword [edi + 0xf0]
mov dword [esp], eax
call dword [0x104132b8]
test eax, eax
js 0x1004cf40
mov ebx, dword [esi + 0x2b4]
test ebx, ebx
je 0x1004cea1
mov eax, dword [esi + 0x3b38]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1004cea1
mov edx, dword [esi + 0x2c4]
test edx, edx
jne 0x1004cea1
mov ecx, dword [esi + 0x4888]
mov edx, dword [esi + 0xcb8]
test ecx, ecx
mov byte [esp + 0xbf], dl
jle 0x1004c593
mov ebx, dword [eax + 0x2134]
xor eax, eax
mov ebp, dword [edi + 0x188]
fnstcw word [esp + 0x92]
fld dword [0x10330e1c]
movzx edx, word [esp + 0x92]
mov dh, 0xc
mov word [esp + 0x90], dx
lea esi, [esi]
fld st(0)
fmul dword [ebx + eax*4]
fldcw word [esp + 0x90]
fistp dword [esp + 0x94]
fldcw word [esp + 0x92]
mov edx, dword [esp + 0x94]
rol dx, 8
mov word [ebp + eax*2], dx
add eax, 1
cmp eax, ecx
jne 0x1004c560
fstp st(0)
mov eax, dword [edi + 0xf8]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
lea eax, [esp + 0xbf]
mov dword [esp], eax
call fcn.102daf29
test eax, eax
je 0x1004cf40
mov eax, dword [edi + 0xf8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x4888]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov eax, dword [edi + 0x188]
mov dword [esp], eax
call fcn.102daf29
mov ebx, dword [esi + 0x4888]
cmp eax, ebx
jb 0x1004cf40
lea esi, [esi]
mov eax, dword [edi]
test eax, eax
je 0x1004c6a3
movss xmm0, dword [0x10330c50]
cmp dword [esi + 0xcb8], 1
addss xmm0, dword [edi + 0x4c]
mulss xmm0, dword [0x10330c54]
movss dword [esp + 0x60], xmm0
je 0x1004cff0
fld dword [esp + 0x60]
fstp qword [esp + 8]
fld dword [0x10330c58]
fstp qword [esp]
call fcn.102db5a0
cvtsi2ss xmm0, dword [esp + 0xe4]
mulss xmm0, dword [0x10330c5c]
fstp dword [esp + 0x60]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x60], xmm0
fld dword [esp + 0x60]
fdiv qword [edi + 0x98]
fadd qword [edi + 0xa0]
fmul qword [edi + 0xc0]
mov eax, dword [esi + 0x3b38]
fstp qword [edi + 0xa0]
fld dword [eax + 0x38]
fmul qword [edi + 0x18]
fadd qword [edi + 0xb8]
fmul qword [edi + 0xc0]
fstp qword [edi + 0xb8]
mov eax, dword [edi + 4]
test eax, eax
je 0x1004c770
mov ebp, dword [edi + 0x40]
cvtsi2ss xmm0, dword [ebp + 0x40]
addss xmm0, dword [0x10330c50]
mulss xmm0, dword [0x10330c54]
movss dword [esp + 0x60], xmm0
fld dword [esp + 0x60]
fstp qword [esp + 8]
fld dword [0x10330c58]
fstp qword [esp]
call fcn.102db5a0
fstp dword [esp + 0x60]
movss xmm6, dword [esp + 0x60]
mulss xmm6, dword [0x10330c5c]
movss dword [esp + 0x60], xmm6
fld dword [esp + 0x60]
fld qword [0x10330ca0]
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fld qword [ebp + 0x10]
fld st(0)
fstp qword [esp + 0x68]
fdiv st(1)
fxch st(1)
mov dword [esp + 8], 0x9999999a
mov dword [esp + 0xc], 0x3ff19999
fstp qword [esp + 0x60]
fstp qword [esp]
call fcn.102db5a0
fld1
fld qword [esp + 0x68]
fcomi st(1)
fcmovb st(0), st(1)
fld qword [esp + 0x60]
fcomi st(2)
fcmovb st(0), st(2)
fstp st(2)
fdivrp st(1)
fsqrt
fild dword [ebp + 0x20]
fadd qword [edi + 0xa8]
fild dword [ebp + 0x1c]
fadd qword [0x10330ca0]
fmulp st(3)
faddp st(2)
fild dword [ebp + 0x18]
fmulp st(1)
faddp st(1)
fstp qword [edi + 0xa8]
mov ebp, dword [esi + 0x70a0]
test ebp, ebp
je 0x1004c787
cmp dword [esi + 0xcb8], 1
je 0x1004cdd5
mov eax, dword [esi + 0x2184]
mov ebp, dword [esi + 0x7720]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x35c]
mov eax, dword [eax + 0x7720]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x2188]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x2160]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x94]
cmp eax, ebx
jl 0x1004c835
movss xmm0, dword [0x10330c50]
cvtsi2ss xmm1, eax
addss xmm0, dword [ebp + 0x4c]
movss dword [esp + 0x8c], xmm1
mulss xmm0, dword [0x10330c54]
movss dword [esp + 0x80], xmm0
fld dword [esp + 0x80]
fstp qword [esp + 8]
fld dword [0x10330c58]
fstp qword [esp]
call fcn.102db5a0
mov eax, dword [esp + 0x60]
movss xmm0, dword [0x10330df8]
movss xmm1, dword [esp + 0x8c]
mov edx, dword [eax + 0x88]
comiss xmm0, xmm1
mov eax, dword [esi + 0xcb8]
jbe 0x1004ccd0
fstp st(0)
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1004c9c0
mov eax, dword [esp + 0xe4]
mov ebx, dword [esp + 0x68]
cdq
mov ecx, edx
mov eax, ebx
imul ecx, ebx
mov ebx, dword [esp + 0x60]
mul dword [esp + 0xe4]
add edx, ecx
mov ecx, dword [ebx + 0x68]
mov ebx, dword [ebx + 0x6c]
sub ecx, eax
mov eax, dword [esp + 0x60]
sbb ebx, edx
test ebx, ebx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ebx
js 0x1004cf68
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
cdq
mov eax, edx
imul eax, ebp
mov dword [esp + 0x68], eax
mov eax, ebp
mul dword [esp + 0x70]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x74], edx
add dword [esp + 0x74], eax
mov eax, ebx
cdq
mov eax, edx
not eax
sar eax, 0x1f
mov edx, eax
and eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x68], eax
mov eax, ebx
and eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [ecx + 0x68], eax
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x6c], edx
test eax, eax
mov dword [esp + 0x8c], eax
je 0x1004cbc0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
add eax, dword [esp + 0x70]
adc edx, dword [esp + 0x74]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0x2a8]
test edx, edx
je 0x1004cad0
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x74], eax
ja 0x1004cad0
jb 0x1004c92f
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x70], eax
jae 0x1004cad0
mov eax, dword [esi + 0x2160]
xor ebx, ebx
mov ecx, eax
shl ecx, 3
shld ebx, eax, 3
mov dword [esp + 0x78], eax
mov eax, ecx
mov edx, ebx
sub eax, dword [esp + 0x70]
sbb edx, dword [esp + 0x74]
mov dword [esp + 8], ecx
add eax, 0xffffffff
adc edx, 0xffffffff
add eax, dword [esp + 0x68]
adc edx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.10133210
mov ebp, eax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1004d090
lea eax, [ebp*8]
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x78]
mov ebx, eax
sar ebx, 0x1f
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
imul ecx, edx
mul edx
add edx, ecx
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov eax, dword [esp + 0x60]
sbb ebx, edx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ebx
mov eax, dword [esp + 0x70]
cdq
jmp 0x1004c9c6
xor eax, eax
xor edx, edx
xor ebp, ebp
mov ecx, dword [esp + 0xe8]
mov dword [ecx], ebp
add dword [edi + 0xb0], eax
mov eax, dword [esi + 0x2168]
adc dword [edi + 0xb4], edx
test eax, eax
je 0x1004cac5
mov ecx, dword [esi + 0x3b38]
mov eax, dword [ecx + 0x5c]
test eax, eax
jne 0x1004cb07
mov eax, dword [esi + 0x3bf0]
fldz
mov edx, dword [esi + 0x3bf4]
fst qword [ecx + 0x21c0]
mov dword [edi + 0x274], eax
mov dword [edi + 0x278], edx
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
fmul qword [0x10330e20]
fst qword [edi + 0x280]
fst qword [ecx + 0x21d0]
mov eax, dword [esp + 0xe8]
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x1004ca59
mov dl, 6
sub edx, dword [esi + 0x300]
cmp eax, edx
cmovge edx, eax
shl edx, 3
add edx, dword [esp + 0xe4]
xor eax, eax
mov dword [esp + 0x94], edx
fild dword [esp + 0x94]
fild dword [esi + 0x2184]
fdivp st(1)
movss xmm7, dword [esi + 0x215c]
faddp st(2)
fxch st(1)
fst qword [edi + 0x288]
fstp qword [ecx + 0x21c8]
movlps qword [esp + 0x98], xmm7
fild qword [esp + 0x98]
fild qword [ecx + 0x50]
fmulp st(1)
movss xmm5, dword [esi + 0x2160]
movlps qword [esp + 0x98], xmm5
fild qword [esp + 0x98]
fdivp st(1)
faddp st(1)
fstp qword [ecx + 0x21d8]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
cmp ebx, dword [esp + 0x74]
mov edx, ebx
mov eax, ecx
jb 0x1004caf2
ja 0x1004ce80
cmp ecx, dword [esp + 0x70]
ja 0x1004ce80
mov ecx, dword [esp + 0x60]
xor ebp, ebp
mov dword [ecx + 0x68], eax
xor eax, eax
mov dword [ecx + 0x6c], edx
xor edx, edx
jmp 0x1004c9c6
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
sub eax, dword [esi + 0x668]
sbb edx, dword [esi + 0x66c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
movss xmm4, dword [esi + 0x215c]
fild qword [esp + 0x98]
movlps qword [esp + 0x98], xmm4
fild qword [esp + 0x98]
fmulp st(1)
movss xmm4, dword [esi + 0x2160]
movlps qword [esp + 0x98], xmm4
mov eax, dword [ecx + 0x7c]
fild qword [esp + 0x98]
fdivp st(1)
test eax, eax
fadd qword [edi + 0x280]
fst qword [ecx + 0x21d0]
fild dword [edi + 0x274]
fmul qword [0x10330e20]
fsubr st(1)
jne 0x1004cc80
fstp st(1)
fild dword [edi + 0x278]
fmul qword [0x10330e20]
mov eax, dword [esi + 0x218c]
test eax, eax
fsubp st(1)
je 0x1004ccae
fstp st(0)
jmp 0x1004cba9
fstp st(0)
fld qword [edi + 0x288]
fst qword [ecx + 0x21c0]
fld qword [ecx + 0x21d0]
jmp 0x1004ca3a
mov eax, dword [esi + 0x215c]
xor edx, edx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x80]
mov eax, ecx
cdq
mov eax, ecx
mov ecx, dword [esi + 0x3b38]
imul ebx, edx
mul dword [esp + 0x80]
mov dword [esp + 0x7c], edx
add dword [esp + 0x7c], ebx
mov edx, dword [esp + 0x7c]
mov ebx, dword [ecx + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
imul ebx, edx
mov edx, dword [ecx + 0x44]
imul edx, eax
mov eax, dword [esp + 0x78]
add ebx, edx
mul dword [ecx + 0x40]
mov ecx, dword [esp + 0x60]
add edx, ebx
add eax, dword [esp + 0x68]
adc edx, dword [esp + 0x6c]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x1004c903
cmp dword [ecx + 0x74], 1
sbb ebx, ebx
mov dword [esp + 0x60], ebx
and dword [esp + 0x60], 0x20
add dword [esp + 0x60], 0x42
jmp 0x1004c2c4
mov ecx, dword [esi + 0x3b38]
cmp dword [ecx + 4], 1
sbb ebx, ebx
mov dword [esp + 0x60], ebx
and dword [esp + 0x60], 0xffffffe0
add dword [esp + 0x60], 0x69
jmp 0x1004c2c4
fxch st(1)
mov eax, dword [esi + 0x3bf0]
fstp qword [edi + 0x280]
mov dword [edi + 0x274], eax
mov eax, dword [esi + 0x3bf4]
mov dword [edi + 0x278], eax
mov eax, dword [esi + 0x218c]
test eax, eax
jne 0x1004cba7
fld qword [edi + 0x288]
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fst qword [ecx + 0x21c0]
fld qword [ecx + 0x21d0]
jmp 0x1004ca3a
cvtsi2ss xmm0, dword [esp + 0xe4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
movss xmm4, dword [eax + 4]
movss xmm3, dword [eax + 8]
mulss xmm0, dword [0x10330c5c]
fstp dword [esp + 0x80]
movaps xmm5, xmm4
movss xmm7, dword [0x10330dfc]
mulss xmm0, dword [esp + 0x80]
divss xmm5, xmm3
movaps xmm2, xmm0
divss xmm2, xmm1
mulss xmm7, xmm5
maxss xmm2, dword [eax]
movss dword [esp + 0x80], xmm7
fld dword [esp + 0x80]
movss dword [esp + 0x80], xmm2
fld st(0)
fld dword [esp + 0x80]
fcomi st(1)
fstp st(1)
jb 0x1004d0b3
fstp st(1)
mulss xmm5, dword [0x10330d7c]
movss dword [esp + 0x80], xmm5
fld dword [esp + 0x80]
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
fstp dword [esp + 0x80]
mulss xmm1, dword [esp + 0x80]
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x1004d191
movss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
mov ecx, dword [ebp + 8]
mulss xmm3, xmm2
mulss xmm1, xmm2
mulss xmm2, xmm4
test ecx, ecx
addss xmm3, dword [0x10330c60]
addss xmm1, xmm0
addss xmm2, dword [esp + 0x80]
movss dword [eax + 8], xmm3
movss dword [eax + 0x10], xmm1
movss dword [eax + 4], xmm2
jne 0x1004c840
jmp 0x1004c9c0
mov ebp, dword [esp + 0xe4]
mov edx, dword [esi + 0x3b38]
add ebp, dword [edi + 0x264]
mov dword [edi + 0x264], ebp
cmp byte [edx + 0x81], 0
je 0x1004c787
movss xmm0, dword [0x10330c50]
mov edx, dword [esi + 0x3b44]
mov eax, dword [edi + 0x260]
addss xmm0, dword [edi + 0x4c]
mov edx, dword [esi + edx*4 + 0x3b90]
mulss xmm0, dword [0x10330c54]
mov dword [esp + 0x70], eax
cvtsi2ss xmm1, dword [edx + 0x1bc8]
movss dword [esp + 0x60], xmm0
fld dword [esp + 0x60]
fstp qword [esp + 8]
movss dword [esp + 0x68], xmm1
fld dword [0x10330c58]
fstp qword [esp]
call fcn.102db5a0
mov ecx, dword [edi + 0x25c]
movss xmm0, dword [0x10330df8]
movss xmm1, dword [esp + 0x68]
comiss xmm0, xmm1
jbe 0x1004d0ba
fstp st(0)
mov dword [edi + 0x264], 0
jmp 0x1004c787
mov edx, dword [esp + 0x70]
xor ebp, ebp
mov ecx, dword [esp + 0x74]
mov eax, edx
mov edx, ecx
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x68], eax
xor eax, eax
mov dword [ecx + 0x6c], edx
xor edx, edx
jmp 0x1004c9c6
mov eax, dword [edi]
mov ebx, dword [esi + 0x4888]
test eax, eax
je 0x1004c6a3
jmp 0x1004c60a
xor ebx, ebx
jmp 0x1004cee9
mov eax, dword [esi + ebx*4 + 0x7794]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x10330741
mov eax, dword [edi + 0xf0]
mov dword [esp], eax
call dword [0x104132b8]
test eax, eax
js 0x1004cf40
add ebx, 1
cmp dword [esi + 0x3b40], ebx
jle 0x1004c415
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x1004cec0
mov eax, dword [esi + ebx*8 + 0x7794]
add eax, dword [esi + ebx*8 + 0x7798]
jmp 0x1004cec7
mov ebp, dword [esi + 0xe9c]
test ebp, ebp
jne 0x1004c47c
mov dword [esp + 4], 0x10330745
mov eax, dword [edi + 0xf0]
mov dword [esp], eax
call dword [0x104132b8]
test eax, eax
jns 0x1004c4cd
lea esi, [esi]
mov dword [esp], esi
mov dword [esp + 8], str.ratecontrol_end:_stats_file_could_not_be_written_to_n
mov dword [esp + 4], 0
call fcn.100083f0
add esp, 0xcc
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
movss xmm3, dword [esp + 0x68]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ebx
fild qword [esp + 0x98]
movlps qword [esp + 0x98], xmm3
movss xmm0, dword [ebp + 0x90]
fild qword [esp + 0x98]
fdivp st(1)
comiss xmm0, dword [0x10330c2c]
je 0x1004cfb4
addss xmm0, dword [ebp + 0x5c]
comiss xmm0, dword [ebp + 0x48]
jbe 0x1004d1a2
fstp qword [esp + 0x10]
mov eax, dword [esi + 0x618]
mov dword [esp + 8], str.VBV_underflow__frame__d___.0f_bits__n
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp], esi
call fcn.100083f0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x68]
mov ebx, dword [eax + 0x6c]
jmp 0x1004c87c
fld dword [esp + 0x60]
fstp qword [esp + 8]
fld dword [0x10330c58]
fstp qword [esp]
call fcn.102db5a0
cvtsi2ss xmm0, dword [esp + 0xe4]
movss xmm2, dword [0x10330ce0]
movss xmm1, dword [esi + 0x2a4]
mulss xmm0, dword [0x10330c5c]
andps xmm1, xmm2
fstp dword [esp + 0x60]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x60], xmm1
fld dword [esp + 0x60]
fmul qword [edi + 0x98]
movss dword [esp + 0x60], xmm0
fld dword [esp + 0x60]
fdivrp st(1)
fadd qword [edi + 0xa0]
jmp 0x1004c679
jne 0x1004d1c5
mov ebx, dword [esp + 0x80]
sub ebx, dword [esp + 0x8c]
cmp ebx, 0
jg 0x1004c31d
jne 0x1004d1c5
mov dword [esp + 0x68], 0x2d
jmp 0x1004c31d
mov eax, 6
sub eax, dword [esi + 0x300]
lea edx, [ebp*8]
mov dword [esp + 0x70], edx
cmp ebp, eax
cmovge eax, ebp
shl eax, 3
jmp 0x1004c98e
fstp st(0)
jmp 0x1004cd6b
mov eax, ebp
cdq
idiv dword [esp + 0x70]
movss xmm4, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
movss xmm7, dword [0x10330dfc]
fstp dword [esp + 0x60]
movaps xmm3, xmm4
divss xmm3, xmm5
mulss xmm7, xmm3
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10330c5c]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x60], xmm7
movaps xmm2, xmm0
fld dword [esp + 0x60]
divss xmm2, xmm1
fld st(0)
maxss xmm2, dword [ecx]
movss dword [esp + 0x60], xmm2
fld dword [esp + 0x60]
fcomi st(1)
fstp st(1)
jb 0x1004d1d2
fstp st(1)
mulss xmm3, dword [0x10330d7c]
movss dword [esp + 0x60], xmm3
fld dword [esp + 0x60]
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
fstp dword [esp + 0x60]
movss xmm3, dword [esp + 0x60]
mulss xmm1, xmm3
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x1004d1d9
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm5, xmm2
mulss xmm1, xmm2
mulss xmm2, xmm4
addss xmm5, dword [0x10330c60]
addss xmm1, xmm0
addss xmm2, xmm3
movss dword [ecx + 8], xmm5
movss dword [ecx + 0x10], xmm1
movss dword [ecx + 4], xmm2
jmp 0x1004ce70
movss dword [esp + 0x80], xmm2
movaps xmm0, xmm1
jmp 0x1004cd8b
fstp qword [esp + 0x10]
mov eax, dword [esi + 0x618]
mov dword [esp + 8], str.VBV_underflow_due_to_CRF_max__frame__d___.0f_bits__n
mov dword [esp + 4], 3
mov dword [esp + 0xc], eax
jmp 0x1004cfd2
mov dword [esp + 0x68], 0x74
jmp 0x1004c31d
fstp st(0)
jmp 0x1004d139
movaps xmm3, xmm2
movaps xmm0, xmm1
jmp 0x1004d157