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

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x78]
mov eax, 0x400
cdq
mov dword [esp + 0x2c], 0
mov ecx, dword [edi + 0x5c]
idiv ecx
mov edx, eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x100156c2
mov ecx, dword [esp + 0x78]
xor edi, edi
xor esi, esi
movzx eax, byte [ecx]
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + eax*2]
mov eax, edx
sub eax, ecx
shl eax, 2
push eax
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x3c]
push 0
lea eax, [ecx + eax*4]
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x84]
lea edi, [edi + 0x80]
mov edx, dword [esp + 0x20]
inc esi
add esp, 0xc
cmp esi, dword [ecx + 0x5c]
jl 0x10015681
jmp 0x100156c4
mov ecx, edi
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [ecx + 0x10], edx
jle 0x100161a3
mov eax, dword [esp + 0x38]
nop word [eax + eax]
movzx edx, byte [ecx + edx + 0x14]
xor edi, edi
cmp byte [ecx], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x18], edi
jbe 0x10016188
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x7c]
sub eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 8], eax
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x30]
dec edx
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
movzx eax, word [eax + edi*2]
movzx edi, word [esi + edi*2 + 2]
mov esi, dword [esp + 0x60]
sub edi, eax
mov dword [esp + 0x4c], edi
lea ecx, [ecx + eax*4]
mov dword [esp + 0x58], ecx
cmp edx, 0xd
jb 0x10015784
mov edx, dword [esp + 0x54]
test edx, edx
je 0x10016155
lea esi, [edi*4]
mov edi, edx
nop dword [eax]
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x64]
add esp, 0xc
add ecx, 0x200
mov dword [esp + 0x58], ecx
sub edi, 1
jne 0x10015760
jmp 0x10016151
cmp edx, 0xc
jne 0x10015906
mov edx, dword [esp + 0x54]
test edx, edx
je 0x10016155
mov edi, edx
mov dword [esp + 0x64], edx
nop
mov eax, dword [esp + 0x4c]
xor edx, edx
cmp eax, 4
jl 0x1001585c
lea edi, [eax - 4]
add ecx, 8
shr edi, 2
inc edi
lea edx, [edi*4]
imul eax, dword [esi + 0x143c], 0x19660d
lea ecx, [ecx + 0x10]
add eax, 0x3c6ef35f
mov dword [esi + 0x143c], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x18], xmm0
imul eax, dword [esi + 0x143c], 0x19660d
add eax, 0x3c6ef35f
mov dword [esi + 0x143c], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x14], xmm0
imul eax, dword [esi + 0x143c], 0x19660d
add eax, 0x3c6ef35f
mov dword [esi + 0x143c], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x10], xmm0
imul eax, dword [esi + 0x143c], 0x19660d
add eax, 0x3c6ef35f
mov dword [esi + 0x143c], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
sub edi, 1
jne 0x100157c0
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x4c]
cmp edx, eax
jge 0x1001589a
mov edi, dword [esp + 0x4c]
nop dword [eax]
nop dword [eax + eax]
imul eax, dword [esi + 0x143c], 0x19660d
add eax, 0x3c6ef35f
mov dword [esi + 0x143c], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + edx*4], xmm0
inc edx
cmp edx, edi
jl 0x10015870
mov edi, dword [esp + 0x64]
mov eax, dword [esi + 0x1438]
push dword [esp + 0x4c]
push ecx
mov eax, dword [eax + 0x24]
push ecx
call eax
fstp dword [esp + 0x70]
movss xmm1, dword [esp + 0x70]
add esp, 0xc
sqrtss xmm1, xmm1
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x1438]
mov eax, dword [eax + 0xc]
movss xmm0, dword [ecx]
push dword [esp + 0x4c]
divss xmm0, xmm1
push ecx
mov ecx, dword [esp + 0x60]
movss dword [esp], xmm0
push ecx
push ecx
call eax
mov ecx, dword [esp + 0x68]
add esp, 0x10
add ecx, 0x200
sub edi, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], edi
jne 0x100157a0
jmp 0x10016151
mov eax, dword [edx*4 + 0x1007c810]
mov dword [esp + 0x48], eax
mov eax, edx
shl eax, 4
mov edi, dword [eax + 0x100bd2b4]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], edi
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 8]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x34]
shr edx, 1
mov dword [esp + 0x34], edx
cmp edx, 4
ja case.default.0x10015943
mov edi, edx
jmp dword [edi*4 + 0x100162f0]
cmp dword [esp + 0x54], 0
mov edi, dword [esp + 0x50]
jbe 0x1001614e
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x64]
nop word [eax + eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], ecx
nop dword [eax]
mov ecx, dword [eax]
mov eax, esi
shr eax, 3
mov eax, dword [eax + ecx]
mov ecx, esi
bswap eax
and ecx, 7
shl eax, cl
shr eax, 0x18
movsx ecx, word [edi + eax*4]
movsx eax, word [edi + eax*4 + 2]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x100159ea
lea eax, [esi + 8]
cmp edx, eax
mov esi, eax
cmovbe esi, edx
mov edx, dword [esp + 0x68]
mov eax, esi
shr eax, 3
mov ecx, dword [edx]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + ecx]
mov ecx, esi
and ecx, 7
bswap eax
shl eax, cl
mov ecx, dword [esp + 0x1c]
add ecx, 0x20
shr eax, cl
add eax, dword [esp + 0x3c]
movsx ecx, word [edi + eax*4]
movsx eax, word [edi + eax*4 + 2]
mov dword [esp + 0x3c], ecx
add eax, esi
mov edi, dword [esp + 0x48]
cmp edx, eax
mov esi, eax
mov eax, dword [esp + 0x44]
cmovbe esi, edx
movss xmm1, dword [eax]
mov eax, ecx
mov ecx, dword [esp + 0x48]
and eax, 3
movaps xmm0, xmm1
mulss xmm0, dword [ecx + eax*4]
mov eax, dword [esp + 0x34]
lea ecx, [eax + 4]
movss dword [eax], xmm0
movaps xmm0, xmm1
mov eax, dword [esp + 0x3c]
shr eax, 2
and eax, 3
mulss xmm0, dword [edi + eax*4]
mov eax, dword [esp + 0x3c]
shr eax, 4
and eax, 3
movss dword [ecx], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + eax*4]
mov eax, dword [esp + 0x3c]
shr eax, 6
and eax, 3
sub dword [esp + 0x40], 4
movss dword [ecx + 4], xmm0
mulss xmm1, dword [edi + eax*4]
lea eax, [ecx + 0xc]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
movss dword [ecx + 8], xmm1
jne 0x10015980
mov ecx, dword [esp + 0x58]
add ecx, 0x200
mov dword [esp + 0x34], esi
sub dword [esp + 0x28], 1
mov dword [esp + 0x58], ecx
jne 0x10015970
jmp 0x1001614e
cmp dword [esp + 0x54], 0
mov edi, dword [esp + 0x50]
jbe 0x1001614e
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
nop
mov ecx, dword [eax]
mov eax, esi
shr eax, 3
mov eax, dword [eax + ecx]
mov ecx, esi
bswap eax
and ecx, 7
shl eax, cl
mov dword [esp + 0x28], eax
shr eax, 0x18
movsx ecx, word [edi + eax*4]
movsx eax, word [edi + eax*4 + 2]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
test eax, eax
jns 0x10015b32
lea eax, [esi + 8]
cmp edx, eax
mov esi, eax
cmovbe esi, edx
mov edx, dword [esp + 0x68]
mov eax, esi
shr eax, 3
mov ecx, dword [edx]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + ecx]
mov ecx, esi
and ecx, 7
bswap eax
shl eax, cl
mov ecx, dword [esp + 0x34]
add ecx, 0x20
mov dword [esp + 0x28], eax
shr eax, cl
add eax, dword [esp + 0x3c]
movsx ecx, word [edi + eax*4]
movsx eax, word [edi + eax*4 + 2]
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x28]
mov ecx, eax
shl edi, cl
add eax, esi
mov esi, dword [esp + 0x3c]
mov ecx, esi
shr ecx, 8
and ecx, 0xf
cmp edx, eax
cmovbe eax, edx
add eax, ecx
cmp edx, eax
cmovbe eax, edx
xor edx, edx
test ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
cmovne edx, edi
mov edi, esi
mov ecx, edx
shr edi, 0xc
and ecx, 0x80000000
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
xor ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov ecx, esi
movss xmm0, dword [esp + 0x40]
and ecx, 3
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mulss xmm0, dword [esi + ecx*4]
mov ecx, dword [esp + 0x24]
lea esi, [ecx + 4]
movss dword [ecx], xmm0
mov ecx, edi
and ecx, 1
shr edi, 1
shl edx, cl
mov ecx, edx
and ecx, 0x80000000
xor ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x40]
shr ecx, 2
and ecx, 3
mulss xmm0, dword [eax + ecx*4]
mov ecx, edi
and ecx, 1
shr edi, 1
shl edx, cl
and edi, 1
mov dword [esp + 0x24], edx
mov ecx, eax
and edx, 0x80000000
movss dword [esi], xmm0
xor edx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x40]
shr edx, 4
and edx, 3
mulss xmm0, dword [ecx + edx*4]
mov ecx, edi
mov edx, dword [esp + 0x24]
shl edx, cl
mov ecx, dword [esp + 0x3c]
and edx, 0x80000000
xor edx, dword [esp + 0x28]
shr ecx, 6
and ecx, 3
movss dword [esi + 4], xmm0
sub dword [esp + 0x20], 4
mov dword [esp + 0x40], edx
movss xmm0, dword [esp + 0x40]
mulss xmm0, dword [eax + ecx*4]
lea eax, [esi + 0xc]
mov dword [esp + 0x24], eax
movss dword [esi + 8], xmm0
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
jne 0x10015ac0
mov ecx, dword [esp + 0x58]
add ecx, 0x200
sub dword [esp + 0x1c], 1
mov dword [esp + 0x58], ecx
jne 0x10015ab3
jmp 0x1001614e
cmp dword [esp + 0x54], 0
mov edi, dword [esp + 0x50]
jbe 0x1001614e
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x64]
nop dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
nop dword [eax]
mov ecx, dword [eax]
mov eax, esi
shr eax, 3
mov eax, dword [eax + ecx]
mov ecx, esi
bswap eax
and ecx, 7
shl eax, cl
shr eax, 0x18
movsx ecx, word [edi + eax*4]
movsx eax, word [edi + eax*4 + 2]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
test eax, eax
jns 0x10015d16
lea eax, [esi + 8]
cmp edx, eax
mov esi, eax
cmovbe esi, edx
mov edx, dword [esp + 0x68]
mov eax, esi
shr eax, 3
mov ecx, dword [edx]
mov edx, dword [esp + 0x64]
mov eax, dword [eax + ecx]
mov ecx, esi
and ecx, 7
bswap eax
shl eax, cl
mov ecx, dword [esp + 0x28]
add ecx, 0x20
shr eax, cl
add eax, dword [esp + 0x34]
movsx ecx, word [edi + eax*4]
movsx eax, word [edi + eax*4 + 2]
mov edi, dword [esp + 0x48]
add eax, esi
cmp edx, eax
mov esi, eax
mov eax, dword [esp + 0x44]
cmovbe esi, edx
movss xmm1, dword [eax]
mov eax, ecx
and eax, 0xf
shr ecx, 4
movaps xmm0, xmm1
and ecx, 0xf
mulss xmm0, dword [edi + eax*4]
mov eax, dword [esp + 0x1c]
movss dword [eax], xmm0
mulss xmm1, dword [edi + ecx*4]
mov edi, dword [esp + 0x50]
movss dword [eax + 4], xmm1
add eax, 8
sub dword [esp + 0x20], 2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
jne 0x10015cb0
mov ecx, dword [esp + 0x58]
add ecx, 0x200
mov dword [esp + 0x1c], esi
sub dword [esp + 0x24], 1
mov dword [esp + 0x58], ecx
jne 0x10015ca0
jmp 0x1001614e
mov edi, dword [esp + 0x54]
test edi, edi
je 0x1001614e
mov dword [esp + 0x24], edi
nop dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
nop dword [eax]
mov ecx, dword [eax]
mov eax, esi
shr eax, 3
mov edi, dword [eax + ecx]
mov ecx, esi
and ecx, 7
bswap edi
shl edi, cl
mov ecx, dword [esp + 0x50]
mov eax, edi
shr eax, 0x18
movsx edx, word [ecx + eax*4]
movsx eax, word [ecx + eax*4 + 2]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
test eax, eax
jns 0x10015e2e
mov ecx, dword [esp + 0x68]
lea eax, [esi + 8]
cmp edx, eax
mov esi, eax
cmovbe esi, edx
mov edi, dword [ecx]
mov eax, esi
shr eax, 3
mov ecx, esi
and ecx, 7
mov edi, dword [eax + edi]
bswap edi
shl edi, cl
mov ecx, dword [esp + 0x34]
mov eax, edi
add ecx, 0x20
shr eax, cl
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
movsx edx, word [ecx + eax*4]
movsx eax, word [ecx + eax*4 + 2]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3c]
add esi, eax
cmp edx, esi
mov eax, ecx
cmovbe esi, edx
shr eax, 8
and eax, 0xf
je 0x10015e61
mov ecx, dword [esp + 0x34]
shl edi, cl
mov ecx, 0x20
sub ecx, eax
shr edi, cl
mov ecx, dword [esp + 0x3c]
shr ecx, 0xc
shl edi, cl
mov ecx, dword [esp + 0x3c]
jmp 0x10015e63
xor edi, edi
add esi, eax
mov eax, dword [esp + 0x44]
cmp edx, esi
cmovbe esi, edx
movss xmm0, dword [eax]
mov eax, edi
and eax, 0xfffffffe
movss dword [esp + 0x34], xmm0
shl eax, 0x1e
xor dword [esp + 0x34], eax
mov eax, ecx
movss dword [esp + 0x3c], xmm0
and eax, 0xf
movss xmm0, dword [esp + 0x34]
shl edi, 0x1f
xor dword [esp + 0x3c], edi
mov edi, dword [esp + 0x48]
shr ecx, 4
and ecx, 0xf
mulss xmm0, dword [edi + eax*4]
mov eax, dword [esp + 0x1c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, dword [edi + ecx*4]
movss dword [eax + 4], xmm0
add eax, 8
sub dword [esp + 0x20], 2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
jne 0x10015db0
mov ecx, dword [esp + 0x58]
mov edi, esi
add ecx, 0x200
mov dword [esp + 0x1c], esi
sub dword [esp + 0x24], 1
mov dword [esp + 0x58], ecx
jne 0x10015da0
jmp 0x1001614e
cmp dword [esp + 0x54], 0
mov dword [esp + 0x28], 0
jbe 0x1001614e
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
nop dword [eax]
mov ecx, dword [eax]
mov eax, esi
mov edx, dword [esp + 0x50]
shr eax, 3
mov edi, dword [eax + ecx]
mov ecx, esi
and ecx, 7
bswap edi
shl edi, cl
mov ecx, dword [esp + 0x50]
mov eax, edi
shr eax, 0x18
movsx ecx, word [ecx + eax*4]
movsx eax, word [edx + eax*4 + 2]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
test eax, eax
jns 0x10015fa6
mov ecx, dword [esp + 0x68]
lea eax, [esi + 8]
cmp edx, eax
mov esi, eax
cmovbe esi, edx
mov edx, dword [esp + 0x50]
mov edi, dword [ecx]
mov eax, esi
shr eax, 3
mov ecx, esi
and ecx, 7
mov edi, dword [eax + edi]
bswap edi
shl edi, cl
mov ecx, dword [esp + 0x34]
mov eax, edi
add ecx, 0x20
shr eax, cl
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
movsx ecx, word [ecx + eax*4]
movsx eax, word [edx + eax*4 + 2]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
add eax, esi
cmp edx, eax
mov esi, eax
cmovbe esi, edx
test ecx, ecx
jne 0x10015fc8
mov eax, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], ecx
add eax, 8
mov dword [esp + 0x40], eax
jmp 0x100160f0
mov eax, ecx
mov edx, ecx
mov ecx, dword [esp + 0x34]
shr eax, 8
shr edx, 0xc
mov dword [esp + 0xc], eax
add esi, edx
shl edi, cl
mov eax, 0x20
sub eax, edx
mov ecx, eax
shr edi, cl
shl edi, cl
xor ecx, ecx
cmp dword [esp + 0x64], esi
mov dword [esp + 0x34], edi
cmovbe esi, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
nop
mov eax, 1
shl eax, cl
test dword [esp + 0xc], eax
je 0x1001609e
mov eax, dword [esp + 0x68]
mov ecx, esi
shr ecx, 3
mov edx, 0x1f
mov eax, dword [eax]
mov edi, dword [ecx + eax]
mov ecx, esi
and ecx, 7
bswap edi
shl edi, cl
mov eax, edi
not eax
or eax, 1
bsr eax, eax
sub edx, eax
cmp edx, 8
ja 0x100162cc
mov eax, dword [esp + 0x34]
lea ecx, [edx + 1]
shl edi, cl
inc esi
add esi, edx
mov ecx, 0x20
add edx, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x1c], edx
cmovbe esi, dword [esp + 0x64]
sub ecx, dword [esp + 0x1c]
add esi, edx
mov edx, eax
shr edi, cl
mov ecx, dword [esp + 0x1c]
add eax, eax
mov dword [esp + 0x34], eax
and edx, 0x80000000
mov eax, 1
shl eax, cl
add edi, eax
mov ecx, dword [edi*4 + 0x101ce560]
mov edi, dword [esp + 0x34]
or ecx, edx
cmp dword [esp + 0x64], esi
cmovbe esi, dword [esp + 0x64]
jmp 0x100160c8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
and eax, 0xf
mov edx, dword [ecx + eax*4]
mov eax, edi
xor ecx, ecx
mov dword [esp + 0x1c], edx
and eax, 0x80000000
test edx, edx
setne cl
shl edi, cl
mov ecx, edx
mov dword [esp + 0x34], edi
or ecx, eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
shr dword [esp + 0x3c], 4
add eax, 4
mov dword [esp + 0x40], eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 2
jl 0x10016000
sub dword [esp + 0x24], 2
mov eax, dword [esp + 0x68]
jne 0x10015f20
push dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x1438]
movss xmm0, dword [ecx]
mov ecx, dword [esp + 0x60]
mov eax, dword [eax + 0xc]
movss dword [esp], xmm0
push ecx
push ecx
call eax
mov edi, dword [esp + 0x38]
add esp, 0x10
mov ecx, dword [esp + 0x58]
inc edi
mov eax, dword [esp + 0x68]
add ecx, 0x200
mov dword [esp + 0x28], edi
mov dword [esp + 0x58], ecx
cmp edi, dword [esp + 0x54]
jb 0x10015f10
mov dword [eax + 8], esi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
inc edi
inc dword [esp + 0x2c]
add ecx, 4
movzx eax, byte [eax]
cmp edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [esp + 8]
mov dword [esp + 0x44], ecx
jl 0x10015711
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
shl edx, 9
add eax, edx
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], edx
cmp edx, dword [ecx + 0x10]
jl 0x100156e0
cmp dword [esp + 0x70], 0
je 0x100162c4
mov eax, dword [esp + 0x74]
xor esi, esi
mov dword [esp + 0x64], esi
cmp dword [eax], esi
jle 0x100162c4
movss xmm4, dword [0x10071990]
lea edi, [eax + 8]
xorps xmm3, xmm3
nop
mov ecx, dword [esp + 0x30]
mov edx, dword [edi]
add ecx, 2
mov eax, dword [esp + 0x10]
lea ecx, [ecx + esi*2]
movss xmm2, dword [eax + edx*4]
movzx eax, word [ecx]
cmp eax, edx
jg 0x100161fc
nop dword [eax]
movzx eax, word [ecx + 2]
add ecx, 2
inc esi
cmp eax, edx
jle 0x100161f0
mov eax, dword [esp + 0x7c]
cmp dword [eax + esi*4], 0xd
je 0x100162ac
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax + esi*4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x100162ac
mov eax, dword [edi + 0x10]
neg eax
ucomiss xmm2, xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
lahf
movss dword [esp + 0x78], xmm1
test ah, 0x44
jnp 0x1001626d
divss xmm2, xmm0
comiss xmm2, xmm3
jbe 0x1001624b
xorps xmm1, xmmword [0x100719a0]
movaps xmm0, xmm2
movaps xmm3, xmm1
andps xmm0, xmm4
movaps xmm1, xmm2
sqrtss xmm0, xmm0
sqrtss xmm0, xmm0
divss xmm1, xmm0
addss xmm1, xmm3
movss dword [esp + 0x78], xmm1
andps xmm1, xmm4
push ecx
movss dword [esp], xmm1
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_cbrtf]
fmul dword [esp + 0x7c]
add esp, 4
mov eax, dword [esp + 0x6c]
xorps xmm3, xmm3
mov ecx, dword [esp + 0x10]
movss xmm4, dword [0x10071990]
fstp dword [esp + 0x78]
movss xmm0, dword [esp + 0x78]
mulss xmm0, dword [eax + esi*4]
mov eax, dword [edi]
movss dword [ecx + eax*4], xmm0
mov eax, dword [esp + 0x64]
add edi, 4
mov ecx, dword [esp + 0x74]
inc eax
mov dword [esp + 0x64], eax
cmp eax, dword [ecx]
jl 0x100161d0
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 0x60]
push str.error_in_spectral_data__ESC_overflow_n
push 0x10
push dword [eax + 4]
call sub.avutil_fb2k_58.dll_av_log
add esp, 0xc
mov eax, 0xbebbb1b7
pop edi
pop esi
add esp, 0x54
ret