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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x106c15c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
push esi
mov esi, dword [0x106c40f4]
push edi
push 0
mov dword [ebp - 0x104], eax
mov eax, dword [ebx + 0x10]
push 0
push ecx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], esi
call fcn.10188c20
push eax
call fcn.101871a0
mov ecx, eax
add esp, 0x10
mov edi, ecx
mov dword [ebp - 0xec], ecx
test edi, edi
mov dword [ebp - 0xe0], edi
sete al
mov byte [ebp - 0xb1], al
mov byte [ebp - 0xb8], al
test ecx, ecx
jne 0x10180d43
push dword [ebp - 0xbc]
push dword [ebp - 0x100]
call fcn.101853d0
add esp, 8
mov dword [ebp - 0xe0], eax
mov edi, eax
mov edx, dword [ebp - 0xbc]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10180d62
or edx, 6
mov dword [ebp - 0xbc], edx
cmp dword [esi + 0x3e14], 0
mov ecx, dword [esi + 0x3dd8]
mov eax, dword [edi + 0x24c]
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], eax
jne 0x10180d90
cmp byte [esi + 0x3de5], 0
je 0x10180d90
mov al, 1
jmp 0x10180d92
xor al, al
mov byte [edi + 0xba], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0xe4]
cmp ecx, eax
setl ch
mov byte [ebp - 0xfc], ch
test edx, 0x4000000
je 0x10180df2
mov eax, dword [esi + 0x47a4]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax + 0x47a0]
mov eax, dword [edi + 0xc8]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xbc]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xfc], ch
mov byte [edi + 0xb8], ch
test ch, ch
je 0x10180e11
or byte [edi + 0xd8], 8
or byte [edi + 0xd9], 8
or byte [edi + 0xda], 8
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xe8]
je 0x10180e77
push edx
push dword [ebp - 0xb8]
push edi
call fcn.101964a0
mov eax, dword [ebp - 0xe8]
add esp, 0xc
mov edx, dword [ebp - 0xbc]
mov dword [edi + 0x24c], eax
xor eax, eax
mov dword [edi + 0x14], edx
movsd xmm0, qword [esi + 0x3dd0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xc2], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x3e2c]
inc dword [esi + 0x3e2c]
mov word [edi + 0xc4], ax
jmp 0x10180e80
mov edx, dword [edi + 0x14]
mov dword [ebp - 0xbc], edx
mov eax, dword [esi + 0x3e14]
test eax, eax
je 0x10180e97
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e1c]
mov eax, dword [ecx + eax - 0x54]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xd0], eax
cmp ecx, dword [ebp - 0xe8]
je 0x10180ec1
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0xd4], ecx
jmp 0x10180ecd
mov eax, dword [edi + 0x30c]
mov dword [ebp - 0xd4], eax
cmp dword [edi + 0xec], 0
lea eax, [edi + 0xec]
jne 0x10180f02
cmp dword [eax + 4], 0
jne 0x10180ef1
push 8
mov ecx, eax
call fcn.10197b20
lea eax, [edi + 0xec]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x10]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xec]
push 0x3c
lea eax, [ebp - 0xac]
mov dword [esi + 0x3e38], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x106c40f4]
lea edx, [esi + 0x3e14]
mov eax, dword [esi + 0x46ec]
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [ecx + 0x3e38]
movups xmm0, xmmword [esi + 0x46b4]
mov word [ebp - 0x60], 0
mov dword [ebp - 0xb0], edi
movzx eax, word [eax + 0xec]
mov word [ebp - 0x70], ax
movzx eax, word [ecx + 0x4750]
mov word [ebp - 0x6e], ax
movzx eax, word [ecx + 0x475c]
mov word [ebp - 0x6c], ax
movzx eax, word [ecx + 0x4768]
mov word [ebp - 0x6a], ax
movzx eax, word [ecx + 0x4774]
mov word [ebp - 0x68], ax
movzx eax, word [ecx + 0x478c]
movups xmmword [ebp - 0xac], xmm0
mov word [ebp - 0x66], ax
movups xmm0, xmmword [esi + 0x46c4]
movzx eax, word [ecx + 0x4780]
mov word [ebp - 0x64], ax
movzx eax, word [ecx + 0x47a4]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x62], ax
movups xmm0, xmmword [esi + 0x46d4]
movzx eax, word [ecx + 0x59f8]
mov ecx, dword [edx]
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x60], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x46e4]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0xb8], eax
cmp ecx, eax
jne 0x10181022
inc ecx
test eax, eax
je 0x1018100a
cdq
sub eax, edx
lea edx, [esi + 0x3e14]
sar eax, 1
add eax, dword [ebp - 0xb8]
jmp 0x1018100f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10197de0
lea edx, [esi + 0x3e14]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [ebp - 0xb0]
mov eax, dword [ebp - 0x60]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [edx]
mov ecx, dword [ebp - 0xbc]
test ecx, 0x10000000
je 0x10181074
inc dword [esi + 0x47b0]
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xe8]
je 0x10181133
mov edx, dword [ebp - 0xd4]
mov dword [edi + 0x30c], edx
mov dword [edi + 0x320], edi
mov dword [edi + 0x31c], edi
mov dword [edi + 0x318], edi
mov dword [edi + 0x314], edi
test edx, edx
je 0x101810f8
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x101810c8
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test ecx, 0x4000000
je 0x101810dc
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x101810f8
test ecx, 0x5000000
je 0x101810f8
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 0x14], 0x800000
je 0x10181127
mov ecx, edi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ecx + 0x30c]
mov ecx, eax
mov dword [edi + 0x320], eax
test dword [ecx + 0x14], 0x800000
jne 0x10181110
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x310], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x106c40f4]
mov ecx, dword [eax + 0x4778]
lea edx, [eax + 0x4774]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], edx
cmp dword [edx], ecx
jne 0x10181193
test ecx, ecx
je 0x10181172
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc0]
sar eax, 1
add eax, ecx
jmp 0x10181177
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10197b20
mov esi, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0xc8]
mov dword [eax + ecx*4], edi
mov eax, edi
inc dword [edx]
test dword [ebp - 0xbc], 0x4000000
mov ecx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xe0]
mov dword [ecx + 0x4694], eax
mov eax, dword [esi + 0x4694]
mov dword [edi + 0x350], eax
mov dword [esi + 0x3e38], 0
je 0x10181218
mov eax, dword [esi + 0x47a4]
lea ecx, [esi + 0x47a4]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x47a0]
mov dword [eax + edx*8 + 4], edi
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0xd0]
push esi
mov eax, dword [eax + 0x150]
mov dword [esi + 0xc], eax
call fcn.101978f0
mov eax, dword [esi]
mov esi, dword [ebp - 0xc4]
mov dword [edi + 0xc8], eax
xor dl, dl
mov byte [ebp - 0xb4], 0
test byte [esi + 0x46f0], 1
mov byte [ebp - 0xb2], dl
mov byte [ebp - 0xb3], dl
je 0x101812da
mov dl, byte [edi + 0xd8]
mov ecx, dword [esi + 0x46f4]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xb4]
test ecx, eax
je 0x101812c9
movss xmm1, dword [esi + 0x470c]
movss xmm0, dword [esi + 0x4708]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x102ed2b0]
jbe 0x101812c9
mov eax, dword [esi + 0x4700]
mov ecx, dword [esi + 0x4704]
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [esi + 0x4708]
mov ecx, dword [esi + 0x470c]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [edi + 0xd8]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xd8], ecx
jmp 0x101812da
push ecx
lea eax, [esi + 0x4700]
push eax
push edi
call fcn.10193fc0
add esp, 0xc
test byte [esi + 0x46f0], 2
xorps xmm1, xmm1
je 0x10181348
movsx eax, byte [edi + 0xd9]
mov ecx, dword [esi + 0x46f8]
and eax, ecx
je 0x1018130d
movss xmm0, dword [esi + 0x4710]
comiss xmm0, xmm1
jbe 0x1018130d
mov byte [ebp - 0xb2], 1
jmp 0x10181319
xor dl, dl
mov byte [ebp - 0xb2], dl
test eax, eax
je 0x1018132d
movss xmm0, dword [esi + 0x4714]
comiss xmm0, xmm1
mov byte [ebp - 0xb3], 1
ja 0x10181334
mov byte [ebp - 0xb3], 0
push ecx
lea eax, [esi + 0x4710]
push eax
push edi
call fcn.10194120
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x46f0], 0x80
je 0x1018138f
movss xmm0, dword [esi + 0x4720]
comiss xmm0, xmm1
jb 0x10181370
movss dword [edi + 0x90], xmm0
mov dword [edi + 0x98], 0
movss xmm0, dword [esi + 0x4724]
comiss xmm0, xmm1
jb 0x1018138f
movss dword [edi + 0x94], xmm0
mov dword [edi + 0x9c], 0
test byte [esi + 0x46f0], 4
je 0x101813ac
mov eax, dword [esi + 0x4718]
mov ecx, dword [esi + 0x471c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
jmp 0x101813c8
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xe8]
je 0x101813c8
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
test byte [esi + 0x46f0], 8
je 0x10181415
mov ecx, dword [esi + 0x46fc]
mov dl, byte [esi + 0x4728]
test ecx, ecx
je 0x101813ec
movsx eax, byte [edi + 0xda]
test ecx, eax
je 0x10181415
movzx ecx, byte [edi + 0xda]
mov eax, dword [edi + 0xd8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xb5], dl
mov dword [edi + 0xd8], ecx
test byte [esi + 0x46f0], 0x20
je 0x10181427
push edi
call fcn.10187390
add esp, 4
cmp byte [edi + 0xb8], 0
je 0x10181445
and byte [edi + 0xd8], 0xf7
and byte [edi + 0xd9], 0xf7
and byte [edi + 0xda], 0xf7
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xe8]
je 0x1018309d
mov eax, dword [ebp - 0xbc]
and eax, 0x3000000
mov byte [edi + 0xb2], 1
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0xd0], eax
mov al, byte [edi + 0xd5]
mov byte [ebp - 0xc9], al
setne al
mov byte [edi + 0xbc], al
mov dword [edi + 0x224], 0xff7fffff
mov dword [edi + 0x228], 0xff7fffff
mov dword [edi + 0x22c], 0x7f7fffff
mov dword [edi + 0x230], 0x7f7fffff
mov eax, dword [edi + 0xf0]
cmp eax, 1
jge 0x101814f1
test eax, eax
je 0x101814d4
cdq
sub eax, edx
lea edx, [edi + 0xec]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x101814df
mov ecx, 8
lea edx, [edi + 0xec]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10197b20
mov dword [edi + 0xec], 1
mov ecx, dword [edi + 0x278]
call fcn.101a02f0
cmp byte [edi + 0x35c], 0
mov dword [edi + 0x19c], 0xffffffff
je 0x10181604
mov ecx, dword [edi + 0x278]
push dword [edi + 0x354]
add ecx, 0xc
mov byte [edi + 0x35c], 0
call fcn.10197aa0
mov eax, dword [edi + 0x278]
mov ecx, dword [edi + 0x358]
add eax, 0x18
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb8], ecx
cmp ecx, dword [eax + 4]
jle 0x101815f0
mov eax, dword [0x106c40f4]
test eax, eax
je 0x1018156b
inc dword [eax + 0xb0]
push dword [0x106c40f8]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x106bfd34]
mov dword [ebp - 0xc8], eax
add esp, 8
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax + 8]
test edx, edx
je 0x101815de
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0xc8]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xc0]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x101815c8
mov eax, dword [0x106c40f4]
test eax, eax
je 0x101815c8
dec dword [eax + 0xb0]
push dword [0x106c40f8]
push ecx
call dword [0x106bfd38]
mov eax, dword [ebp - 0xc0]
add esp, 8
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 4], ecx
mov dword [edi + 0x358], 0
mov dword [edi + 0x354], 0
cmp dword [esi + 0x4924], 0
je 0x1018171d
test dword [edi + 0x14], 0x80000
jne 0x1018171d
cmp dword [ebp - 0xec], 0
je 0x1018171d
mov eax, dword [edi + 0xc]
mov ecx, eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x100]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10181660
test dl, dl
je 0x1018165c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10181660
add eax, 2
add ecx, 2
test dl, dl
jne 0x10181640
xor eax, eax
jmp 0x10181665
sbb eax, eax
or eax, 1
test eax, eax
je 0x1018171d
mov ecx, dword [ebp - 0x100]
mov edx, dword [edi + 0x74]
mov dword [ebp - 0xd8], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10181685
sub ecx, dword [ebp - 0xb8]
lea eax, [ecx + 1]
mov dword [ebp - 0xc0], eax
cmp edx, eax
mov eax, dword [ebp - 0xc8]
jae 0x101816fb
test eax, eax
je 0x101816b9
mov ecx, dword [0x106c40f4]
test ecx, ecx
je 0x101816b9
dec dword [ecx + 0xb0]
push dword [0x106c40f8]
push eax
call dword [0x106bfd38]
mov eax, dword [0x106c40f4]
add esp, 8
test eax, eax
je 0x101816d8
inc dword [eax + 0xb0]
push dword [0x106c40f8]
push dword [ebp - 0xc0]
call dword [0x106bfd34]
mov ecx, dword [ebp - 0xc0]
add esp, 8
mov dword [ebp - 0xd8], ecx
jmp 0x10181701
mov ecx, dword [ebp - 0xc0]
push ecx
push dword [ebp - 0x100]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 0xc], eax
add esp, 0xc
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0x74], eax
lea eax, [edi + 0x3c]
push eax
lea eax, [edi + 0x34]
push eax
push edi
call fcn.10184380
mov al, byte [edi + 0xd4]
add esp, 0xc
test al, al
jle 0x10181740
dec al
mov byte [edi + 0xd4], al
mov al, byte [edi + 0xd5]
test al, al
jle 0x10181752
dec al
mov byte [edi + 0xd5], al
mov al, byte [edi + 0xd6]
test al, al
jle 0x10181764
dec al
mov byte [edi + 0xd6], al
cmp dword [ebp - 0xec], 0
mov al, byte [ebp - 0xb2]
mov cl, byte [ebp - 0xb3]
jne 0x10181788
test al, al
je 0x10181781
test cl, cl
jne 0x10181788
mov byte [edi + 0xd5], 1
cmp byte [ebp - 0xfc], 0
mov edx, dword [ebp - 0xbc]
je 0x101817eb
test edx, 0x6000000
je 0x101817eb
mov byte [edi + 0xd5], 1
test dl, 0x40
je 0x101817eb
test al, al
jne 0x101817bd
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
test cl, cl
jne 0x101817cf
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov eax, dword [0x106c40f4]
mov eax, dword [eax + 0x47bc]
mov eax, dword [eax]
mov dword [edi + 0x18], eax
mov ecx, dword [0x106c40f4]
mov dword [ebp - 0xc8], eax
mov dword [ecx + 0x3e38], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x10181826
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a24]
jmp 0x10181828
xor eax, eax
mov dword [ecx + 0x4a08], eax
mov eax, dword [0x106c40f4]
movss xmm0, dword [eax + 0x3bcc]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10181855
mulss xmm0, dword [eax + 0x270]
movss dword [ecx + 0x3bdc], xmm0
movss dword [ecx + 0x3bc8], xmm0
test edx, 0x1000000
je 0x10181877
movss xmm0, dword [esi + 0x37c8]
jmp 0x10181899
test edx, 0x6000000
je 0x10181891
test edx, 0x8000000
jne 0x10181891
movss xmm0, dword [esi + 0x37d0]
jmp 0x10181899
movss xmm0, dword [esi + 0x37ac]
movss dword [edi + 0x58], xmm0
mov eax, dword [esi + 0x37a0]
mov ecx, dword [esi + 0x37a4]
mov dword [edi + 0x4c], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x50], ecx
cmp eax, 0x1000000
jne 0x101818eb
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x101818eb
test edx, 0x400
je 0x101818dc
movss xmm0, dword [esi + 0x37a4]
jmp 0x101818df
xorps xmm0, xmm0
mov dword [edi + 0x4c], 0
movss dword [edi + 0x50], xmm0
movss xmm0, dword [edi + 0x4c]
maxss xmm0, dword [esi + 0x37e4]
maxss xmm0, dword [esi + 0x4748]
movss dword [edi + 0x15c], xmm0
mov eax, dword [esi + 0x474c]
mov dword [edi + 0x160], eax
mov al, byte [ebp - 0xb1]
mov dword [ebp - 0xd8], eax
test dl, 0x21
jne 0x101819b3
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.10194530
cmp dword [esi + 0x3e3c], edi
jne 0x10181975
cmp dword [esi + 0x3e70], 0
jne 0x10181975
cmp dword [esi + 0x3e74], 0
jne 0x10181975
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1018a3e0
add esp, 0xc
test al, al
je 0x10181975
cmp word [esi + 0x3702], 2
jne 0x10181975
mov byte [edi + 0xb6], 1
cmp byte [edi + 0xb6], 0
je 0x101819ba
mov cl, byte [edi + 0xb5]
test cl, cl
push edi
sete al
test cl, cl
mov byte [edi + 0xb5], al
mov ecx, 1
mov eax, dword [ebp - 0xd8]
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0xd8], eax
call fcn.1018b150
add esp, 4
jmp 0x101819ba
mov byte [edi + 0xb5], 0
movss xmm0, dword [edi + 0xa8]
mov edx, dword [edi + 0x14]
movss dword [ebp - 0x108], xmm0
movss xmm0, dword [edi + 0xac]
mov byte [edi + 0xb6], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x64], 0
mov eax, dword [0x106c40f4]
movss dword [ebp - 0xf0], xmm0
test dl, 1
je 0x10181a01
xorps xmm2, xmm2
jmp 0x10181a33
movss xmm0, dword [eax + 0x3bcc]
mov ecx, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10181a23
mulss xmm0, dword [ecx + 0x270]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x10181a77
movss xmm1, dword [eax + 0x3bcc]
mov ecx, dword [edi + 0x30c]
mulss xmm1, dword [edi + 0x270]
test ecx, ecx
je 0x10181a5d
mulss xmm1, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x37d8]
addss xmm1, dword [edi + 0x160]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10181a7a
xorps xmm1, xmm1
lea eax, [edi + 0x3c]
mov dword [edi + 0x68], 0
push eax
addss xmm1, xmm2
mov dword [edi + 0xa8], 0
lea eax, [ebp - 0x110]
mov dword [edi + 0xac], 0
push edi
push eax
movss dword [edi + 0x60], xmm1
call fcn.10184170
add esp, 0xc
test byte [ebp - 0xbc], 0x40
je 0x10181b0b
cmp byte [edi + 0xb5], 0
jne 0x10181b0b
cmp byte [ebp - 0xb2], 0
jne 0x10181ae1
movss xmm0, dword [ebp - 0x110]
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xb3], 0
jne 0x10181bc8
movss xmm0, dword [ebp - 0x10c]
mov eax, 1
movss dword [edi + 0x30], xmm0
mov dword [ebp - 0xd8], eax
jmp 0x10181bc8
mov al, byte [edi + 0xcc]
test al, al
jg 0x10181b22
cmp byte [edi + 0xcd], 0
jle 0x10181bc8
cmp byte [ebp - 0xb2], 0
jne 0x10181b5c
test al, al
jle 0x10181b5c
cmp byte [edi + 0xcf], 0
je 0x10181b47
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [ebp - 0x110]
jmp 0x10181b4f
movss xmm0, dword [ebp - 0x110]
mov al, 1
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0xb1], al
cmp byte [ebp - 0xb3], 0
jne 0x10181b9b
cmp byte [edi + 0xcd], 0
jle 0x10181b9b
cmp byte [edi + 0xcf], 0
je 0x10181b86
movss xmm0, dword [edi + 0x30]
maxss xmm0, dword [ebp - 0x10c]
jmp 0x10181b8e
movss xmm0, dword [ebp - 0x10c]
mov al, 1
movss dword [edi + 0x30], xmm0
mov dword [ebp - 0xd8], eax
cmp byte [edi + 0xb5], 0
jne 0x10181bc8
test dword [edi + 0x14], 0x100
mov ecx, dword [0x106c40f4]
jne 0x10181bc8
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a38]
jb 0x10181bc8
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5a38], eax
lea esi, [edi + 0x2c]
push esi
lea eax, [ebp - 0xf8]
push edi
push eax
call fcn.10184500
add esp, 0xc
cmp byte [edi + 0xb5], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
je 0x10181c21
test dword [ebp - 0xbc], 0x1000000
jne 0x10181c21
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.10194530
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
cmp byte [ebp - 0xfc], 0
mov edx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc4]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
je 0x10181c86
mov eax, edx
mov dword [edi + 0xd0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10181c86
cmp byte [ebp - 0xb4], 0
jne 0x10181c86
mov eax, dword [esi + 0x47a4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47ac]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
test edx, 0x1000000
je 0x10181d3b
mov ecx, dword [ebp - 0xd4]
add ecx, 0x188
mov dword [ebp - 0xc0], ecx
mov ax, word [ecx]
mov word [edi + 0xc2], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x10181cee
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xb8], edx
test eax, eax
je 0x10181cd2
cdq
sub eax, edx
mov edx, dword [ebp - 0xb8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10181cd7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10197b20
mov edx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x190]
mov dword [eax + ecx*4], edi
mov ecx, dword [ebp - 0xd4]
mov al, byte [ebp - 0xb4]
inc dword [ecx + 0x188]
test edx, 0x4000000
jne 0x10181d41
test al, al
jne 0x10181d41
cmp dword [ebp - 0xd0], 0x3000000
je 0x10181d41
mov eax, dword [ecx + 0xf8]
mov ecx, dword [ecx + 0xfc]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov al, byte [ebp - 0xb4]
movss xmm1, dword [edi + 0xdc]
ucomiss xmm1, dword [0x102ed31c]
lahf
test ah, 0x44
jnp 0x10181dad
cmp byte [edi + 0xd5], 0
jne 0x10181dad
movss xmm0, dword [edi + 0xe4]
lea eax, [ebp - 0xf8]
mulss xmm0, dword [edi + 0x24]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [ebp - 0xf8], xmm1
movss xmm1, dword [edi + 0x28]
mulss xmm1, dword [edi + 0xe8]
subss xmm0, xmm1
movss dword [ebp - 0xf4], xmm0
call fcn.10193fc0
add esp, 0xc
jmp 0x10181e04
test edx, 0x10000000
jne 0x10181de1
test edx, 0x4000000
je 0x10181dc9
test al, al
jne 0x10181dc9
cmp byte [ebp - 0xc9], al
jg 0x10181de1
test edx, 0x2000000
je 0x10181e0a
test al, al
jne 0x10181e0a
cmp dword [ebp - 0xd0], 0x3000000
je 0x10181e0a
lea eax, [ebp - 0xf8]
push edi
push eax
call fcn.101868e0
add esp, 8
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
mov edx, dword [ebp - 0xbc]
cmp byte [ebp - 0xb4], 0
mov eax, dword [ebp - 0xc8]
movss xmm3, dword [esi + 0x3858]
movss xmm2, dword [esi + 0x3854]
maxss xmm3, dword [esi + 0x3860]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
maxss xmm2, dword [esi + 0x385c]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [ebp - 0x30], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm7, xmm2
movss dword [ebp - 0x2c], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [ebp - 0x28], xmm5
addss xmm3, dword [eax + 0x18]
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x118], xmm7
movss dword [ebp - 0x120], xmm2
movss dword [ebp - 0x114], xmm6
movss dword [ebp - 0x11c], xmm3
jne 0x10181f53
test edx, 0x1000000
jne 0x10181f53
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x10181f53
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x10181f53
mov eax, dword [0x106c40f4]
movss xmm1, dword [edi + 0x28]
cmp byte [eax + 0x67], 0
je 0x10181f1e
test byte [edi + 0x14], 1
jne 0x10181f1e
movss xmm0, dword [eax + 0x3bcc]
mov ecx, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10181f0e
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x24]
comiss xmm3, xmm0
ja 0x10181f38
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm2, xmm0
ja 0x10181f49
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm3
cvttss2si eax, dword [edi + 0x1c]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x1c], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20], xmm0
test edx, 0x1000000
je 0x10181f87
movss xmm0, dword [esi + 0x37c4]
jmp 0x10181fa7
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10181f9f
movss xmm0, dword [esi + 0x37cc]
jmp 0x10181fa7
movss xmm0, dword [esi + 0x37a8]
xor cl, cl
movss dword [edi + 0x54], xmm0
mov dword [ebp - 0xc8], ecx
cmp byte [ebp - 0xfc], cl
je 0x10182224
test edx, 0x1000
jne 0x10182224
test edx, 0x4000000
je 0x10181fdd
mov byte [ebp - 0xc8], 1
jmp 0x10181ff4
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0xc8], ecx
call fcn.10188520
test eax, eax
je 0x10182224
push eax
push edi
call fcn.1018a690
add esp, 8
test al, al
jne 0x10182224
mov byte [ebp - 0xc8], al
cmp edi, dword [edi + 0x314]
jne 0x10182224
mov edx, dword [0x106c40f4]
mov dword [ebp - 0xdc], edx
mov eax, dword [edx + 0x4798]
test eax, eax
jle 0x10182102
add eax, 0xffffffff
mov dword [ebp - 0xc0], eax
js 0x10182102
mov edx, dword [edx + 0x47a0]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [ebp - 0xb8], edx
mov edx, dword [edx]
test edx, edx
je 0x101820e4
test dword [edx + 0x14], 0x8000000
je 0x101820e4
cmp byte [edx + 0xb2], 0
jne 0x10182088
cmp byte [edx + 0xb3], 0
je 0x101820e4
mov eax, edi
cmp dword [edi + 0x314], edx
je 0x10182102
cmp eax, edx
je 0x10182102
mov eax, dword [eax + 0x310]
test eax, eax
jne 0x10182092
mov eax, dword [edx + 0x310]
mov ecx, dword [eax + 0x314]
test ecx, ecx
je 0x101820de
mov eax, edi
cmp dword [edi + 0x314], ecx
je 0x10182104
nop word [eax + eax]
cmp eax, ecx
je 0x10182104
mov eax, dword [eax + 0x310]
test eax, eax
jne 0x101820c0
mov eax, dword [ecx + 0x310]
mov ecx, dword [eax + 0x314]
test ecx, ecx
jne 0x101820b0
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xb8]
dec eax
sub edx, 0x28
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb8], edx
test eax, eax
jns 0x10182063
xor edx, edx
mov eax, dword [edx + 0x314]
mov ecx, dword [edi + 0x314]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xb8], ecx
mov edx, dword [eax + 0x3df8]
mov eax, dword [eax + 0x3df0]
lea eax, [edx + eax*4]
cmp edx, eax
jae 0x10182140
cmp dword [edx], ecx
je 0x10182140
add edx, 4
cmp edx, eax
jb 0x10182135
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 0x3df8]
sub edx, ecx
mov eax, dword [eax + 0x3df0]
sar edx, 2
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x10182175
mov esi, dword [ebp - 0xc0]
cmp dword [ecx], esi
je 0x1018216f
add ecx, 4
cmp ecx, eax
jb 0x10182164
mov esi, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xdc]
sub ecx, dword [eax + 0x3df8]
sar ecx, 2
mov dword [ebp - 0xf4], ecx
lea eax, [ecx*4]
mov dword [ebp - 0xc0], eax
cmp edx, ecx
jge 0x101821e2
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ecx + 0x3df8]
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0xf4]
sub eax, edx
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [eax + 0x3df8]
mov dword [edx + eax - 4], ecx
jmp 0x10182221
mov esi, dword [ebp - 0xdc]
sub edx, ecx
shl edx, 2
push edx
add eax, dword [esi + 0x3df8]
push eax
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0xc0]
mov eax, esi
mov ecx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xc4]
mov eax, dword [eax + 0x3df8]
mov dword [edx + eax], ecx
add esp, 0xc
movss xmm2, dword [esi + 0x3bc8]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x20], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x54]
xor eax, eax
addss xmm0, dword [0x1022f874]
mulss xmm2, dword [0x1029bba8]
cmp byte [esi + 0x66], al
mulss xmm1, dword [0x102ed2ec]
setne al
mov dword [ebp - 0xb8], 0xffffffff
addss xmm0, xmm2
inc eax
cmp byte [edi + 0xb5], 0
mov dword [ebp - 0xf4], eax
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x101822ae
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x110]
push eax
push edi
call fcn.101965e0
add esp, 0x18
test al, al
je 0x101822ae
mov cl, 1
mov dl, cl
jmp 0x101822ba
mov dl, byte [ebp - 0xb1]
mov ecx, dword [ebp - 0xd8]
cmp byte [edi + 0xb5], 0
mov al, byte [ebp - 0xb8]
mov byte [edi + 0xbd], al
jne 0x10182431
cmp dword [ebp - 0xec], 0
movss xmm0, dword [edi + 0x68]
movss xmm2, dword [edi + 0x1ec]
movss xmm3, dword [edi + 0x1f0]
addss xmm0, dword [edi + 0x60]
subss xmm2, dword [edi + 0x1e4]
subss xmm3, dword [edi + 0x1e8]
movss xmm4, dword [edi + 0x30]
movss xmm5, dword [edi + 0x2c]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0x108]
addss xmm3, dword [ebp - 0xf0]
jne 0x1018232c
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x10182348
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x50]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [edi + 0x34]
addss xmm0, dword [edi + 0x38]
test dl, dl
jne 0x1018234f
movaps xmm5, xmm2
test cl, cl
jne 0x10182356
movaps xmm4, xmm3
mov ecx, dword [ebp - 0xbc]
test ecx, 0x4000
jne 0x10182372
comiss xmm0, xmm4
jbe 0x1018236e
test cl, 8
je 0x10182372
xor al, al
jmp 0x10182374
mov al, 1
mov byte [ebp - 0xb1], al
mov byte [edi + 0xb1], al
test ecx, 0x8000
jne 0x101823c8
mov edx, dword [ebp - 0xc4]
test al, al
je 0x1018239c
movss xmm2, dword [edx + 0x380c]
jmp 0x1018239f
xorps xmm2, xmm2
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x101823bc
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0xb1]
je 0x101823c8
mov byte [edi + 0xb0], 0
xorps xmm1, xmm1
jmp 0x101823f7
mov byte [edi + 0xb0], 1
test al, al
jne 0x101823e9
comiss xmm0, xmm4
jbe 0x101823e1
test cl, 8
jne 0x101823e1
mov al, 1
jmp 0x101823e3
xor al, al
mov byte [edi + 0xb1], al
mov edx, dword [ebp - 0xc4]
movss xmm1, dword [edx + 0x380c]
test al, al
je 0x10182405
movss xmm0, dword [edx + 0x380c]
jmp 0x10182408
xorps xmm0, xmm0
movss dword [edi + 0xa8], xmm0
addss xmm0, dword [edi + 0x64]
movss dword [edi + 0xac], xmm1
movss dword [edi + 0x64], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x68]
movss dword [edi + 0x68], xmm0
jmp 0x1018243d
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xbc]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10182464
cmp dword [ebp - 0xd0], 0x3000000
je 0x10182464
mov eax, dword [ebp - 0xd4]
add eax, 0x224
jmp 0x10182467
lea eax, [ebp - 0x30]
test byte [edi + 0x14], 1
movups xmm0, xmmword [eax]
movss xmm6, dword [edi + 0x1c]
movss xmm3, dword [edi + 0x20]
movaps xmm4, xmm6
addss xmm4, dword [edi + 0x24]
movaps xmm5, xmm3
addss xmm5, dword [edi + 0x28]
movups xmmword [ebp - 0x40], xmm0
je 0x10182493
xorps xmm2, xmm2
jmp 0x101824cf
mov eax, dword [0x106c40f4]
movss xmm0, dword [eax + 0x3bcc]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x101824ba
mulss xmm0, dword [eax + 0x270]
mov eax, dword [0x106c40f4]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x20]
addss xmm2, xmm3
movaps xmm1, xmm6
movss dword [ebp - 0x4c], xmm0
addss xmm1, dword [edi + 0x2c]
movss dword [ebp - 0x50], xmm6
mov eax, ecx
and eax, 0x401
movss dword [ebp - 0x44], xmm2
movss dword [ebp - 0x48], xmm1
movss dword [edi + 0x1d4], xmm6
movss dword [edi + 0x1d8], xmm3
movss dword [edi + 0x1dc], xmm4
movss dword [edi + 0x1e0], xmm5
movss xmm0, dword [edi + 0x1d4]
movss xmm4, dword [ebp - 0x40]
movss xmm5, dword [ebp - 0x3c]
maxss xmm0, xmm4
maxss xmm3, xmm5
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm3
movss xmm0, dword [edi + 0x1e0]
movss xmm1, dword [edi + 0x1dc]
minss xmm0, dword [ebp - 0x34]
minss xmm1, dword [ebp - 0x38]
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1dc], xmm1
movss xmm6, dword [edi + 0x1c]
movss xmm7, dword [edi + 0x20]
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x5c]
addss xmm6, dword [edi + 0x24]
movss dword [ebp - 0xf0], xmm0
movss dword [edi + 0x1e4], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x28]
addss xmm0, dword [edi + 0x60]
subss xmm6, dword [edi + 0x64]
subss xmm7, dword [edi + 0x68]
movss dword [ebp - 0x108], xmm0
movss dword [edi + 0x1e8], xmm0
movss dword [edi + 0x1ec], xmm6
movss dword [edi + 0x1f0], xmm7
cmp eax, 1
jne 0x101825d9
movss xmm0, dword [edi + 0x58]
jmp 0x101825e1
movss xmm0, dword [edx + 0x37e0]
movss xmm2, dword [0x1022f840]
movss dword [ebp - 0xb8], xmm0
addss xmm6, xmm2
movss xmm0, dword [edi + 0x4c]
addss xmm7, xmm2
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x34]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xf0]
addss xmm0, xmm2
subss xmm7, dword [edi + 0x58]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x58]
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
movss xmm0, dword [ebp - 0x108]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xb8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm6
movss dword [edi + 0x1f8], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1fc], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x1f8]
comiss xmm5, xmm0
jbe 0x101826a2
movaps xmm1, xmm5
jmp 0x101826a9
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm6, dword [ebp - 0x38]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x101826bf
movaps xmm0, xmm4
jmp 0x101826c6
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1f4], xmm0
movss dword [edi + 0x1f8], xmm1
movss xmm0, dword [edi + 0x200]
comiss xmm5, xmm0
ja 0x101826ea
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1fc]
comiss xmm4, xmm0
ja 0x101826fe
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [edi + 0x1fc], xmm4
xorps xmm2, xmm2
movss dword [edi + 0x200], xmm5
movss xmm0, dword [edi + 0x24]
comiss xmm0, xmm2
jbe 0x10182731
test dword [ebp - 0xbc], 0x2000040
jne 0x10182731
mulss xmm0, dword [0x102ed2cc]
jmp 0x10182741
movss xmm0, dword [edx + 0x3bc8]
mulss xmm0, dword [0x1029bc44]
cvttss2si eax, xmm0
push edi
movd xmm0, eax
lea eax, [ebp - 0x110]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x254], xmm0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x1ec]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e4]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x50]
addss xmm1, xmm1
movss dword [edi + 0x88], xmm0
movss xmm0, dword [edi + 0x1f0]
subss xmm0, dword [edi + 0x1e8]
addss xmm1, dword [edi + 0x38]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x8c], xmm0
call fcn.10183eb0
mov ecx, dword [edi + 0x278]
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xc4]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
mov dword [edi + 0x90], 0x7f7fffff
mov dword [edi + 0x94], 0x7f7fffff
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov eax, dword [eax + 0x3bc4]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.1019e220
mov ecx, dword [0x106c40f4]
push 0
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0xb4], 1
lea eax, [ebp - 0x38]
mov edi, dword [ecx + 0x3e38]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [edi + 0x278]
call fcn.1019e0f0
mov eax, dword [edi + 0x278]
mov byte [ebp - 0xb2], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x224], eax
mov eax, dword [ebp - 0xbc]
movss dword [edi + 0x228], xmm0
and eax, 0x5000000
movss dword [edi + 0x22c], xmm1
movss dword [edi + 0x230], xmm2
cmp eax, 0x1000000
jne 0x101829a7
cmp dword [ebp - 0xd0], 0x3000000
je 0x101829a7
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x188]
cmp ecx, 2
jl 0x1018295b
mov eax, dword [eax + 0x190]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1018295b
movss xmm1, dword [eax + 0x1c]
lea ecx, [ebp - 0x120]
movss xmm0, dword [eax + 0x20]
mov edi, dword [ebp - 0xe0]
movss dword [ebp - 0x120], xmm1
addss xmm1, dword [eax + 0x24]
movss dword [ebp - 0x11c], xmm0
addss xmm0, dword [eax + 0x28]
lea eax, [ebp - 0x30]
push eax
movss dword [ebp - 0x118], xmm1
movss xmm1, dword [edi + 0x1c]
movss dword [ebp - 0x114], xmm0
movss xmm0, dword [edi + 0x20]
movss dword [ebp - 0x30], xmm1
addss xmm1, dword [edi + 0x24]
movss dword [ebp - 0x2c], xmm0
addss xmm0, dword [edi + 0x28]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call fcn.1018fc00
mov byte [ebp - 0xb1], al
jmp 0x10182968
mov edi, dword [ebp - 0xe0]
mov byte [ebp - 0xb1], 0
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x101829ad
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x101829ad
cmp byte [ebp - 0xb1], 0
jne 0x101829ad
mov byte [ebp - 0xb2], 1
mov dword [edi + 0x278], eax
jmp 0x101829ad
mov edi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x491c]
test ecx, ecx
jne 0x101829c3
mov ecx, dword [eax + 0x47c0]
cmp byte [ebp - 0xc8], 0
jne 0x101829e7
test ecx, ecx
je 0x101829de
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x101829e7
mov byte [ebp - 0xb8], 0
jmp 0x101829ee
mov byte [ebp - 0xb8], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0xf4]
lea eax, [ebp - 0x50]
push 1
push dword [ebp - 0xb8]
push eax
push edi
call fcn.10191f20
add esp, 0x1c
cmp byte [ebp - 0xb2], 0
je 0x10182a2f
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov ecx, dword [ebp - 0xbc]
xorps xmm2, xmm2
movss xmm5, dword [edi + 0x44]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x10182a55
movaps xmm7, xmm5
jmp 0x10182a91
movss xmm0, dword [edi + 0x4c]
mov eax, ecx
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x10182a8a
movss xmm7, dword [edi + 0x34]
jmp 0x10182a8d
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm4, dword [edi + 0x48]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x10182aa4
movaps xmm6, xmm4
jmp 0x10182ad6
movss xmm0, dword [edi + 0x50]
movss xmm1, dword [edi + 0x28]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x68]
addss xmm0, dword [edi + 0x60]
subss xmm1, xmm0
test dl, dl
je 0x10182acf
movss xmm6, dword [edi + 0x38]
jmp 0x10182ad2
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm1, dword [edi + 0x4c]
movss xmm2, dword [edi + 0x80]
movss xmm0, dword [edi + 0x1e4]
subss xmm0, xmm2
movss dword [ebp - 0xf0], xmm1
maxss xmm1, dword [edi + 0x58]
movss dword [ebp - 0xc0], xmm2
movss xmm3, dword [ebp - 0xf0]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x204], xmm2
addss xmm2, xmm7
movss xmm0, dword [edi + 0x84]
movss xmm1, dword [edi + 0x50]
movss dword [ebp - 0xec], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [ebp - 0xec]
movss dword [ebp - 0x108], xmm1
maxss xmm1, dword [edi + 0x58]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
addss xmm0, xmm6
movss dword [edi + 0x20c], xmm2
xorps xmm6, xmm6
ucomiss xmm5, xmm6
movss dword [edi + 0x210], xmm0
movups xmm0, xmmword [edi + 0x204]
lahf
movups xmmword [edi + 0x214], xmm0
movss xmm1, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x5c]
movss dword [ebp - 0xf4], xmm1
movss dword [ebp - 0xd0], xmm0
subss xmm1, dword [ebp - 0xc0]
addss xmm1, xmm3
addss xmm1, xmm0
movss dword [edi + 0x234], xmm1
movss xmm2, dword [edi + 0x20]
movss xmm0, dword [edi + 0x60]
movaps xmm7, xmm2
movss dword [ebp - 0xf0], xmm2
movss xmm2, dword [ebp - 0x108]
movss dword [ebp - 0xb8], xmm0
subss xmm7, dword [ebp - 0xec]
addss xmm7, xmm2
addss xmm7, xmm0
movss dword [edi + 0x238], xmm7
test ah, 0x44
jp 0x10182c2e
movss xmm5, dword [edi + 0x24]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm5, xmm0
movss xmm0, dword [ebp - 0xd0]
addss xmm0, dword [edi + 0x64]
subss xmm5, xmm0
ucomiss xmm4, xmm6
addss xmm1, xmm5
movss xmm5, dword [ebp - 0xb8]
lahf
movss dword [edi + 0x23c], xmm1
test ah, 0x44
jp 0x10182c67
movss xmm4, dword [edi + 0x28]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x68]
subss xmm4, xmm0
movss xmm1, dword [ebp - 0xd0]
addss xmm4, xmm7
movaps xmm0, xmm1
mov esi, dword [ebp - 0xc4]
addss xmm0, xmm3
cvtps2pd xmm3, xmm3
movss dword [edi + 0x240], xmm4
movss xmm4, dword [ebp - 0xc0]
subss xmm0, xmm4
cvtps2pd xmm2, xmm2
movss dword [edi + 0x13c], xmm0
movss xmm0, dword [ebp - 0xf4]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
push dword [ebp - 0xfc]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm4
push ecx
lea ecx, [edi + 0x164]
subsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, xmm0
movss xmm0, dword [ebp - 0xf0]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x1022f9f0]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xec]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm1
movss xmm0, dword [edi + 0x108]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x10c]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x148], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x14c], xmm0
movss xmm1, dword [edi + 0x108]
movss xmm0, dword [edi + 0x10c]
movss dword [edi + 0xf8], xmm1
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x100], xmm1
movss dword [edi + 0x104], xmm0
movss dword [edi + 0x110], xmm1
movss dword [edi + 0x114], xmm0
movss dword [edi + 0x118], xmm1
movss dword [edi + 0x11c], xmm0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x130], 0
mov word [edi + 0x138], 0
mov dword [edi + 0x150], 0
mov ax, word [edi + 0x156]
mov word [edi + 0x154], ax
xor eax, eax
mov word [edi + 0x156], ax
mov byte [edi + 0x158], al
movss xmm0, dword [edi + 0x8c]
comiss xmm0, xmm6
seta al
mov byte [edi + 0x159], al
mov byte [edi + 0x15a], 0
movss xmm0, dword [esi + 0x37e4]
movss dword [esp], xmm0
call fcn.101c9ad0
mov dword [edi + 0x180], 0
lea eax, [edi + 0x188]
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10182e87
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x188]
call fcn.10197b20
lea eax, [edi + 0x188]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x194], eax
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x10182ebf
mov eax, dword [eax + 0x1a0]
jmp 0x10182ec4
mov eax, 1
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1b4], eax
lea eax, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10182f0f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1bc]
call fcn.10197b20
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10182f44
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1c8]
call fcn.10197b20
lea eax, [edi + 0x1c8]
mov dword [eax], 0
mov al, byte [edi + 0xcc]
test al, al
jle 0x10182f5c
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x10182f6e
dec al
mov byte [edi + 0xcd], al
cmp byte [ebp - 0xc8], 0
je 0x10182f88
push edi
call fcn.10187390
push 0
push edi
call fcn.1018b4d0
add esp, 0xc
test byte [ebp - 0xbc], 1
jne 0x10182fdc
movss xmm0, dword [ebp - 0x50]
lea eax, [ebp - 0x30]
addss xmm0, dword [edi + 0x58]
push dword [ebp - 0x104]
push dword [ebp - 0x100]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x48]
subss xmm0, dword [edi + 0x58]
push eax
push edi
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x24], xmm0
call fcn.10192980
add esp, 0x10
movss xmm2, dword [ebp - 0x50]
xor eax, eax
movss xmm4, dword [ebp - 0x48]
movss xmm3, dword [ebp - 0x44]
mov dword [edi + 0x244], eax
mov edx, dword [0x106c40f4]
movss xmm1, dword [edx + 0x37fc]
movss xmm0, dword [edx + 0x3800]
subss xmm2, xmm1
movss xmm5, dword [edx + 0xdb8]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x4c]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x1018304c
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm1
jb 0x1018304c
comiss xmm4, xmm5
jbe 0x1018304c
comiss xmm3, xmm0
mov dword [ebp - 0x104], 1
ja 0x10183052
mov dword [ebp - 0x104], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x4698]
mov dword [edx + 0x46b4], eax
mov eax, dword [ebp - 0x104]
mov dword [edx + 0x46b8], ecx
mov dword [edx + 0x46bc], eax
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [edx + 0x46c0], xmm0
mov eax, dword [esi + 0x469c]
test eax, eax
je 0x10183101
cmp dword [edi + 0x10], eax
je 0x10183096
cmp dword [edi + 0x78], eax
jne 0x10183101
call fcn.10185890
jmp 0x10183101
mov ecx, dword [0x106c40f4]
mov dword [ecx + 0x3e38], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x101830c2
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a24]
jmp 0x101830c4
xor eax, eax
mov dword [ecx + 0x4a08], eax
mov eax, dword [0x106c40f4]
movss xmm0, dword [eax + 0x3bcc]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x101830f1
mulss xmm0, dword [eax + 0x270]
movss dword [ecx + 0x3bdc], xmm0
movss dword [ecx + 0x3bc8], xmm0
mov ecx, dword [0x106c40f4]
push 1
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0xb4], 1
lea eax, [edi + 0x1fc]
mov esi, dword [ecx + 0x3e38]
push eax
lea eax, [edi + 0x1f4]
push eax
mov ecx, dword [esi + 0x278]
call fcn.1019e0f0
mov eax, dword [esi + 0x278]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0xc4]
mov dword [esi + 0x224], eax
mov eax, dword [ebp - 0xe4]
movss dword [esi + 0x228], xmm0
movss dword [esi + 0x22c], xmm1
movss dword [esi + 0x230], xmm2
mov byte [edi + 0xb4], 0
inc word [edi + 0xbe]
mov dword [ecx + 0x46f0], 0
cmp eax, dword [ebp - 0xe8]
je 0x1018330c
mov eax, dword [ebp - 0xbc]
test eax, 0x1000000
je 0x10183272
test al, 0x40
jne 0x10183236
cmp byte [edi + 0xcc], 0
jg 0x10183236
cmp byte [edi + 0xcd], 0
jg 0x10183236
test eax, 0x800000
je 0x101831fe
cmp byte [ecx + 0x4804], 0
je 0x101831fe
mov eax, dword [ecx + 0x47c0]
test eax, eax
je 0x101831fe
mov eax, dword [eax + 0x320]
cmp eax, dword [edi + 0x320]
jne 0x101831fe
mov al, 1
jmp 0x10183200
xor al, al
cmp byte [ecx + 0x5a98], 0
jne 0x10183236
test al, al
jne 0x10183236
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [edi + 0x1dc]
jae 0x1018322f
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jb 0x10183236
mov byte [edi + 0xd4], 1
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x10183272
cmp byte [eax + 0xb5], 0
jne 0x10183252
cmp byte [eax + 0xd4], 0
jle 0x10183259
mov byte [edi + 0xd4], 1
cmp byte [eax + 0xb5], 0
jne 0x1018326b
cmp byte [eax + 0xd5], 0
jle 0x10183272
mov byte [edi + 0xd5], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3798]
jb 0x10183285
mov byte [edi + 0xd4], 1
cmp byte [edi + 0xd4], 0
jg 0x101832a5
cmp byte [edi + 0xd5], 0
jg 0x101832a5
xor cl, cl
cmp byte [edi + 0xd6], cl
jg 0x101832a7
xor al, al
jmp 0x101832a9
mov cl, 1
mov al, 1
mov byte [edi + 0xb9], al
mov al, byte [edi + 0xd7]
test al, al
jle 0x101832cc
dec al
mov byte [edi + 0xd7], al
mov eax, dword [edi + 0x14]
or eax, 0xc0200
mov dword [edi + 0x14], eax
xor al, al
cmp byte [edi + 0xb5], al
jne 0x101832e2
cmp byte [edi + 0xb2], al
je 0x101832e2
test cl, cl
je 0x10183306
cmp byte [edi + 0xcc], 0
jg 0x10183306
cmp byte [edi + 0xcd], 0
jg 0x10183306
cmp byte [edi + 0xd5], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xb7], al
cmp byte [edi + 0xb7], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.10229364
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret