Function at 0x49cc80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x570f20]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
xorps xmm0, xmm0
push ebx
push ebp
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
sub ecx, dword [esp + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x50]
inc eax
mov dword [esp + 0xc], ecx
xor ebx, ebx
lea ecx, [edx + 0x8fc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], edi
mov eax, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov ecx, 0x120
movss dword [eax], xmm0
movss dword [eax + 4], xmm0
dec ecx
add eax, 8
cmp ecx, ebx
jg 0x49cce2
mov eax, dword [edi + 8]
mov ebp, dword [edi + 0x48]
mov ecx, 0x120
sub ecx, eax
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x44]
sar ecx, 1
mov dword [esp + 0x2c], ecx
cmp eax, edx
jg 0x49cd22
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
jmp 0x49cd4a
mov dword [esp + 0x78], edx
cmp eax, ebp
jg 0x49cd39
sub eax, edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
jmp 0x49cd4a
mov ecx, ebp
sub ecx, edx
sub eax, ebp
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
xor ebp, ebp
lea esp, [esp]
mov eax, dword [esp + ebp*4 + 0x78]
cmp eax, ebx
jge 0x49cd71
mov edx, dword [esi + 0x55ec]
push eax
push str.hip:_Bogus_region_length___d__n
push edx
call fcn.0047f5b0
add esp, 0xc
mov dword [esp + ebp*4 + 0x78], ebx
inc ebp
cmp ebp, 3
jl 0x49cd50
mov eax, 2
cmp dword [edi + 0x10], eax
jne 0x49d55a
xorps xmm3, xmm3
movaps xmm0, xmm3
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
movss dword [esp + 0x30], xmm0
cmp dword [edi + 0x14], ebx
je 0x49cdd1
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [eax + eax + 0x6d1d88]
mov edx, dword [eax + eax + 0x6d2f90]
add eax, eax
mov dword [esp + 0x74], 0xffffffff
jmp 0x49cdfd
or eax, 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [eax + eax + 0x6d1d8c]
mov edx, dword [eax + eax + 0x6d2f94]
add eax, eax
movss xmm2, dword [0x4c8bb0]
add edi, 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x3c], edi
lea esp, [esp]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
mov eax, dword [esp + eax*4 + 0x78]
mov edx, dword [ecx]
lea ecx, [edx*8 + 0x55b698]
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], ecx
test eax, eax
je 0x49d204
cmp dword [esp + 0x24], 0
jne 0x49cf04
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edi, 4
mov ecx, dword [eax + edi]
add eax, edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x54]
add eax, edi
lea ecx, [edx + ecx*4]
mov edx, dword [eax]
add eax, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
add eax, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
cmp edx, 3
jne 0x49cec1
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
shl eax, cl
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x64]
lea eax, [ecx + eax*4]
cmp eax, 0x6d249c
jbe 0x49ceb7
mov eax, 0x6d249c
mov dword [esp + 0x50], 1
mov dword [esp + 0x18], 1
jmp 0x49cef3
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
shl eax, cl
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + edx*4 + 0x58]
lea eax, [ecx + eax*4]
cmp eax, 0x6d249c
jbe 0x49ceeb
mov eax, 0x6d249c
mov dword [esp + 0x50], 1
mov dword [esp + 0x18], 3
movss xmm0, dword [eax]
add dword [esp + 0x8c], edi
movss dword [esp + 0x30], xmm0
mov edx, dword [esp + 0x60]
mov edi, dword [edx + 4]
movsx ebp, word [edi]
test ebp, ebp
jns 0x49cf54
mov ebx, dword [esi + 0x55dc]
mov eax, dword [esi + 0x55d8]
mov edi, edi
mov dl, byte [ebx]
mov ecx, eax
inc eax
shl dl, cl
mov ecx, eax
sar ecx, 3
add ebx, ecx
and eax, 7
add edi, 2
mov dword [esi + 0x55dc], ebx
mov dword [esi + 0x55d8], eax
test dl, dl
jns 0x49cf49
neg ebp
lea edi, [edi + ebp*2]
movsx ebp, word [edi]
dec dword [esp + 0xc]
test ebp, ebp
js 0x49cf20
mov ebx, ebp
sar ebx, 4
and ebp, 0xf
cmp ebx, 0xf
jne 0x49d003
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword [esp + eax*4 + 0x68], edx
mov eax, dword [ecx]
or edx, 0xffffffff
push eax
sub edx, eax
add dword [esp + 0x10], edx
push esi
call fcn.0049b040
mov ebx, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [ebx]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, ebx
and ecx, 7
add esp, 8
mov dword [esi + 0x55dc], edi
mov dword [esi + 0x55d8], ecx
movss xmm0, dword [eax*4 + 0x6c84bc]
test dl, dl
jns 0x49cfe5
movss xmm2, dword [0x4c8bb0]
xorps xmm0, xmm2
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
xorps xmm3, xmm3
cvtps2pd xmm3, xmm0
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d067
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
cvtps2pd xmm2, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [0x4c8bb0]
cvtpd2ps xmm1, xmm1
jmp 0x49d067
test ebx, ebx
je 0x49d064
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edi, dword [esi + 0x55dc]
mov dl, byte [edi]
mov dword [esp + ecx*4 + 0x68], eax
mov ecx, dword [esi + 0x55d8]
lea eax, [ecx + 1]
shl dl, cl
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
movss xmm1, dword [ebx*4 + 0x6c8480]
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
test dl, dl
jns 0x49d053
xorps xmm1, xmm2
dec dword [esp + 0xc]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d067
movaps xmm1, xmm3
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x4c]
ja 0x49d077
movss dword [ebx], xmm1
jmp 0x49d096
cmp dword [esp + 0x1c], 0
jne 0x49d096
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
add eax, eax
add eax, eax
add ebx, eax
mov dword [esp + 0x10], ebx
cmp ebp, 0xf
jne 0x49d14f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + edx*4 + 0x68], ecx
or ecx, 0xffffffff
push eax
sub ecx, eax
add dword [esp + 0x10], ecx
push esi
call fcn.0049b040
mov ebx, dword [esi + 0x55dc]
mov dl, byte [ebx]
mov ecx, dword [esi + 0x55d8]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, ebx
mov ebx, dword [esp + 0x18]
and ecx, 7
add esp, 8
mov dword [esi + 0x55dc], edi
mov dword [esi + 0x55d8], ecx
movss xmm0, dword [eax*4 + 0x6c84bc]
test dl, dl
jns 0x49d131
movss xmm2, dword [0x4c8bb0]
xorps xmm0, xmm2
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
xorps xmm3, xmm3
cvtps2pd xmm3, xmm0
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d1b3
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
cvtps2pd xmm2, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [0x4c8bb0]
cvtpd2ps xmm1, xmm1
jmp 0x49d1b3
test ebp, ebp
je 0x49d1b0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov edi, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dword [esp + edx*4 + 0x68], eax
mov dl, byte [edi]
lea eax, [ecx + 1]
shl dl, cl
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
movss xmm1, dword [ebp*4 + 0x6c8480]
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
test dl, dl
jns 0x49d19f
xorps xmm1, xmm2
dec dword [esp + 0xc]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d1b3
xorps xmm1, xmm1
cmp ebx, dword [esp + 0x4c]
ja 0x49d1bf
movss dword [ebx], xmm1
jmp 0x49d1de
cmp dword [esp + 0x1c], 0
jne 0x49d1de
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
dec dword [esp + 0x24]
xorps xmm3, xmm3
add eax, eax
add eax, eax
add ebx, eax
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], eax
test eax, eax
jne 0x49ce45
mov eax, dword [esp + 0x64]
add dword [esp + 0x3c], 4
inc eax
mov dword [esp + 0x64], eax
cmp eax, 2
jl 0x49ce20
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
jle 0x49d44b
jmp 0x49d240
cmp dword [esp + 0xc], 0
jle 0x49d44b
mov ecx, dword [ebx + 0x54]
mov ebx, dword [ecx*8 + 0x55a158]
movzx eax, word [ebx]
mov dword [esp + 0x3c], eax
test ax, ax
jns 0x49d2ba
mov eax, 1
add ebx, 2
sub dword [esp + 0xc], eax
js 0x49d2b4
mov edi, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [edi]
lea eax, [ecx + 1]
shl dl, cl
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
test dl, dl
jns 0x49d2a6
movsx edx, word [esp + 0x3c]
neg edx
lea ebx, [ebx + edx*2]
movzx eax, word [ebx]
mov dword [esp + 0x3c], eax
test ax, ax
js 0x49d261
jmp 0x49d2ba
add dword [esp + 0xc], eax
xor eax, eax
cwde
xor ebx, ebx
mov dword [esp + 0x48], eax
test bl, 1
jne 0x49d386
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x49d37b
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x54]
mov edi, dword [ebp]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
shl eax, cl
mov ecx, dword [esp + 0x34]
add ebp, 0x10
mov dword [esp + 0x28], edx
cmp edx, 3
jne 0x49d345
mov ecx, dword [ecx + 0x64]
lea eax, [ecx + eax*4]
cmp eax, 0x6d249c
jbe 0x49d32a
mov eax, 0x6d249c
mov dword [esp + 0x50], 1
add dword [esp + 0x8c], 4
movss xmm0, dword [eax]
dec edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], edi
jmp 0x49d38a
mov ecx, dword [ecx + edx*4 + 0x58]
lea eax, [ecx + eax*4]
cmp eax, 0x6d249c
jbe 0x49d360
mov eax, 0x6d249c
mov dword [esp + 0x50], 1
add dword [esp + 0x8c], 4
movss xmm0, dword [eax]
dec edi
mov dword [esp + 0x18], 3
mov dword [esp + 0x24], edi
jmp 0x49d38a
mov edx, dword [esp + 0x28]
dec edi
mov dword [esp + 0x24], edi
jmp 0x49d38a
mov edx, dword [esp + 0x28]
mov eax, 8
mov ecx, ebx
sar eax, cl
test dword [esp + 0x48], eax
je 0x49d3e1
mov eax, dword [esp + 0x14]
mov dword [esp + edx*4 + 0x68], eax
mov eax, 1
sub dword [esp + 0xc], eax
js 0x49d42a
mov edi, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [edi]
lea eax, [ecx + 1]
shl dl, cl
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
movaps xmm1, xmm0
test dl, dl
jns 0x49d3e4
xorps xmm1, xmm2
jmp 0x49d3e4
movaps xmm1, xmm3
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x4c]
ja 0x49d3f4
movss dword [eax], xmm1
jmp 0x49d413
cmp dword [esp + 0x1c], 0
jne 0x49d413
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x18]
inc ebx
lea eax, [eax + edx*4]
mov dword [esp + 0x10], eax
cmp ebx, 4
jl 0x49d2c1
jmp 0x49d42e
add dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
dec eax
mov dword [esp + 0x2c], eax
test eax, eax
mov eax, dword [esp + 0x10]
jg 0x49d240
cmp ebp, dword [esp + 0x38]
jae 0x49d4ec
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x49d483
cmp dword [ebp + 8], 3
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x54]
mov ecx, dword [ebp]
lea eax, [edi + eax*4]
mov dword [esp + 0x18], 1
je 0x49d480
mov dword [esp + 0x18], 3
add ebp, 0x10
dec ecx
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x4c]
ja 0x49d494
movss dword [eax], xmm3
jmp 0x49d4ad
test edx, edx
jne 0x49d4ad
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
mov edx, 1
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
add eax, ecx
cmp eax, dword [esp + 0x4c]
ja 0x49d4c3
movss dword [eax], xmm3
jmp 0x49d4dc
test edx, edx
jne 0x49d4dc
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x2c]
mov edx, 1
mov dword [esp + 0x44], edi
add eax, ecx
cmp ebp, dword [esp + 0x38]
jb 0x49d455
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
lea edx, [eax + 1]
mov dword [ebx + 0x30], edx
lea edx, [ecx + 1]
mov dword [ebx + 0x34], edx
mov edx, dword [esp + 0x70]
lea edi, [edx + 1]
mov dword [ebx + 0x38], edi
mov edi, dword [esp + 0x74]
lea ebp, [edi + 1]
mov dword [ebx + 0x3c], ebp
cmp eax, ecx
jg 0x49d51a
mov eax, ecx
cmp eax, edx
jg 0x49d520
mov eax, edx
inc eax
je 0x49d542
mov ecx, dword [esp + 0x5c]
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*2]
mov eax, dword [eax*4 + 0x6d5338]
mov dword [ebx + 0x40], eax
jmp 0x49db54
mov eax, dword [esp + 0x5c]
imul eax, eax, 0x17
add eax, edi
mov eax, dword [eax*4 + 0x6d1a44]
mov dword [ebx + 0x40], eax
jmp 0x49db54
mov dword [esp + 0x28], 0x55bd60
cmp dword [edi + 0x4c], ebx
jne 0x49d56f
mov dword [esp + 0x28], 0x55bdb8
mov eax, dword [esp + 0x5c]
xorps xmm3, xmm3
movss xmm2, dword [0x4c8bb0]
lea ecx, [eax + eax*2]
mov edx, dword [ecx*4 + 0x6d1d90]
xor ebp, ebp
add edi, 0x18
movaps xmm0, xmm3
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x3c], edx
movss dword [esp + 0x20], xmm0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], edi
mov edi, edi
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x78]
mov edx, dword [ecx]
lea ecx, [edx*8 + 0x55b698]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ecx
test eax, eax
je 0x49d941
cmp dword [esp + 0x30], 0
jne 0x49d63d
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x28]
add eax, dword [ecx]
mov ecx, dword [esp + 0x58]
shl eax, cl
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x64]
mov edi, 4
lea eax, [ecx + eax*4]
add edx, edi
cmp eax, 0x6d249c
jbe 0x49d620
mov eax, 0x6d249c
mov dword [esp + 0x50], 1
add dword [esp + 0x28], edi
add dword [esp + 0x8c], edi
mov ebp, dword [edx]
movss xmm0, dword [eax]
add edx, edi
movss dword [esp + 0x20], xmm0
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
mov edi, dword [edx + 4]
movsx eax, word [edi]
mov dword [esp + 0x24], eax
test eax, eax
jns 0x49d69c
mov ebx, dword [esi + 0x55dc]
mov eax, dword [esi + 0x55d8]
jmp 0x49d660
mov dl, byte [ebx]
mov ecx, eax
inc eax
shl dl, cl
mov ecx, eax
sar ecx, 3
add ebx, ecx
and eax, 7
add edi, 2
mov dword [esi + 0x55dc], ebx
mov dword [esi + 0x55d8], eax
test dl, dl
jns 0x49d68d
mov ecx, dword [esp + 0x24]
neg ecx
lea edi, [edi + ecx*2]
movsx ecx, word [edi]
dec dword [esp + 0xc]
mov dword [esp + 0x24], ecx
test ecx, ecx
js 0x49d660
mov eax, dword [esp + 0x24]
mov ebx, eax
sar ebx, 4
and eax, 0xf
mov dword [esp + 0x24], eax
cmp ebx, 0xf
jne 0x49d748
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
or ecx, 0xffffffff
push eax
sub ecx, eax
add dword [esp + 0x10], ecx
push esi
mov dword [esp + 0x1c], ebp
call fcn.0049b040
mov ebx, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [ebx]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, ebx
and ecx, 7
add esp, 8
mov dword [esi + 0x55dc], edi
mov dword [esi + 0x55d8], ecx
movss xmm0, dword [eax*4 + 0x6c84bc]
test dl, dl
jns 0x49d72a
movss xmm2, dword [0x4c8bb0]
xorps xmm0, xmm2
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x20]
xorps xmm3, xmm3
cvtps2pd xmm3, xmm0
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d7a4
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm2, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [0x4c8bb0]
cvtpd2ps xmm1, xmm1
jmp 0x49d7a4
test ebx, ebx
je 0x49d7a1
mov edi, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [edi]
lea eax, [ecx + 1]
shl dl, cl
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
movss xmm1, dword [ebx*4 + 0x6c8480]
xorps xmm3, xmm3
mov dword [esp + 0x14], ebp
cvtss2sd xmm3, xmm0
test dl, dl
jns 0x49d790
xorps xmm1, xmm2
dec dword [esp + 0xc]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d7a4
movaps xmm1, xmm3
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x4c]
ja 0x49d7bb
movss dword [ebx], xmm1
add ebx, 4
mov dword [esp + 0x10], ebx
jmp 0x49d7d6
cmp dword [esp + 0x1c], 0
jne 0x49d7d6
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x24]
cmp eax, 0xf
jne 0x49d87d
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
or ecx, 0xffffffff
push eax
sub ecx, eax
add dword [esp + 0x10], ecx
push esi
mov dword [esp + 0x1c], ebp
call fcn.0049b040
mov ebx, dword [esi + 0x55dc]
mov dl, byte [ebx]
mov ecx, dword [esi + 0x55d8]
shl dl, cl
inc ecx
mov edi, ecx
sar edi, 3
add edi, ebx
mov ebx, dword [esp + 0x18]
and ecx, 7
add esp, 8
mov dword [esi + 0x55dc], edi
mov dword [esi + 0x55d8], ecx
movss xmm0, dword [eax*4 + 0x6c84bc]
test dl, dl
jns 0x49d85f
movss xmm2, dword [0x4c8bb0]
xorps xmm0, xmm2
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x20]
xorps xmm3, xmm3
cvtps2pd xmm3, xmm0
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d8fb
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm2, xmm0
mulsd xmm1, xmm2
movss xmm2, dword [0x4c8bb0]
cvtpd2ps xmm1, xmm1
jmp 0x49d8fb
test eax, eax
je 0x49d8f8
mov edi, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [edi]
lea eax, [ecx + 1]
shl dl, cl
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
xorps xmm3, xmm3
mov dword [esp + 0x14], ebp
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
cvtss2sd xmm3, xmm0
test dl, dl
jns 0x49d8da
mov edx, dword [esp + 0x24]
movss xmm1, dword [edx*4 + 0x6c8480]
dec dword [esp + 0xc]
xorps xmm1, xmm2
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d8fb
mov eax, dword [esp + 0x24]
movss xmm1, dword [eax*4 + 0x6c8480]
dec dword [esp + 0xc]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm3
cvtpd2ps xmm1, xmm1
jmp 0x49d8fb
xorps xmm1, xmm1
cmp ebx, dword [esp + 0x4c]
ja 0x49d90e
movss dword [ebx], xmm1
add ebx, 4
mov dword [esp + 0x10], ebx
jmp 0x49d929
cmp dword [esp + 0x1c], 0
jne 0x49d929
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x48]
dec dword [esp + 0x30]
xorps xmm3, xmm3
dec eax
mov dword [esp + 0x48], eax
test eax, eax
jne 0x49d5d5
mov eax, dword [esp + 0x18]
add dword [esp + 0x54], 4
inc eax
mov dword [esp + 0x18], eax
cmp eax, 3
jl 0x49d5b0
cmp dword [esp + 0x2c], 0
je 0x49db1d
mov ebx, dword [esp + 0x3c]
jmp 0x49d970
cmp dword [esp + 0xc], 0
jle 0x49db1d
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x54]
mov eax, dword [eax*8 + 0x55a158]
mov dword [esp + 0x20], eax
movzx eax, word [eax]
mov dword [esp + 0x38], eax
test ax, ax
jns 0x49da07
lea esp, [esp]
add dword [esp + 0x20], 2
mov eax, 1
sub dword [esp + 0xc], eax
js 0x49da01
mov edi, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [edi]
lea eax, [ecx + 1]
shl dl, cl
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
test dl, dl
jns 0x49d9ef
movsx edx, word [esp + 0x38]
mov eax, dword [esp + 0x20]
neg edx
lea ecx, [eax + edx*2]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
movzx eax, word [edx]
mov dword [esp + 0x38], eax
test ax, ax
js 0x49d9a0
jmp 0x49da07
add dword [esp + 0xc], eax
xor eax, eax
cwde
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
test dl, 1
jne 0x49da73
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x49da6e
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x28]
add eax, dword [ecx]
mov ecx, dword [esp + 0x58]
mov edi, dword [ebx]
mov ebp, dword [ebx + 4]
shl eax, cl
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x64]
add ebx, 8
lea eax, [ecx + eax*4]
cmp eax, 0x6d249c
jbe 0x49da5a
mov eax, 0x6d249c
mov dword [esp + 0x50], 1
movss xmm0, dword [eax]
mov eax, 4
add dword [esp + 0x28], eax
add dword [esp + 0x8c], eax
dec edi
mov dword [esp + 0x30], edi
mov eax, 8
mov ecx, edx
sar eax, cl
test dword [esp + 0x48], eax
je 0x49daca
mov eax, 1
sub dword [esp + 0xc], eax
mov dword [esp + 0x14], ebp
js 0x49db0f
mov edi, dword [esi + 0x55dc]
mov ecx, dword [esi + 0x55d8]
mov dl, byte [edi]
shl dl, cl
lea eax, [ecx + 1]
mov ecx, eax
sar ecx, 3
add ecx, edi
and eax, 7
test dl, dl
mov edx, dword [esp + 0x18]
mov dword [esi + 0x55dc], ecx
mov dword [esi + 0x55d8], eax
movaps xmm1, xmm0
jns 0x49dacd
xorps xmm1, xmm2
jmp 0x49dacd
movaps xmm1, xmm3
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x4c]
ja 0x49dae4
movss dword [eax], xmm1
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x49daff
cmp dword [esp + 0x1c], 0
jne 0x49daff
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
inc edx
mov dword [esp + 0x18], edx
cmp edx, 4
jl 0x49da12
jmp 0x49db13
add dword [esp + 0xc], eax
dec dword [esp + 0x2c]
jne 0x49d970
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
cmp edi, ecx
ja 0x49db33
sub ecx, edi
shr ecx, 2
inc ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x17
mov edx, dword [esp + 0x34]
inc ecx
add eax, ecx
mov dword [edx + 0x3c], ecx
mov ecx, dword [eax*4 + 0x6d1a40]
mov dword [edx + 0x40], ecx
mov ebx, edx
cmp dword [esp + 0x1c], 0
mov ebp, dword [esp + 0xc]
je 0x49db92
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x48]
push edx
mov edx, dword [ebx + 0x44]
push eax
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esi + 0x55ec]
push ecx
push edx
push ebp
push str.hip:_OOPS__part2remain_d_l3_d_cb_d_bv_d_region1_d_region2_d_b_type_d_mixed_d_n
push eax
call fcn.0047f5b0
add esp, 0x28
cmp dword [esp + 0x50], 0
je 0x49dbc8
xor eax, eax
cmp dword [esi + 0x70], 1
jne 0x49dba7
mov eax, dword [esi + 0x74]
and eax, 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
push ecx
mov ecx, dword [esi + 0x55ec]
push edx
push eax
mov eax, dword [esi + 0x4c]
push eax
push str.hip:_OOPS__gainpow2_buffer_overflow__lsf_d_i_stereo_d_b_type_d_mixed_d_n
push ecx
call fcn.0047f5b0
add esp, 0x18
cmp ebp, 0x10
jle 0x49dbee
lea edi, [ebp - 0x11]
shr edi, 4
inc edi
mov edx, edi
neg edx
shl edx, 4
add ebp, edx
lea ecx, [ecx]
push 0x10
push esi
call fcn.0049b040
add esp, 8
dec edi
jne 0x49dbe0
test ebp, ebp
jle 0x49dc10
push ebp
push esi
call fcn.0049b040
add esp, 8
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004a7314
add esp, 0x7c
ret
jns 0x49dbfc
mov eax, dword [esi + 0x55ec]
neg ebp
push ebp
push str.hip:_Cant_rewind_stream_by__d_bits__n
push eax
call fcn.0047f5b0
mov ecx, dword [esp + 0x90]
add esp, 0xc
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004a7314
add esp, 0x7c
ret