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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x10411ce0]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
add ebx, ecx
mov dword [esp + 0x24], ecx
push esi
mov eax, ebx
mov dword [esp + 0x2c], ebx
sub eax, ecx
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], edi
cmp eax, 0xe
jl 0x1013d87f
lea ecx, [ecx]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
push esi
push dword [edi + 0xc]
call fcn.101926f0
add esp, 0x18
test eax, eax
jle 0x1013d86d
add eax, esi
cmp eax, ebx
mov dword [esp + 0x40], eax
setbe al
test al, al
je 0x1013d87b
movsd xmm0, qword [0x103d5688]
lea eax, [esp + 0x48]
or dword [esp + 0x1c], 0x100
sub esp, 8
movsd qword [esp + 0x50], xmm0
xorps xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x28]
push eax
push esi
mov esi, dword [esp + 0x3c]
push dword [esi + 0xc]
call fcn.101901c0
add esp, 0x18
test eax, eax
jne 0x1013d863
mov eax, dword [esi + 8]
push 0x15004
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
test al, al
je 0x1013d6af
push 0
push 0
push dword [esi + 0xc]
call fcn.10190190
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edx, 0xa
push dword [esi + 0xc]
mov eax, ecx
and eax, 0x3f
cmp eax, edx
cmovb edx, eax
and cl, 0x80
movsx ebx, cl
neg ebx
sbb ebx, ebx
and ebx, 0xa
add ebx, edx
shl ebx, 4
add ebx, 0x10413150
call fcn.10190170
mov ecx, dword [esi + 0x10]
add esp, 4
mov edi, eax
mov dword [esp + 0x24], edi
test ecx, ecx
je 0x1013d70d
movzx eax, word [ebx]
imul eax, edi
shl eax, 0xa
cmp dword [esi + 0x14], eax
jge 0x1013d739
test ecx, ecx
je 0x1013d70d
push ecx
call fcn.102d6d32
add esp, 4
movzx eax, word [ebx]
imul eax, edi
shl eax, 0xa
mov dword [esi + 0x14], eax
add eax, 0x40
push eax
call fcn.102d6fbe
mov ecx, eax
mov eax, dword [esi + 0x14]
add eax, 0x40
mov dword [esi + 0x10], ecx
push eax
push 0
push ecx
call fcn.102dad40
add esp, 0x10
mov edi, dword [esi + 0x10]
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], eax
jle 0x1013d811
lea esp, [esp]
push dword [esi + 0xc]
call fcn.101900d0
add esp, 4
test eax, eax
jne 0x1013d80d
push dword [esi + 0xc]
call fcn.10191040
mov edx, eax
add esp, 4
mov eax, 0x100
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
lea ecx, [ecx]
xor ecx, ecx
cmp cx, word [ebx]
jae 0x1013d7e6
mov eax, 0xfffffffe
lea esi, [ebx + 2]
sub eax, ebx
mov dword [esp + 0x44], eax
movzx eax, byte [esi]
cmp eax, 0xffffffff
jne 0x1013d7b8
push 0xcc
push str.OpenCodecDecodeDCA.cpp
push str.scmap.ch_ch_____1
call fcn.102d7050
mov edx, dword [esp + 0x44]
add esp, 0xc
movzx eax, byte [esi]
inc esi
shl eax, 0xb
mov ecx, dword [esp + 0x44]
add ecx, esi
movsd xmm0, qword [eax + edx]
divsd xmm0, qword [esp + 0x48]
cvtpd2ps xmm0, xmm0
movss dword [edi], xmm0
add edi, 4
movzx eax, word [ebx]
cmp ecx, eax
jl 0x1013d795
mov eax, dword [esp + 0x34]
add edx, 8
dec eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
jne 0x1013d780
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x24]
jl 0x1013d750
jmp 0x1013d811
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
cmp eax, edi
jne 0x1013d85f
mov eax, dword [esi + 0x10]
xorps xmm0, xmm0
mov ecx, dword [esi + 8]
push 0
push dword [ebx + 0xc]
mov dword [esp + 0x64], eax
movzx eax, word [ebx]
push eax
push dword [esp + 0x48]
shl edi, 8
lea eax, [esp + 0x6c]
push edi
push 3
mov dword [esp + 0x78], 0
movdqu xmmword [esp + 0x7c], xmm0
push eax
movq qword [esp + 0x90], xmm0
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
test al, al
je 0x1013d897
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
jmp 0x1013d86e
inc esi
mov eax, ebx
sub eax, esi
cmp eax, 0xe
jge 0x1013d610
mov ecx, dword [esp + 0x2c]
sub esi, ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.102d6d23
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x7c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102d6d23
mov esp, ebp
pop ebp
ret 0x10