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

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10411ce0]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
mov edi, dword [esp + 0x128]
mov edx, dword [edi + 0x120]
mov dword [esp + 0x18], edx
mov dword [edx], 0
lea esi, [edx + 0x10]
mov eax, dword [edi + 0xb4]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x7c], eax
test eax, eax
je 0x101a156a
mov dword [edi + 0x24], 0
cmp dword [edx + 0x14f2c], 0
je 0x101a157a
mov dword [edi + 0x24], 0
mov eax, dword [edi + 0x110]
mov dword [edx + 0x14f44], eax
mov eax, dword [edi + 0x114]
mov dword [edx + 0x14f48], eax
mov eax, dword [edi + 0x118]
mov dword [edx + 0x14f4c], eax
cmp dword [edi + 0x128], 0
je 0x101a15c3
call fcn.101a8850
mov edx, dword [esp + 0x18]
add eax, eax
xor eax, dword [edx + 0x14efc]
and eax, 2
xor dword [edx + 0x14efc], eax
jmp 0x101a15ca
and dword [edx + 0x14efc], 0xfffffffd
cmp dword [edi + 0x124], 0
je 0x101a15ef
call fcn.101a8860
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x14efc]
xor ecx, eax
and ecx, 1
xor dword [edx + 0x14efc], ecx
jmp 0x101a15f6
and dword [edx + 0x14efc], 0xfffffffe
cmp dword [edi + 0x12c], 0
je 0x101a1637
call fcn.101a8870
mov ecx, dword [esp + 0x18]
shl eax, 2
xor eax, dword [ecx + 0x14efc]
and eax, 4
xor dword [ecx + 0x14efc], eax
call fcn.101a8880
mov edx, dword [esp + 0x18]
shl eax, 3
xor eax, dword [edx + 0x14efc]
and eax, 8
xor dword [edx + 0x14efc], eax
jmp 0x101a163e
and dword [edx + 0x14efc], 0xfffffff3
cmp dword [edx + 0x14f24], 0
jne 0x101a1664
push 0xad4
push 1
call fcn.102dd230
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [edx + 0x14f24], eax
test eax, eax
je 0x101a169d
cmp dword [edx + 0x14eac], 0
jne 0x101a16b9
push 0x20e88
push 1
call fcn.102dd230
mov edx, dword [esp + 0x20]
add esp, 8
mov dword [edx + 0x14eac], eax
test eax, eax
jne 0x101a16b9
push edx
call fcn.101a8640
add esp, 4
mov dword [edi + 0x120], 0
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.102d6d23
add esp, 0x11c
ret
mov eax, dword [edi + 0x78]
mov dword [esi + 0x90], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x94], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x98], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x9c], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0xa0], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x34], eax
cmp eax, 1
jne 0x101a16f8
mov dword [edi + 0x30], 3
xor eax, eax
cmp dword [edi + 0x30], 3
setne al
inc eax
mov dword [esi + 0x38], eax
cmp dword [edi + 0x30], 3
jne 0x101a1712
mov dword [edi + 0x34], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jne 0x101a173a
mov ecx, dword [edi + 0xa8]
cmp ecx, 0x80
je 0x101a1738
cmp dword [edi + 0x60], eax
jne 0x101a1738
mov dword [edi + 0x60], ecx
test eax, eax
js 0x101a1746
cmp eax, 1
jle 0x101a174d
cmp eax, 4
je 0x101a174d
mov dword [edi + 0x38], 0
mov eax, dword [edi + 0x38]
xorps xmm4, xmm4
mov dword [esi + 0x88], eax
mov ecx, dword [edi + 0x9c]
test ecx, ecx
jne 0x101a1852
cmp dword [edi + 0x60], ecx
jne 0x101a17c2
movss xmm0, dword [edi + 0x64]
xorps xmm2, xmm2
movsd xmm3, qword [0x10366230]
xor eax, eax
cvtps2pd xmm1, xmm0
subss xmm0, xmm4
andpd xmm2, xmm3
andpd xmm1, xmm3
comisd xmm1, xmm2
cvtps2pd xmm0, xmm0
andpd xmm0, xmm3
jbe 0x101a17a8
mulsd xmm1, qword [0x10366368]
comisd xmm1, xmm0
jmp 0x101a17b4
mulsd xmm2, qword [0x10366368]
comisd xmm2, xmm0
setae al
test eax, eax
je 0x101a17c2
mov dword [edi + 0x64], 0x41306666
test ecx, ecx
jne 0x101a1852
movss xmm0, dword [edi + 0x64]
comiss xmm0, xmm4
jbe 0x101a1852
cmp dword [edi + 0x10], ecx
jne 0x101a17fa
movd xmm0, dword [edi + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x10366380]
cvttsd2si eax, xmm0
push eax
call fcn.101a8a00
add esp, 4
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [edi + 0x10]
movss xmm0, dword [edi + 0x64]
imul eax, ecx
cvtps2pd xmm0, xmm0
push esi
push ecx
shl eax, 4
mulsd xmm0, qword [0x103663a0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [edi + 0x60], eax
call fcn.101a7ae0
add esp, 8
mov dword [esi + 4], eax
cmp dword [esi + 0x88], 0
jne 0x101a1852
push dword [edi + 0x10]
push dword [esi]
push dword [edi + 0x60]
call fcn.101a7a70
add esp, 0xc
mov dword [edi + 0x60], eax
mov edx, dword [edi + 0x10]
mov ecx, 8
test edx, edx
je 0x101a18af
mov eax, dword [edi + 0xa8]
cmp edx, 0x3e80
jge 0x101a1878
cmp eax, ecx
cmovg ecx, eax
mov eax, 0x40
jmp 0x101a189c
cmp edx, 0x7d00
jge 0x101a188d
cmp eax, 8
cmovg ecx, eax
mov eax, 0xa0
jmp 0x101a189c
mov ecx, 0x20
cmp eax, ecx
cmovg ecx, eax
mov eax, 0x140
cmp ecx, eax
cmovl eax, ecx
mov dword [edi + 0xa8], eax
test edx, edx
jne 0x101a1aea
mov eax, dword [edi + 0x9c]
cmp eax, 1
je 0x101a18c3
cmp eax, 4
jne 0x101a1aea
movaps xmm0, xmmword [0x103664d0]
lea ecx, [esp + 0x50]
movd xmm4, dword [edi + 0xa4]
mov edx, 2
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x1c], 0xbb80
movaps xmm0, xmmword [0x103664d0]
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x30], 0x5c94
movaps xmm0, xmmword [0x10366510]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x34], 0xac44
movaps xmm0, xmmword [0x103664c0]
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x48], 0x5514
movaps xmm0, xmmword [0x10366520]
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x4c], 0x7d00
movaps xmm0, xmmword [0x103664e0]
movups xmmword [esp + 0x98], xmm0
mov dword [esp + 0x60], 0x3db8
movaps xmm0, xmmword [0x103664b0]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0x64], 0x5dc0
mov dword [esp + 0x78], 0x2e4a
mov dword [esp + 0x7c], 0x5622
mov dword [esp + 0x90], 0x2a8c
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x94], 0x3e80
movaps xmm0, xmmword [0x10366500]
addss xmm4, dword [edi + 0xa0]
movups xmmword [esp + 0xc8], xmm0
mov dword [esp + 0xa8], 0x1edf
movaps xmm0, xmmword [0x103664f0]
mov dword [esp + 0xac], 0x2ee0
mov dword [esp + 0xc0], 0x1728
mov dword [esp + 0xc4], 0x2b11
mov dword [esp + 0xd8], 0x1546
mov dword [esp + 0xdc], 0x1f40
movups xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xf0], 0xf70
mov eax, dword [ecx - 4]
cmp dword [edi + 0xc], eax
jne 0x101a1a58
movss xmm1, dword [ecx]
comiss xmm1, xmm4
jbe 0x101a1a55
movaps xmm0, xmm4
divss xmm0, xmm1
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movss xmm0, dword [ecx + 8]
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [edi + 0xa4], eax
movd xmm0, eax
mov eax, dword [ecx - 4]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0xa0], xmm0
cmp dword [edi + 0xc], eax
jl 0x101a1a69
comiss xmm4, dword [ecx]
jb 0x101a1a69
movss xmm0, dword [ecx + 4]
comiss xmm0, xmm4
ja 0x101a1a74
inc edx
add ecx, 0x18
cmp edx, 9
jl 0x101a1a05
jmp 0x101a1aea
cmp dword [edi + 0xb8], 0
lea ecx, [edx + edx*2]
movss xmm1, dword [esp + ecx*8 + 0x20]
movss xmm3, dword [esp + ecx*8 + 0x28]
subss xmm4, xmm1
movss xmm2, dword [esp + ecx*8 + 0x2c]
movss xmm0, dword [esp + ecx*8 + 0x24]
subss xmm2, xmm3
subss xmm0, xmm1
mulss xmm2, xmm4
divss xmm2, xmm0
addss xmm2, xmm3
cvtps2pd xmm1, xmm2
cvttsd2si eax, xmm1
mov dword [edi + 0xa4], eax
movd xmm0, eax
mov eax, dword [esp + ecx*8 + 0x1c]
cvtdq2pd xmm0, xmm0
mov dword [edi + 0x10], eax
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0xa0], xmm0
jne 0x101a1cfd
mov dword [edi + 0xb8], 0xffffffff
cmp dword [edi + 0xb8], 0
jne 0x101a1cfd
movsd xmm0, qword [0x103663a8]
mov eax, dword [edi + 0x9c]
movsd qword [esp + 8], xmm0
cmp eax, 4
ja case.default.0x101a1b14
jmp dword [eax*4 + 0x101a2c8c]
push dword [edi + 0x60]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.101a31b0
movsd xmm2, qword [esp + 0x14]
add esp, 0xc
jmp 0x101a1cd6
push dword [edi + 0xa8]
jmp 0x101a1b1e
movdqa xmm0, xmmword [0x10366480]
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x114], 0x30d4
mov dword [esp + 0x118], 0x2710
mov dword [esp + 0x11c], 0xf6e
movdqu xmmword [esp + 0xf4], xmm0
movdqa xmm0, xmmword [0x10366420]
movdqu xmmword [esp + 0x104], xmm0
test eax, eax
js 0x101a1cce
cmp eax, 9
jg 0x101a1cce
movd xmm1, dword [esp + eax*4 + 0xf4]
movd xmm2, dword [esp + eax*4 + 0xf8]
jmp 0x101a1cad
movdqa xmm0, xmmword [0x10366470]
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x114], 0x3b60
mov dword [esp + 0x118], 0x1c3e
mov dword [esp + 0x11c], 0xf6e
movdqu xmmword [esp + 0xf4], xmm0
movdqa xmm0, xmmword [0x10366440]
movdqu xmmword [esp + 0x104], xmm0
test eax, eax
js 0x101a1c3c
cmp eax, 9
jg 0x101a1c3c
movd xmm1, dword [esp + eax*4 + 0xf4]
movd xmm2, dword [esp + eax*4 + 0xf8]
movss xmm0, dword [edi + 0xa0]
cvtdq2pd xmm2, xmm2
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm2, xmm1
mulsd xmm2, xmm0
addsd xmm2, xmm1
jmp 0x101a1cd6
movsd xmm2, qword [0x103663b8]
jmp 0x101a1cd6
movdqa xmm0, xmmword [0x10366460]
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x114], 0x30d4
mov dword [esp + 0x118], 0x251c
mov dword [esp + 0x11c], 0xf6e
movdqu xmmword [esp + 0xf4], xmm0
movdqa xmm0, xmmword [0x10366410]
movdqu xmmword [esp + 0x104], xmm0
test eax, eax
js 0x101a1cce
cmp eax, 9
jg 0x101a1cce
movd xmm1, dword [esp + eax*4 + 0xf4]
movd xmm2, dword [esp + eax*4 + 0xf8]
movss xmm0, dword [edi + 0xa0]
cvtdq2pd xmm2, xmm2
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
subsd xmm2, xmm1
mulsd xmm2, xmm0
addsd xmm2, xmm1
jmp 0x101a1cd6
movsd xmm2, qword [0x103663b0]
cmp dword [edi + 0x30], 3
jne 0x101a1cf3
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x101a1ceb
cmp eax, 3
jne 0x101a1cf3
mulsd xmm2, qword [0x10366388]
cvttsd2si eax, xmm2
mov dword [edi + 0xb8], eax
cmp dword [edi + 0x10], 0
jne 0x101a1d31
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xc]
add eax, eax
cmp eax, ecx
jle 0x101a1d1f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0xb8], eax
push ecx
push dword [edi + 0xb8]
call fcn.101a3290
add esp, 8
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x9c]
cmp eax, 1
je 0x101a1d50
cmp eax, 4
je 0x101a1d50
mov eax, dword [edi + 0xb8]
mov ecx, 0x5014
cmp eax, ecx
jmp 0x101a1d5d
mov eax, dword [edi + 0xb8]
mov ecx, 0x5dc0
cmp eax, ecx
movsd xmm2, qword [0x103663a0]
cmovg eax, ecx
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xb8]
cdq
sub eax, edx
mov edx, dword [edi + 0x10]
sar eax, 1
cmp eax, ecx
cmovl ecx, eax
mov dword [edi + 0xb8], ecx
mov ecx, dword [edi + 0x9c]
test ecx, ecx
jne 0x101a1dbf
mov eax, dword [esi + 0x38]
movd xmm0, dword [edi + 0x60]
imul eax, edx
cvtdq2pd xmm0, xmm0
shl eax, 4
mulsd xmm0, xmm2
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x64], xmm0
cmp ecx, 3
jne 0x101a1df2
mov eax, dword [esi + 0x38]
movd xmm0, dword [edi + 0xa8]
imul eax, edx
cvtdq2pd xmm0, xmm0
shl eax, 4
mulsd xmm0, xmm2
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x64], xmm0
cmp dword [edi + 0x24], 0
jne 0x101a1e0d
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [esi + 0x74], 0
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x78], eax
test eax, eax
je 0x101a1e24
mov dword [esi + 0x74], 1
cmp dword [esi + 0x70], 0
je 0x101a1e75
mov ecx, dword [esp + 0x18]
push dword [edi + 0x10]
push dword [ecx + 0x14eac]
call fcn.101a9490
add esp, 8
test eax, eax
jne 0x101a1e75
push dword [esp + 0x18]
call fcn.101a8640
add esp, 4
mov dword [edi + 0x120], 0
mov eax, 0xfffffffa
pop edi
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.102d6d23
add esp, 0x11c
ret
mov eax, dword [edi + 0x80]
lea edx, [esi + 0x30]
mov dword [esi + 0x80], eax
mov eax, dword [edi + 0xb8]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0xbc]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x2c], eax
xor eax, eax
mov ecx, dword [edi + 0x10]
cmp ecx, 0x5dc0
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
setg al
inc eax
mov dword [esp + 0x14], edx
mov dword [esi + 0x3c], eax
mov dword [ecx + 0x14b18], 0x240
mov eax, dword [edi + 0x9c]
dec eax
cmp eax, 3
ja case.default.0x101a1ece
jmp dword [eax*4 + 0x101a2ca0]
movaps xmm0, xmmword [0x10366530]
mov eax, dword [edi + 0xa4]
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0x118], 0x41700000
movaps xmm0, xmmword [0x10366540]
movups xmmword [esp + 0x108], xmm0
mov dword [esp + 0x11c], 0x41840000
mov eax, dword [esp + eax*4 + 0xf8]
mov dword [edi + 0x64], eax
jmp 0x101a1f54
movd xmm0, dword [edi + 0xa8]
jmp 0x101a1f2a
movd xmm0, dword [edi + 0x60]
mov eax, dword [esi + 0x38]
imul eax, dword [edx]
cvtdq2pd xmm0, xmm0
shl eax, 4
mulsd xmm0, qword [0x103663a0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x64], xmm0
cmp dword [edi + 0x30], 4
jne 0x101a1f61
mov dword [edi + 0x30], 1
mov eax, dword [edi + 0x30]
movsd xmm3, qword [0x10336168]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x28]
test eax, eax
jle 0x101a1ff3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
cvtpd2ps xmm1, xmm0
movss dword [esi + 0xf0], xmm1
mov ecx, dword [edi + 0xc4]
test ecx, ecx
jl 0x101a1fb7
add eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esi + 0xf4], xmm0
jmp 0x101a1fbf
movss dword [esi + 0xf4], xmm1
movd xmm0, dword [edx]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x18]
divss xmm1, xmm0
movd xmm0, dword [edx]
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xf0], xmm1
movss xmm1, dword [esi + 0xf4]
divss xmm1, xmm0
movss dword [esi + 0xf4], xmm1
jmp 0x101a2007
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
cmp dword [esi + 0x24], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
jle 0x101a20c1
mov eax, dword [edx]
cdq
sub eax, edx
mov edx, dword [esi + 0x24]
sar eax, 1
cmp edx, eax
jge 0x101a20c1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
cvtpd2ps xmm2, xmm0
movss dword [esi + 0xec], xmm2
mov eax, dword [edi + 0xc0]
test eax, eax
js 0x101a2087
sub edx, eax
xorps xmm1, xmm1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
movss dword [esi + 0xe8], xmm0
jbe 0x101a208f
mov dword [esi + 0xe8], 0
jmp 0x101a208f
movss dword [esi + 0xe8], xmm2
mov eax, dword [esp + 0x14]
movss xmm1, dword [esi + 0xe8]
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xe8], xmm1
divss xmm2, xmm0
movss dword [esi + 0xec], xmm2
push ecx
call fcn.101a2cb0
mov eax, dword [esp + 0x18]
push esi
push dword [eax]
call fcn.101a7ae0
add esp, 0xc
mov dword [esi + 4], eax
test eax, eax
jns 0x101a210d
push dword [esp + 0x18]
call fcn.101a8640
add esp, 4
mov dword [edi + 0x120], 0
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.102d6d23
add esp, 0x11c
ret
cmp dword [edi + 0x9c], 0
jne 0x101a2167
cmp dword [esi + 0x88], 0
je 0x101a212f
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x14b08], 0
jmp 0x101a2175
mov eax, dword [esp + 0x14]
push dword [eax]
push dword [esi]
push dword [edi + 0x60]
call fcn.101a7a70
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x60], eax
push dword [ecx]
push dword [esi]
push eax
call fcn.101a7a30
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [ecx + 0x14b08], eax
test eax, eax
jg 0x101a2175
push ecx
jmp 0x101a20e1
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x14b08], 1
push ecx
call fcn.101a44f0
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [esp + 0x1c]
add esp, 4
cmp dword [eax], 0x3e80
mov eax, dword [esi]
setl cl
add edx, 0x5370
lea eax, [eax + ecx*2]
mov ecx, 0x17
lea eax, [eax + eax*2]
add eax, dword [esi + 4]
imul eax, eax, 0xcc
mov dword [esp + 0xc], eax
lea esi, [eax + 0x103682a0]
mov eax, dword [esi]
lea esi, [esi + 4]
mov dword [edx], eax
lea edx, [edx + 4]
dec ecx
jne 0x101a21b7
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x53c4]
mov dword [ecx + 0x5404], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53c4]
mov ecx, dword [ecx + 0x53c8]
sub ecx, esi
imul ecx
mov ecx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
mov dword [ecx + 0x5408], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53c4]
mov ecx, dword [ecx + 0x53c8]
sub ecx, esi
imul ecx
mov ecx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [esi + eax*2]
mov dword [ecx + 0x540c], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53c4]
mov ecx, dword [ecx + 0x53c8]
sub ecx, esi
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [esi + ecx*2]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x5410], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53c4]
mov ecx, dword [ecx + 0x53c8]
sub ecx, esi
imul ecx
mov ecx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [esi + eax*4]
mov dword [ecx + 0x5414], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53c4]
mov ecx, dword [ecx + 0x53c8]
sub ecx, esi
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [esi + ecx*4]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x5418], eax
lea edx, [ecx + 0x53cc]
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x541c], 0x240
mov ecx, 0xe
lea esi, [eax + 0x103682fc]
mov eax, dword [esi]
lea esi, [esi + 4]
mov dword [edx], eax
lea edx, [edx + 4]
dec ecx
jne 0x101a22c3
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x53fc]
mov dword [ecx + 0x5420], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53fc]
mov ecx, dword [ecx + 0x5400]
sub ecx, esi
imul ecx
mov ecx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
mov dword [ecx + 0x5424], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53fc]
mov ecx, dword [ecx + 0x5400]
sub ecx, esi
imul ecx
mov ecx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [esi + eax*2]
mov dword [ecx + 0x5428], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53fc]
mov ecx, dword [ecx + 0x5400]
sub ecx, esi
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [esi + ecx*2]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x542c], eax
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x53fc]
mov ecx, dword [ecx + 0x5400]
sub ecx, esi
imul ecx
mov eax, dword [esp + 0x18]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea ecx, [esi + ecx*4]
mov dword [eax + 0x5430], ecx
mov esi, dword [eax + 0x53fc]
mov ecx, dword [eax + 0x5400]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [esi + ecx*4]
add eax, ecx
mov ecx, dword [esp + 0x18]
lea esi, [ecx + 0x10]
mov dword [ecx + 0x5434], eax
mov dword [ecx + 0x5438], 0xc0
cmp dword [esi + 0x3c], 2
jne 0x101a23d6
cmp dword [esi + 0x38], 1
mov eax, 0x24
mov edx, 0x15
cmove eax, edx
jmp 0x101a23e6
xor eax, eax
cmp dword [esi + 0x38], 1
setne al
lea eax, [eax*8 + 0xd]
cmp dword [esi + 0x90], 0
mov dword [esi + 8], eax
je 0x101a23f6
add dword [esi + 8], 2
mov dword [ecx], 0xfff88e3b
lea edx, [ecx + 0x9b50]
mov ecx, 2
jmp 0x101a2410
mov eax, dword [esi + 0x3c]
lea edx, [edx + 0x20]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 0x24], xmm0
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 0x20], xmm0
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 0x1c], xmm0
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 0x18], xmm0
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 0x14], xmm0
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 0x10], xmm0
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 0xc], xmm0
mov eax, dword [esi + 0x3c]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 8], xmm0
dec ecx
jne 0x101a2410
mov edx, dword [esp + 0x18]
mov ecx, 3
add edx, 0x9b8c
mov eax, dword [esi + 0x3c]
lea edx, [edx + 4]
imul eax, dword [esi + 0x38]
imul eax, eax, 0x2bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx - 4], xmm0
dec ecx
jne 0x101a24f1
cmp dword [edi + 0xdc], 0xffffffff
mov ecx, dword [esp + 0x18]
jne 0x101a2527
mov dword [edi + 0xdc], 4
mov eax, dword [edi + 0x9c]
dec eax
je 0x101a2621
dec eax
je 0x101a25aa
sub eax, 2
je 0x101a2621
mov dword [ecx + 0x14c64], 0
cmp dword [edi + 0x2c], 0
jge 0x101a2557
mov dword [edi + 0x2c], 3
mov eax, dword [edi + 0x9c]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x101a2571
push dword [edi + 0x60]
push edi
call fcn.101a0690
add esp, 8
push 0
push dword [edi + 0xa8]
push edi
call fcn.101a5390
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov dword [edi + 0x9c], ecx
test ecx, ecx
mov ecx, dword [esp + 0x18]
mov eax, 0x101aba70
mov edx, 0x101abd20
cmove eax, edx
mov dword [ecx + 0x14f34], eax
jmp 0x101a26c0
mov eax, 0x32
sub eax, dword [edi + 0xa4]
push 0
lea eax, [eax + eax*4]
add eax, eax
push eax
push edi
call fcn.101a5390
add esp, 0xc
cmp dword [edi + 0x8c], 0
je 0x101a25df
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x14c64], 0
jmp 0x101a25f8
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [ecx], 0xabe0
mov ecx, dword [esp + 0x18]
setg al
mov dword [ecx + 0x14c64], eax
cmp dword [edi + 0x2c], 6
jle 0x101a2605
mov dword [edi + 0x2c], 6
cmp dword [edi + 0x2c], 0
jge 0x101a2612
mov dword [edi + 0x2c], 3
mov dword [ecx + 0x14f34], 0x101ac5b0
jmp 0x101a26c0
cmp dword [edi + 0x7c], 0
jge 0x101a262e
mov dword [edi + 0x7c], 2
cmp dword [edi + 0xf4], 0
jge 0x101a2641
mov dword [edi + 0xf4], 0
mov eax, 0x32
sub eax, dword [edi + 0xa4]
push 0
lea eax, [eax + eax*4]
add eax, eax
push eax
push edi
call fcn.101a5390
add esp, 0xc
cmp dword [edi + 0x2c], 0
jge 0x101a266a
mov dword [edi + 0x2c], 3
cmp dword [edi + 0x2c], 5
jge 0x101a2677
mov dword [edi + 0x2c], 0
cmp dword [edi + 0x2c], 7
jle 0x101a2684
mov dword [edi + 0x2c], 7
cmp dword [edi + 0x8c], 0
je 0x101a269d
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x14c64], 0
jmp 0x101a26b6
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [ecx], 0xabe0
mov ecx, dword [esp + 0x18]
setg al
mov dword [ecx + 0x14c64], eax
mov dword [ecx + 0x14f34], 0x101ac100
mov eax, dword [edi + 0xc8]
mov dword [ecx + 0x14bb0], eax
mov eax, dword [edi + 0xcc]
mov dword [ecx + 0x14bb4], eax
cmp dword [edi + 0x100], 0
je 0x101a2711
movss xmm0, dword [ecx + 0x14bb0]
addss xmm0, dword [edi + 0x104]
movss dword [ecx + 0x14bb0], xmm0
movss xmm0, dword [ecx + 0x14bb4]
addss xmm0, dword [edi + 0x104]
movss dword [ecx + 0x14bb4], xmm0
cmp dword [edi + 0x9c], 0
je 0x101a2817
mov ecx, dword [esp + 0x14]
mov eax, 0xe
mov edx, 8
mov dword [esi + 0x60], 1
cmp dword [ecx], 0x3e80
cmovl eax, edx
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0xac]
test eax, eax
je 0x101a2779
push dword [ecx]
push dword [esi]
push eax
call fcn.101a7a70
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xac], eax
push dword [ecx]
push dword [esi]
push eax
call fcn.101a7a30
add esp, 0x18
mov dword [esi + 0x60], eax
test eax, eax
js 0x101a20f3
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x101a27af
push dword [ecx]
push dword [esi]
push eax
call fcn.101a7a70
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xb0], eax
push dword [ecx]
push dword [esi]
push eax
call fcn.101a7a30
add esp, 0x18
mov dword [esi + 0x64], eax
test eax, eax
js 0x101a20f3
mov eax, dword [esi]
shl eax, 4
add eax, dword [esi + 0x60]
mov ecx, dword [edi + 0xa8]
mov eax, dword [eax*4 + 0x10369288]
mov dword [edi + 0xac], eax
mov eax, dword [esi]
shl eax, 4
add eax, dword [esi + 0x64]
mov eax, dword [eax*4 + 0x10369288]
mov dword [edi + 0xb0], eax
mov eax, dword [esi]
shl eax, 4
add eax, dword [esi + 0x64]
mov eax, dword [eax*4 + 0x10369288]
cmp eax, ecx
cmovl ecx, eax
mov dword [edi + 0xa8], ecx
mov eax, dword [esi]
shl eax, 4
add eax, dword [esi + 0x60]
mov eax, dword [eax*4 + 0x10369288]
cmp eax, ecx
cmovg ecx, eax
mov dword [edi + 0xa8], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x98]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x8c], eax
mov eax, dword [edi + 0x9c]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x50]
mov dword [ecx + 0x14c68], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0xa8]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x64]
push edi
mov dword [esi + 0xe4], eax
call fcn.101a2fc0
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [edi + 0xe8]
mov eax, dword [eax + 0x14f24]
test ecx, ecx
jns 0x101a288a
mov dword [eax], 3
jmp 0x101a288c
mov dword [eax], ecx
movss xmm1, dword [edi + 0xec]
cvtps2pd xmm1, xmm1
movsd xmm0, qword [0x1033bc20]
divsd xmm1, qword [0x103662d8]
call fcn.102ddfd0
mov eax, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mov eax, dword [eax + 0x14f24]
movss dword [eax + 4], xmm0
cmp dword [edi + 0xf0], 0xffffffff
jne 0x101a28d2
mov dword [edi + 0xf0], 0
cmp dword [edi + 0xf0], 0
jne 0x101a28f4
mov eax, dword [esi + 0xa4]
cmp eax, 1
je 0x101a28ea
test eax, eax
jne 0x101a28f4
mov dword [edi + 0xf0], 1
mov eax, dword [edi + 0xf0]
push edi
mov dword [esi + 0xa8], eax
call fcn.101a0530
add esp, 4
test eax, eax
jns 0x101a2918
push 1
push edi
call fcn.101a0a10
add esp, 8
push edi
call fcn.101a0550
add esp, 4
test eax, eax
jns 0x101a2930
push 0
push edi
call fcn.101a0a40
add esp, 8
push edi
call fcn.101a0510
xorps xmm0, xmm0
add esp, 4
fstp dword [esp + 0xc]
comiss xmm0, dword [esp + 0xc]
jbe 0x101a2958
sub esp, 8
movsd qword [esp], xmm0
push edi
call fcn.101a0940
add esp, 0xc
push edi
call fcn.101a0450
or eax, 1
push eax
push edi
call fcn.101a07e0
add esp, 0xc
cmp dword [edi + 0xdc], 0
jge 0x101a297e
mov dword [edi + 0xdc], 4
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0xe0]
jbe 0x101a2994
mov dword [edi + 0xe0], 0x40800000
comiss xmm0, dword [edi + 0xf8]
jbe 0x101a29a7
mov dword [edi + 0xf8], 0
cmp dword [edi + 0xf4], 0
jge 0x101a29ba
mov dword [edi + 0xf4], 1
mov eax, dword [edi + 0xf8]
movaps xmm1, xmm0
movsd xmm0, qword [0x1033bc20]
mov dword [esi + 0xac], eax
mov eax, dword [edi + 0xfc]
mov dword [esi + 0xb0], eax
subss xmm1, dword [edi + 0xe4]
movss dword [esi + 0xb4], xmm1
mulss xmm1, dword [0x10366364]
cvtss2sd xmm1, xmm1
call fcn.102ddfd0
cvtsd2ss xmm0, xmm0
movss xmm3, dword [0x103663c4]
movss dword [esi + 0xb8], xmm0
mov eax, dword [edi + 0xe0]
mov dword [esi + 0xbc], eax
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xc0], eax
mov eax, dword [edi + 0xd0]
mov dword [esi + 0xc4], eax
mov eax, dword [edi + 0xd4]
mov dword [esi + 0xc8], eax
mov eax, dword [edi + 0xd8]
mov dword [esi + 0xcc], eax
mov eax, dword [edi + 0x84]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x88]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0xf4]
movss xmm1, dword [0x103663c8]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x94]
and eax, 2
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x94]
sar eax, 2
and eax, 0x3f
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esi + 0xd8], xmm0
jb 0x101a2aa9
subss xmm0, xmm1
movss dword [esi + 0xd8], xmm0
movss xmm0, dword [esi + 0xd8]
movss xmm2, dword [0x10346f7c]
mulss xmm0, xmm2
movss dword [esi + 0xd8], xmm0
mov eax, dword [edi + 0x94]
sar eax, 8
and eax, 0x3f
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esi + 0xd4], xmm0
jb 0x101a2af1
subss xmm0, xmm1
movss dword [esi + 0xd4], xmm0
movss xmm0, dword [esi + 0xd4]
mulss xmm0, xmm2
movss dword [esi + 0xd4], xmm0
mov eax, dword [edi + 0x94]
sar eax, 0xe
and eax, 0x3f
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esi + 0xdc], xmm0
jb 0x101a2b31
subss xmm0, xmm1
movss dword [esi + 0xdc], xmm0
movss xmm0, dword [esi + 0xdc]
mulss xmm0, xmm2
movss dword [esi + 0xdc], xmm0
mov eax, dword [edi + 0x94]
sar eax, 0x14
and eax, 0x3f
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm3
movss dword [esi + 0xe0], xmm0
jb 0x101a2b71
subss xmm0, xmm1
movss dword [esi + 0xe0], xmm0
cmp dword [esi + 0x34], 2
xorps xmm6, xmm6
movss xmm0, dword [esi + 0xe0]
mulss xmm0, xmm2
addss xmm0, dword [esi + 0xdc]
movss dword [esi + 0xe0], xmm0
movss xmm1, dword [edi + 0x14]
movss xmm4, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [edi + 0x1c]
movaps xmm5, xmm4
mulss xmm0, xmm6
movaps xmm3, xmm2
mulss xmm5, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm1
jne 0x101a2be9
cmp dword [esi + 0x38], 1
jne 0x101a2be9
addss xmm2, xmm4
addss xmm5, xmm3
movaps xmm3, xmm6
mulss xmm2, dword [0x103d5680]
mulss xmm5, dword [0x103d5680]
movaps xmm4, xmm2
movaps xmm2, xmm6
mov ecx, dword [esp + 0x18]
movss dword [esi + 0xf8], xmm5
movss dword [esi + 0xfc], xmm4
movss dword [esi + 0x100], xmm3
movss dword [esi + 0x104], xmm2
mov dword [ecx + 0x9b98], 0
mov dword [ecx + 0x9b9c], 0
cmp dword [esi + 0x58], 0
jne 0x101a2c4b
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
inc eax
imul eax, dword [esi + 0x68]
imul eax, eax, 0x11940
cdq
idiv dword [ecx]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x9b98], edx
mov dword [ecx + 0x9b9c], edx
push edi
call fcn.101a1220
push dword [esp + 0x1c]
call fcn.101aa9c0
push edi
call fcn.101b0a50
push dword [edi + 0x7c]
push esi
call fcn.101a4330
mov ecx, dword [esp + 0x134]
add esp, 0x14
mov dword [esi + 0x84], eax
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.102d6d23
add esp, 0x11c
ret