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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x2420
call fcn.1015e8d0
mov ecx, dword [0x101db764]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
xor ecx, ebp
mov dword [esp + 0x2418], ecx
mov ecx, 0x40
mov edi, dword [ebx + 0x2f4]
sub ecx, eax
imul ecx, ecx, 0x170
mov edx, dword [edi*4 + 0x101b3684]
lea esi, [eax + edx - 0x40]
mov dword [esp + 0x24], edx
imul eax, esi, 0x170
lea eax, [ebx + eax + 0x9e0]
push ecx
push 0
push eax
call fcn.10161ee0
add esp, 0xc
mov eax, dword [edi*4 + 0x101b368c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
sub eax, esi
jle 0x10085552
imul ecx, esi, 0x378
imul eax, eax, 0x378
lea ecx, [ebx + ecx + 0x8cb0]
push eax
push 0
push ecx
call fcn.10161ee0
add esp, 0xc
lea eax, [ebx + 0x15550]
lea ecx, [ebx + 0x334]
xor edx, edx
mov dword [esp + 0x4c], eax
lea eax, [ebx + 0x1b050]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + 0x2600]
mov esi, 0xfffffb40
mov edi, ecx
mov ebx, dword [eax + esi*8]
mov dword [edi - 4], ebx
mov ebx, dword [eax + esi*8 + 0x2600]
mov dword [edi], ebx
add edi, 8
add esi, 0x20
jne 0x1008557e
inc edx
add eax, 4
add ecx, 0x160
cmp edx, 5
jne 0x10085577
cmp dword [esp + 0x14], 0
je 0x1008569a
mov edi, dword [esp + 0x4c]
mov ebx, dword [ebp + 0xc]
mov esi, 0x20
lea eax, [edi - 0x15250]
push 0xc
push 0x20
push 0x102b00d0
push eax
push edi
call dword [ebx + 0x20b9c]
add esp, 0x14
add edi, 8
dec esi
jne 0x100855bb
lea esi, [ebx + 0x16150]
mov edi, 0x20
mov ecx, 8
lea eax, [esi - 0x15cf0]
push ecx
push 0x20
push 0x102b03d0
push eax
push esi
call dword [ebx + 0x20b9c]
add esp, 0x14
add esi, 8
dec edi
jne 0x100855e6
lea esi, [ebx + 0x16950]
mov edi, 0x20
lea eax, [esi - 0x16390]
push 4
push 0x20
push 0x102b05d0
push eax
push esi
call dword [ebx + 0x20b9c]
add esp, 0x14
add esi, 8
dec edi
jne 0x10085615
lea esi, [ebx + 0x16d50]
mov edi, 0x20
lea eax, [esi - 0x16630]
push 4
push 0x20
push 0x102b05d0
push eax
push esi
call dword [ebx + 0x20b9c]
add esp, 0x14
add esi, 8
dec edi
jne 0x10085640
lea esi, [ebx + 0x17150]
mov edi, 0x20
lea eax, [esi - 0x168d0]
push 4
push 0x20
push 0x102b05d0
push eax
push esi
call dword [ebx + 0x20b9c]
add esp, 0x14
add esi, 8
dec edi
jne 0x1008566b
lea eax, [ebx + 0x17050]
push 0x20
push 5
jmp 0x100857dd
mov eax, dword [ebp + 0xc]
mov edi, 0x20
lea ebx, [esp + 0x1180]
lea esi, [eax + 0x300]
mov eax, 8
push eax
push 1
push 0x102b06d0
push esi
push ebx
mov eax, dword [ebp + 0xc]
call dword [eax + 0x20b9c]
add esp, 0x14
mov eax, dword [esp + 0x11b0]
mov dword [esi + 0x15250], eax
mov eax, dword [esp + 0x11b4]
mov dword [esi + 0x15254], eax
mov eax, dword [esp + 0x11b8]
mov dword [esi + 0x15350], eax
mov eax, dword [esp + 0x11bc]
mov dword [esi + 0x15354], eax
mov eax, dword [esp + 0x1180]
mov dword [esi + 0x15450], eax
mov eax, dword [esp + 0x1184]
mov dword [esi + 0x15454], eax
mov eax, dword [esp + 0x1188]
mov dword [esi + 0x15550], eax
mov eax, dword [esp + 0x118c]
mov dword [esi + 0x15554], eax
movss xmm0, dword [esp + 0x1190]
addss xmm0, dword [esp + 0x11a8]
movss dword [esi + 0x15650], xmm0
movss xmm0, dword [esp + 0x1194]
addss xmm0, dword [esp + 0x11ac]
movss dword [esi + 0x15654], xmm0
movss xmm0, dword [esp + 0x1198]
addss xmm0, dword [esp + 0x11a0]
movss dword [esi + 0x15750], xmm0
movss xmm0, dword [esp + 0x119c]
addss xmm0, dword [esp + 0x11a4]
movss dword [esi + 0x15754], xmm0
add esi, 8
dec edi
jne 0x100856af
mov ebx, dword [ebp + 0xc]
lea edx, [ebx + 0x15b50]
lea ecx, [ebx + 0x460]
push 1
call fcn.100873fa
add esp, 4
lea edx, [ebx + 0x15d50]
lea ecx, [ebx + 0x5c0]
push 0
call fcn.100873fa
add esp, 4
lea eax, [ebx + 0x15c50]
push 0x20
push 3
push dword [ebp + 0x10]
push eax
call dword [ebx + 0x20ba0]
add esp, 0x10
lea eax, [ebx + 0x20b94]
mov edx, 0xfffff920
mov dword [esp + 0x58], eax
lea eax, [ebx + 0x400]
lea edi, [eax + edx + 0x5e0]
lea esi, [eax + edx + 0x6e0]
mov ecx, 0xc
add edx, 0x160
rep movsd dword es:[edi], dword [esi]
jne 0x100857ff
mov eax, dword [esp + 0x14]
mov edi, 0x101b3a68
mov esi, eax
test eax, eax
mov eax, 0x101b3ac3
cmove edi, eax
xor ecx, ecx
lea eax, [esp + 0x1180]
push 0x1100
push ecx
push eax
call fcn.10161ee0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
cmp dword [eax + 0x2f8], esi
mov esi, eax
je 0x100858ad
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x13b40]
mov eax, dword [ebp + 0xc]
lea edi, [ecx + 0x9e0]
mov ecx, 0x88
lea eax, [eax + 0x13ab0]
push ecx
xor ebx, ebx
push ebx
push eax
call fcn.10161ee0
add esp, 0xc
mov eax, 0x88
push eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
call fcn.10161ee0
add esp, 0xc
push 0x130c8
push ebx
push edi
mov edi, dword [esp + 0x1c]
call fcn.10161ee0
add esp, 0xc
cmp dword [esp + 0x14], 1
mov edx, 0
ja 0x10085b79
mov ebx, dword [esp + 0x24]
lea esi, [esi + 0x15550]
xor edi, edi
mov eax, dword [esp + 0x10]
movsx eax, byte [eax + edi]
shl eax, 7
lea eax, [esp + eax + 0x1180]
push 0x20
push esi
push eax
mov eax, dword [ebp + 0xc]
call dword [eax + 0x20b94]
add esp, 0xc
inc edi
add esi, 0x100
cmp edi, ebx
jl 0x100858c9
mov eax, dword [esp + 0x14]
movss xmm1, dword [0x101b35d4]
movss xmm2, dword [0x101b35d8]
mov edi, dword [ebp + 0xc]
xor ecx, ecx
lea edx, [esp + 0x80]
lea esi, [esp + 0x1180]
mov eax, dword [eax*4 + 0x101b3b0c]
movss xmm3, dword [edi + ecx*4 + 0x13a20]
movss xmm4, dword [edi + ecx*4 + 0x13ab0]
movss xmm5, dword [edi + ecx*4 + 0x13b40]
mov edi, 0xffffff80
movaps xmm6, xmm4
mulss xmm3, dword [0x101b35d0]
movss xmm4, dword [esi + edi + 0x80]
movaps xmm7, xmm5
maxss xmm3, xmm4
movaps xmm5, xmm3
subss xmm5, xmm4
subss xmm4, xmm6
subss xmm5, xmm7
mulss xmm4, xmm1
mulss xmm5, xmm1
addss xmm4, xmm6
addss xmm5, xmm7
movaps xmm7, xmm4
movaps xmm0, xmm4
movaps xmm6, xmm5
mulss xmm6, xmm2
divss xmm7, xmm6
cmpltss xmm0, xmm6
movss xmm6, dword [0x10187150]
andps xmm7, xmm0
andnps xmm0, xmm6
orps xmm0, xmm7
movss dword [edx + edi + 0x80], xmm0
add edi, 4
jne 0x10085944
mov edi, dword [ebp + 0xc]
sub edx, 0xffffff80
sub esi, 0xffffff80
movss dword [edi + ecx*4 + 0x13a20], xmm3
movss dword [edi + ecx*4 + 0x13ab0], xmm4
movss dword [edi + ecx*4 + 0x13b40], xmm5
inc ecx
cmp ecx, eax
jl 0x10085924
mov eax, dword [esp + 0x14]
lea ebx, [edi + 0x8db0]
mov esi, edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax*4 + 0x101b3b14]
mov dword [esp + 0x48], eax
movsx eax, byte [edi + edx]
mov dword [esp + 0xc], edx
mov ecx, 0x1c
mov dword [esp + 0x1c], eax
mov eax, edx
sub eax, dword [esp + 0x48]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
imul eax, edx, 0x170
mov edx, esi
mulss xmm0, dword [0x101b35dc]
lea edi, [esi + eax + 0x9e0]
lea esi, [esi + eax + 0xae0]
addss xmm0, xmm6
movaps xmmword [esp + 0x30], xmm0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
lea esi, [edx + eax + 0xa50]
mov eax, dword [esp + 0xc]
shl eax, 8
mov dword [esp + 0x20], eax
lea ecx, [edx + eax + 0x15550]
push 0x100
push ecx
push esi
call fcn.101613e0
add esp, 0xc
mov eax, 0xfffffc88
lea edi, [ebx + eax + 0x278]
lea esi, [ebx + eax + 0x378]
mov ecx, 0xa
add eax, 0x128
rep movsd dword es:[edi], dword [esi]
jne 0x10085a75
movss xmm0, dword [0x10187150]
movaps xmm1, xmmword [esp + 0x30]
minss xmm0, xmm1
cmpltss xmm1, dword [0x101b35e0]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
shl eax, 7
lea ecx, [edi + edi*2]
imul esi, edi, 0x378
andnps xmm1, xmm0
lea eax, [esp + eax + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
imul edx, eax, 0x4b0
lea ecx, [edx + ecx*8 + 0x102b08d0]
imul edx, eax, 0x190
lea eax, [edx + edi*8 + 0x102b1230]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + ecx + 0xa40]
mov ecx, dword [esp + 0x20]
lea esi, [eax + esi + 0x8cb0]
lea ecx, [eax + ecx + 0x1b050]
mov dword [esp + 0x18], ecx
sub esp, 0x20
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], esi
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], edx
movss dword [esp + 0x18], xmm1
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call dword [esi + 0x20ba8]
movss xmm6, dword [0x10187150]
mov edx, edi
add esp, 0x20
inc edx
add ebx, 0x378
mov edi, dword [esp + 0x10]
cmp edx, dword [esp + 0x28]
jl 0x100859fd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax*4 + 0x101b3b1c]
mov eax, edx
cmp edx, ecx
jge 0x10085c3d
mov edx, eax
imul ebx, eax, 0x170
mov dword [esp + 0x20], ecx
sub ecx, eax
add eax, edi
shl edx, 8
add ebx, 0x9e0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], eax
movsx eax, byte [eax]
mov ecx, 0x1c
mov dword [esp + 0x18], eax
lea eax, [esi + ebx]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x30]
lea esi, [eax + ebx + 0x100]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, 0x100
lea eax, [esi + ebx + 0x70]
lea ecx, [esi + edx + 0x15550]
push edi
push ecx
push eax
mov edi, edx
call fcn.101613e0
add esp, 0xc
mov eax, dword [esp + 0x18]
lea ecx, [esi + edi + 0x1b050]
shl eax, 7
lea eax, [esp + eax + 0x80]
push 0x20
push eax
push dword [esp + 0x38]
push ecx
call dword [esi + 0x20b98]
mov edx, edi
add esp, 0x10
mov eax, dword [esp + 0xc]
add edx, 0x100
add ebx, 0x170
inc eax
dec dword [esp + 0x1c]
jne 0x10085bab
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jge 0x10085cf3
mov edx, dword [esp + 0x24]
mov ecx, eax
imul ebx, eax, 0x170
add edi, eax
shl ecx, 8
mov dword [esp + 0xc], ecx
sub edx, eax
mov dword [esp + 0x18], edx
movsx eax, byte [edi]
mov dword [esp + 0x10], edi
lea edi, [esi + ebx + 0x9e0]
mov ecx, 0x1c
mov edx, 0x100
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
lea esi, [eax + ebx + 0xae0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0xc]
lea eax, [esi + ebx + 0xa50]
lea ecx, [esi + edi + 0x15550]
push edx
push ecx
push eax
call fcn.101613e0
add esp, 0xc
mov eax, dword [esp + 0x30]
lea ecx, [esi + ebx + 0xa48]
lea edx, [esi + edi + 0x1b050]
shl eax, 7
lea eax, [esp + eax + 0x80]
push 0x20
push eax
push ecx
push edx
call dword [esi + 0x20b98]
add esp, 0x10
add edi, 0x100
add ebx, 0x170
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x10]
inc edi
dec dword [esp + 0x18]
jne 0x10085c62
lea eax, [esi + 0x14230]
cmp dword [esp + 0x14], 0
mov ecx, 0x101b3ac3
lea edx, [esi + 0x13bd0]
lea edi, [esi + 0x14ef0]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1180]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x236e]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x22c4]
mov dword [esp + 0x70], eax
mov eax, 0x101b3a68
cmovne ecx, eax
cmp dword [esi + 0x18], 3
mov eax, 0x102b1550
mov dword [esp + 0x6c], ecx
mov ecx, 0x102b2c50
cmovl ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x68], ecx
lea ecx, [esi + 0x14890]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x10085e39
imul edi, eax, 0x88
mov ebx, 0x88
lea eax, [esi + edi + 0x13bd0]
push ebx
push eax
push edx
call fcn.101613e0
add esp, 0xc
lea eax, [esi + 0x13f00]
lea ecx, [esi + edi + 0x13f00]
push ebx
push ecx
push eax
call fcn.101613e0
add esp, 0xc
lea eax, [esi + edi + 0x14230]
push ebx
push eax
push dword [esp + 0x18]
call fcn.101613e0
add esp, 0xc
lea eax, [esi + 0x14560]
lea ecx, [esi + edi + 0x14560]
push ebx
push ecx
push eax
call fcn.101613e0
add esp, 0xc
lea eax, [esi + edi + 0x14890]
push ebx
push eax
push dword [esp + 0x38]
call fcn.101613e0
add esp, 0xc
lea eax, [esi + 0x14bc0]
lea ecx, [esi + edi + 0x14bc0]
push ebx
push ecx
push eax
call fcn.101613e0
add esp, 0xc
lea eax, [esi + edi + 0x14ef0]
push ebx
push eax
push dword [esp + 0x14]
call fcn.101613e0
add esp, 0xc
lea eax, [esi + 0x15220]
lea ecx, [esi + edi + 0x15220]
push ebx
push ecx
push eax
call fcn.101613e0
add esp, 0xc
cmp dword [esp + 0x14], 0
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x2c]
lea edx, [esi + 0x4c]
je 0x10085f18
xor ebx, ebx
lea ecx, [esp + 0x7c]
inc ebx
push ebx
push edi
push eax
call fcn.100874a5
add esp, 0xc
lea edx, [esi + 0xf6]
lea ecx, [esp + 0x78]
push ebx
push dword [esi + 0x2c]
push dword [esi + 0x1c]
call fcn.100874a5
add esp, 0xc
cmp dword [esi + 0x30], 0
je 0x10085eb2
xor edi, edi
lea edx, [esi + 0x1a0]
lea ecx, [esp + 0x74]
push edi
push dword [esi + 0x2c]
push dword [esi + 0x10]
call fcn.100874a5
add esp, 0xc
lea edx, [esi + 0x24a]
lea ecx, [esp + 0x70]
push edi
push dword [esi + 0x2c]
push dword [esi + 0x10]
call fcn.100874a5
add esp, 0xc
cmp dword [esi + 0x2f8], 0
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
jne 0x1008601c
mov ecx, dword [esp + 0x18]
call fcn.10087767
lea ecx, [esi + 0x13f00]
call fcn.10087767
mov ecx, ebx
call fcn.10087767
lea ecx, [esi + 0x14560]
call fcn.10087767
mov ecx, dword [esp + 0x30]
call fcn.10087767
lea ecx, [esi + 0x14bc0]
call fcn.10087767
mov ecx, edi
call fcn.10087767
lea ecx, [esi + 0x15220]
call fcn.10087767
jmp 0x10085fde
xor ebx, ebx
lea ecx, [esp + 0x7c]
inc ebx
push ebx
push edi
push eax
call fcn.1008781a
add esp, 0xc
lea edx, [esi + 0xf6]
lea ecx, [esp + 0x78]
push ebx
push dword [esi + 0x2c]
push dword [esi + 0x1c]
call fcn.1008781a
add esp, 0xc
cmp dword [esi + 0x30], 0
je 0x10085f7d
xor edi, edi
lea edx, [esi + 0x1a0]
lea ecx, [esp + 0x74]
push edi
push dword [esi + 0x2c]
push dword [esi + 0x10]
call fcn.1008781a
add esp, 0xc
lea edx, [esi + 0x24a]
lea ecx, [esp + 0x70]
push edi
push dword [esi + 0x2c]
push dword [esi + 0x10]
call fcn.1008781a
add esp, 0xc
cmp dword [esi + 0x2f8], 0
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x1008601c
mov ecx, dword [esp + 0x18]
call fcn.10087a63
lea ecx, [esi + 0x13f00]
call fcn.10087a63
mov ecx, ebx
call fcn.10087a63
lea ecx, [esi + 0x14560]
call fcn.10087a63
mov ecx, dword [esp + 0x30]
call fcn.10087a63
lea ecx, [esi + 0x14bc0]
call fcn.10087a63
mov ecx, edi
call fcn.10087a63
lea ecx, [esi + 0x15220]
call fcn.10087a63
xor eax, eax
mov dword [esi + 0x20b54], eax
mov dword [esi + 0x20b50], eax
mov dword [esi + 0x20b5c], eax
mov dword [esi + 0x20b58], eax
mov byte [esi + 0x20b60], al
mov dword [esi + 0x20b76], eax
mov dword [esi + 0x20b72], eax
mov byte [esi + 0x20b82], al
mov dword [esi + 0x20b7e], eax
mov dword [esi + 0x20b7a], eax
mov eax, dword [esi + 0x2c]
test eax, eax
jle 0x10086492
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
lea ecx, [ecx + 0x152a8]
lea esi, [edx + 0x15558]
xor edx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], esi
cmp dword [esp + 0x14], 1
lea ecx, [edx + 1]
mov dword [esp + 0x20], ecx
ja 0x10086468
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], edx
xor esi, esi
mov ebx, dword [eax*4 + 0x101b3b0c]
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 0x30]
lea edx, [eax + eax*2]
shl edx, 3
mov dword [esp + 0xc], ecx
sub edx, eax
add edx, 7
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
movsx eax, byte [eax + esi]
movsx edi, byte [ecx + esi]
add eax, edx
shl edi, 4
shl eax, 7
add eax, dword [esp + 0x68]
cmp dword [esp + 0xc], 0
movss xmm3, dword [edi + eax]
movss xmm2, dword [edi + eax + 4]
movss xmm0, dword [edi + eax + 8]
movss xmm1, dword [edi + eax + 0xc]
je 0x100861f1
mov eax, dword [esp + 0x14]
cmp esi, dword [eax*4 + 0x101b3b24]
jge 0x100861f1
mov edi, dword [esp + 0x54]
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov ebx, dword [esp + 0x50]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x30], xmm2
movsx eax, byte [ecx + esi + 0x20b50]
movsx edi, byte [edi + esi]
movsx ebx, byte [ebx + esi]
lea eax, [edi + eax*8]
movsx edi, byte [ecx + esi + 0x20b72]
movss xmm6, dword [eax*4 + 0x102b4350]
movss xmm0, dword [eax*4 + 0x102b4b50]
and al, 0x3f
lea ebx, [ebx + edi*8]
movss dword [esp + 0x18], xmm6
movss xmm4, dword [ebx*4 + 0x102b4350]
movss xmm7, dword [ebx*4 + 0x102b4b50]
movaps xmm5, xmm0
mov byte [ecx + esi + 0x20b50], al
mov eax, dword [esp + 0x1c]
and bl, 0x3f
movss xmm2, dword [esp + 0x18]
mov byte [ecx + esi + 0x20b72], bl
mov ebx, edx
mov edx, dword [esp + 0x64]
mulss xmm6, xmm4
mulss xmm5, xmm7
mulss xmm4, xmm0
mulss xmm7, xmm2
addss xmm5, xmm6
movaps xmm6, xmm3
mulss xmm3, xmm2
subss xmm4, xmm7
movss xmm7, dword [esp + 0x10]
mulss xmm6, xmm0
mulss xmm0, dword [esp + 0x10]
movss dword [eax + esi*4 - 0x1320], xmm6
mulss xmm7, xmm2
movss xmm2, dword [esp + 0x30]
movss dword [esp + 0x10], xmm7
movaps xmm7, xmm2
mulss xmm2, xmm5
mulss xmm7, xmm4
mulss xmm4, xmm1
mulss xmm1, xmm5
movss dword [eax + esi*4 - 0xcc0], xmm7
movss dword [eax + esi*4 - 0x660], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [eax + esi*4], xmm4
mov eax, dword [esp + 0x1c]
movss dword [eax + esi*4 - 0x1650], xmm3
movss dword [eax + esi*4 - 0xff0], xmm2
movss dword [eax + esi*4 - 0x990], xmm0
movss dword [eax + esi*4 - 0x330], xmm1
inc esi
cmp esi, ebx
jl 0x100860a3
mov eax, dword [esp + 0x60]
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x30], eax
jmp 0x10086243
mov esi, dword [ebp + 0xc]
add dword [esp + 0x30], 0x100
mov eax, dword [esi + 0x30]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x48]
movss xmm0, dword [0x10187150]
mov eax, dword [esi + ecx*4 + 0x34]
mov edx, dword [esi + ecx*4 + 0x38]
sub edx, eax
mov dword [esp + 0x18], eax
mov eax, 1
cmovne eax, edx
mov dword [esp + 0x10], edx
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, dword [esp + 0x6c]
divss xmm0, xmm2
movsx ebx, byte [eax + edi]
imul eax, ecx, 0x88
mov ecx, dword [esp + 0xc]
add eax, esi
mov edx, dword [eax + ebx*4 + 0x13bd0]
test ecx, ecx
mov dword [esp + 0x22a0], edx
movd xmm1, edx
mov edx, dword [eax + ebx*4 + 0x14230]
mov dword [esp + 0x22a4], edx
movd xmm3, edx
mov edx, dword [eax + ebx*4 + 0x14890]
punpckldq xmm1, xmm3
mov dword [esp + 0x22a8], edx
movd xmm4, edx
mov edx, dword [eax + ebx*4 + 0x14ef0]
movd xmm5, edx
mov dword [esp + 0x22ac], edx
punpckldq xmm4, xmm5
punpcklqdq xmm1, xmm4
je 0x1008637d
cmp dword [esp + 0x14], 0
lea esi, [edi - 9]
setne dl
sete dh
cmp esi, 5
lea esi, [eax + ebx*4 + 0x13f00]
setb ch
cmp edi, 2
setb cl
test dh, cl
jne 0x10086342
and dl, ch
jne 0x10086342
mov ecx, dword [esi]
mov dword [esp + 0x22b0], ecx
mov ecx, dword [eax + ebx*4 + 0x14560]
mov dword [esp + 0x22b4], ecx
mov ecx, dword [eax + ebx*4 + 0x14bc0]
mov dword [esp + 0x22b8], ecx
mov eax, dword [eax + ebx*4 + 0x15220]
mov dword [esp + 0x22bc], eax
jmp 0x10086379
movss xmm2, dword [esi]
movss xmm3, dword [eax + ebx*4 + 0x14560]
movss xmm4, dword [eax + ebx*4 + 0x15220]
unpcklps xmm2, xmm3
movss xmm3, dword [eax + ebx*4 + 0x14bc0]
unpcklps xmm3, xmm4
movlhps xmm2, xmm3
xorps xmm2, xmmword [0x10187140]
movaps xmmword [esp + 0x22b0], xmm2
mov ecx, dword [esp + 0xc]
imul eax, dword [esp + 0x20], 0x88
shufps xmm0, xmm0, 0
add eax, dword [ebp + 0xc]
test ecx, ecx
movss xmm2, dword [eax + ebx*4 + 0x13bd0]
movss xmm3, dword [eax + ebx*4 + 0x14230]
movss xmm4, dword [eax + ebx*4 + 0x14ef0]
unpcklps xmm2, xmm3
movss xmm3, dword [eax + ebx*4 + 0x14890]
unpcklps xmm3, xmm4
movlhps xmm2, xmm3
subps xmm2, xmm1
mulps xmm2, xmm0
movaps xmmword [esp + 0x2280], xmm2
je 0x1008640b
movss xmm1, dword [eax + ebx*4 + 0x13f00]
movss xmm2, dword [eax + ebx*4 + 0x14560]
movss xmm3, dword [eax + ebx*4 + 0x15220]
unpcklps xmm1, xmm2
movss xmm2, dword [eax + ebx*4 + 0x14bc0]
unpcklps xmm2, xmm3
movlhps xmm1, xmm2
subps xmm1, xmmword [esp + 0x22b0]
mulps xmm0, xmm1
movaps xmmword [esp + 0x2290], xmm0
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x10086457
mov esi, edi
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
setne al
lea ecx, [edx + edi*8]
lea edx, [edx + edi*8 + 0x5b00]
mov edi, esi
mov dword [esp + 0xc], ecx
push ebx
lea ebx, [esp + 0x2284]
push ebx
lea ebx, [esp + 0x22a8]
push ebx
push edx
push dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
call dword [ecx + eax*4 + 0x20bac]
add esp, 0x14
inc edi
cmp edi, dword [esp + 0x24]
jl 0x10086231
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x20]
add dword [esp + 0x1c], 0x88
add dword [esp + 0x50], 0x22
add dword [esp + 0x54], 0x22
add dword [esp + 0x28], 0x22
add dword [esp + 0x2c], 0x22
cmp ecx, eax
mov edx, ecx
jl 0x10086062
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, edi
mov esi, eax
push eax
push dword [esp + 0x50]
call fcn.100864d8
add esp, 8
mov edx, dword [ebp + 0x14]
mov ecx, edi
push esi
push dword [esp + 0x60]
call fcn.100864d8
add esp, 8
mov ecx, dword [esp + 0x2418]
xor ecx, ebp
call fcn.1015e65c
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret