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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10200e40]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x1020f198]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov edx, ecx
mov dword [esp + 0x40], edx
mov eax, dword [edi + 0x3f8c]
mov dword [esp + 0x30], edi
mov byte [eax + 0xb0], 1
mov ecx, dword [edi + 0x3f8c]
mov dword [esp + 0x1c], ecx
cmp byte [ecx + 0xb3], 0
je 0x10065cad
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.10109e3a
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x38e8]
mov dword [esp + 0x3c], edx
addss xmm0, xmm0
addss xmm0, dword [edi + 0x3cf4]
movss dword [esp + 0x60], xmm0
cmp edx, 0xffffffff
jae 0x10065cf4
mov edi, edx
mov cl, byte [edi]
test cl, cl
je 0x10065cec
cmp cl, 0x23
jne 0x10065ce2
cmp byte [edi + 1], cl
je 0x10065cec
inc edi
mov dword [esp + 0x3c], edi
cmp edi, 0xffffffff
jb 0x10065cd2
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
test byte [edi + 0x48e8], 1
je 0x10065d07
movss xmm1, dword [edi + 0x48f8]
jmp 0x10065d0f
movss xmm1, dword [ecx + 0x1ac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10065d51
cmp dword [ecx + 0x198], 0
jne 0x10065d2f
cmp dword [edi + 0x4ce0], 0
lea eax, [ecx + 0x234]
je 0x10065d35
lea eax, [ecx + 0x204]
movss xmm0, dword [eax]
subss xmm0, dword [ecx + 0xf8]
addss xmm0, xmm1
movss xmm1, dword [0x101f4f54]
maxss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [edi + 0x48e8], 0
mov dword [edi + 0x48ec], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
call fcn.10042eb0
mov eax, dword [0x1020f198]
xor edx, edx
mov esi, dword [eax + 0x3f8c]
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x40]
push eax
call fcn.10033cd0
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
lea ecx, [esi + 0xec]
push eax
call fcn.1004a1e0
mov eax, dword [edi + 0x5c98]
mov dword [esp + 0x74], eax
test eax, eax
jne 0x10065de1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5c98], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
test cl, 0x20
je 0x10065dfe
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x20]
test cl, 8
jne 0x10065e14
mov edx, ecx
mov ecx, esi
call fcn.1006a380
mov ecx, dword [esp + 0x18]
test ecx, 0x700000
jne 0x10065e29
mov eax, dword [edi + 0x5c94]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10065e3e
mov eax, dword [edi + 0x5c94]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10065e53
mov eax, dword [edi + 0x5c94]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10065e68
mov eax, dword [edi + 0x5c94]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5c94]
and eax, 0xe00fffff
or ecx, eax
mov edx, ecx
mov dword [esp + 0x18], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x5c], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], eax
test cl, 0x10
je 0x10065eab
xorps xmm0, xmm0
jmp 0x10065eb9
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [edi + 0x38fc]
movss xmm7, dword [esp + 0x34]
movss xmm3, dword [0x101f4f54]
subss xmm7, xmm0
movss xmm2, dword [esi + 8]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0xa0], xmm2
maxss xmm7, xmm3
movss dword [esp + 0x34], xmm7
movaps xmm1, xmm7
addss xmm1, xmm0
movss xmm0, dword [esi]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esi + 4]
movss dword [esp + 0x9c], xmm1
test dl, dl
je 0x10065f1a
movss xmm3, dword [esi + 0xc]
movss xmm6, dword [0x101f4eac]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0xa4], xmm3
cmp eax, 0x10100000
jne 0x10065f62
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.10034310
movss xmm7, dword [esp + 0x38]
add esp, 4
jmp 0x10066021
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1006604d
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x10065f8d
movss xmm4, dword [0x101f5078]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x10065faa
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x101f5064]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0xa0], xmm5
minss xmm0, xmm2
movaps xmm1, xmm5
subss xmm3, xmm2
mov ecx, esi
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
subss xmm1, xmm0
push eax
lea edx, [esp + 0xa0]
movaps xmm0, xmm1
mulss xmm0, dword [0x101f4fbc]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x101f5520]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa4], xmm1
call fcn.10065b40
add esp, 8
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [0x101f5068]
xorps xmm4, xmm4
comiss xmm0, xmm4
jb 0x10066067
movss xmm6, dword [0x101f4f0c]
jmp 0x1006606a
movaps xmm6, xmm5
comiss xmm1, xmm4
mulss xmm0, dword [0x101f5004]
addss xmm0, xmm6
movss xmm6, dword [0x101f4f0c]
cvttss2si eax, xmm0
mov dword [esp + 0xa8], eax
jb 0x10066093
movaps xmm0, xmm6
jmp 0x10066096
movaps xmm0, xmm5
comiss xmm2, xmm4
mulss xmm1, dword [0x101f5004]
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x100660b7
movaps xmm0, xmm6
jmp 0x100660ba
movaps xmm0, xmm5
comiss xmm3, xmm4
movss xmm1, dword [0x101f5004]
mulss xmm2, xmm1
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jb 0x100660dd
movaps xmm5, xmm6
cmp dword [edi + 0x3944], 0
mulss xmm3, xmm1
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm3, xmm5
cvttss2si eax, xmm3
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x1c]
movss xmm2, dword [eax + 0xf8]
movss xmm1, dword [eax + 0xfc]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm1
jne 0x1006612b
movss xmm0, dword [esp + 0x50]
jmp 0x1006612e
xorps xmm0, xmm0
addss xmm0, xmm2
movss dword [eax + 0xf8], xmm0
test ecx, 0x300000
je 0x10066411
test cl, 0x20
jne 0x10066411
mov eax, dword [esp + 0x44]
movss xmm3, dword [0x101f5050]
dec eax
push 0
push 0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x6c], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x1020f198]
push eax
push ecx
mulss xmm0, dword [edi + 0x38fc]
lea eax, [esp + 0x58]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3cf4]
mov ecx, dword [ecx + 0x3cf0]
subss xmm7, xmm0
push eax
movss dword [esp + 0x44], xmm7
call fcn.10052570
mov edx, dword [esp + 0x44]
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x101f4f4c]
movss xmm6, dword [esp + 0x30]
movd xmm7, edx
cvtdq2ps xmm7, xmm7
mov ecx, dword [esp + 0x18]
cvttss2si eax, xmm0
movaps xmm0, xmm6
movss dword [esp + 0x48], xmm7
divss xmm0, xmm7
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x10066207
xor esi, esi
jmp 0x10066216
mov esi, ecx
and esi, 0x200000
neg esi
sbb esi, esi
neg esi
inc esi
mov dword [esp + 0x2c], 0
xorps xmm4, xmm4
xorps xmm5, xmm5
test edx, edx
je 0x1006666c
and ecx, 8
shl esi, 4
mov dword [esp + 0x68], ecx
mov edx, 0xff
xor ecx, ecx
nop dword [eax]
test ecx, ecx
je 0x1006625d
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.10042d30
mov ecx, dword [esp + 0x2c]
mov edx, 0xff
lea eax, [ecx + 1]
movss xmm2, dword [0x101f4f54]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
divss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [0x1020f198]
cvtdq2ps xmm1, xmm1
or dword [eax + 0x48e8], 1
cmp dword [esp + 0x64], 0
movaps xmm0, xmm1
movss dword [esp + 0x54], xmm1
subss xmm0, xmm5
maxss xmm0, xmm2
movss dword [eax + 0x48f8], xmm0
je 0x10066317
cmp byte [esp + 0x5c], 0
jne 0x100662b8
movaps xmm4, xmm2
movss xmm3, dword [0x101f4ebc]
lea eax, [esp + 0x7c]
push ecx
push dword [esi + 0x101f472c]
mov edx, 8
movss dword [esp + 0x84], xmm4
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x101f471c]
push eax
call fcn.1005e850
mov cl, byte [esp + 0x2a]
add esp, 0x14
or cl, al
or byte [esp + 0x17], cl
mov byte [esp + 0x16], cl
jmp 0x1006636d
mov eax, edx
movaps xmm3, xmm2
xor edx, edx
cmp byte [esp + 0x5c], dl
push ecx
push dword [esi + 0x101f46ec]
cmovne eax, edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov edx, 4
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x101f471c]
push eax
call fcn.1005e850
add esp, 0x14
or byte [esp + 0x16], al
cmp dword [esp + 0x68], 0
jne 0x100663dc
mov eax, dword [0x1020f198]
cmp byte [eax + 0x383f], 0
mov ecx, dword [eax + 0x3f8c]
mov dword [esp + 0x78], ecx
je 0x100663dc
mov edx, 0x290
mov ecx, eax
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x100663dc
mov ecx, 0x20
call fcn.100373d0
test al, al
je 0x100663dc
mov eax, dword [esp + 0x78]
xor edx, edx
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, str.context
push eax
call fcn.10033cd0
add esp, 4
mov edx, 1
mov ecx, eax
call fcn.10043b00
mov ecx, dword [esp + 0x2c]
add esi, 4
movss xmm5, dword [esp + 0x54]
inc ecx
xorps xmm4, xmm4
movss xmm6, dword [esp + 0x30]
mov edx, 0xff
movss xmm7, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x44]
jl 0x10066240
jmp 0x10066668
test ecx, 0x400000
je 0x1006667c
test cl, 0x20
jne 0x1006667c
test dl, dl
je 0x100664a5
mov esi, dword [esp + 0xb4]
mov eax, 0xff
mov dword [esp + 0x48], eax
test esi, esi
jns 0x10066442
xor esi, esi
jmp 0x10066447
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0xb0]
test edx, edx
jns 0x10066456
xor edx, edx
jmp 0x1006645b
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xac]
test ecx, ecx
jns 0x1006646a
xor ecx, ecx
jmp 0x1006646f
cmp ecx, eax
cmovg ecx, eax
mov eax, dword [esp + 0xa8]
test eax, eax
jns 0x1006647e
xor eax, eax
jmp 0x10066488
cmp eax, 0xff
cmovg eax, dword [esp + 0x48]
push esi
push edx
push ecx
push eax
push 0x101f44e0
lea eax, [esp + 0xcc]
push 0x40
push eax
call fcn.10033b60
add esp, 0x1c
jmp 0x10066503
mov edx, dword [esp + 0xb0]
mov esi, 0xff
test edx, edx
jns 0x100664b9
xor edx, edx
jmp 0x100664be
cmp edx, esi
cmovg edx, esi
mov ecx, dword [esp + 0xac]
test ecx, ecx
jns 0x100664cd
xor ecx, ecx
jmp 0x100664d2
cmp ecx, esi
cmovg ecx, esi
mov eax, dword [esp + 0xa8]
test eax, eax
jns 0x100664e1
xor eax, eax
jmp 0x100664e9
cmp eax, 0xff
cmovg eax, esi
push edx
push ecx
push eax
push 0x101f44f4
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.10033b60
add esp, 0x18
mov eax, dword [0x1020f198]
xor edx, edx
movss xmm0, dword [esp + 0x34]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x48e8], 1
movss dword [eax + 0x48f8], xmm0
lea eax, [esp + 0x50]
push 4
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x58], 0
push 0x40
push eax
mov dword [esp + 0x64], 0
call fcn.10062000
add esp, 0x18
test al, al
je 0x100665ff
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xb8]
mov al, byte [ecx]
cmp al, 0x23
je 0x10066573
cmp al, 0x20
je 0x10066573
cmp al, 9
jne 0x10066576
inc ecx
jmp 0x10066565
cmp byte [esp + 0x38], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x100665d9
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.1004acc0
add esp, 0x18
jmp 0x100665ff
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
push str._02X_02X_02X
push ecx
call fcn.1004acc0
add esp, 0x14
mov ecx, dword [esp + 0x18]
test cl, 8
jne 0x1006666c
mov eax, dword [0x1020f198]
cmp byte [eax + 0x383f], 0
mov esi, dword [eax + 0x3f8c]
je 0x1006666c
mov edx, 0x290
mov ecx, eax
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x10066668
mov ecx, 0x20
call fcn.100373d0
test al, al
je 0x10066668
mov ecx, dword [esi + 0xec]
xor edx, edx
mov eax, dword [esi + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, str.context
push eax
call fcn.10033cd0
add esp, 4
mov edx, 1
mov ecx, eax
call fcn.10043b00
mov ecx, dword [esp + 0x18]
movss xmm1, dword [esp + 0x28]
movss xmm2, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
test cl, 0x10
jne 0x1006697a
test cl, 0x20
jne 0x100666ab
cmp dword [edi + 0x3944], 0
je 0x100666ab
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [edi + 0x38fc]
jmp 0x100666ae
xorps xmm0, xmm0
cmp byte [esp + 0x38], 0
addss xmm0, xmm2
mov esi, dword [esp + 0x20]
movss dword [eax + 0xfc], xmm1
movss dword [eax + 0xf8], xmm0
je 0x100666d4
movss xmm1, dword [esi + 0xc]
jmp 0x100666dc
movss xmm1, dword [0x101f4f54]
movss xmm0, dword [esi]
lea eax, [esp + 0x54]
movss dword [esp + 0x80], xmm0
lea edx, [esp + 0x80]
movss xmm0, dword [esi + 4]
push eax
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.100699d0
mov ecx, dword [esp + 0x20]
add esp, 8
test al, al
je 0x100667ee
test cl, 4
jne 0x100667ee
movups xmm0, xmmword [esp + 0x80]
mov eax, dword [0x1020f198]
xor edx, edx
movups xmmword [edi + 0x5cac], xmm0
mov eax, dword [eax + 0x3f8c]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, str.picker
push eax
call fcn.10033cd0
add esp, 4
xor edx, edx
mov ecx, eax
call fcn.10043b00
movss xmm1, dword [edi + 0x4914]
movss xmm0, dword [edi + 0x38f8]
addss xmm0, dword [edi + 0x4920]
mov eax, dword [0x1020f198]
addss xmm1, dword [0x101f4e98]
mov ecx, dword [esp + 0x18]
or dword [eax + 0x4954], 1
movss dword [eax + 0x4968], xmm0
movss dword [eax + 0x4964], xmm1
mov dword [eax + 0x496c], 0
mov dword [eax + 0x4970], 0
mov dword [eax + 0x4958], 1
test cl, 8
jne 0x1006685b
mov eax, dword [0x1020f198]
cmp byte [eax + 0x383f], 0
mov esi, dword [eax + 0x3f8c]
je 0x10066857
mov edx, 0x290
mov ecx, eax
call fcn.1004ace0
cmp byte [eax + 8], 0
jne 0x10066853
mov ecx, 0x20
call fcn.100373d0
test al, al
je 0x10066853
mov ecx, dword [esi + 0xec]
xor edx, edx
mov eax, dword [esi + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, str.context
push eax
call fcn.10033cd0
add esp, 4
mov edx, 1
mov ecx, eax
call fcn.10043b00
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [0x1020f198]
mov eax, dword [edx + 0x4a08]
cmp eax, dword [edx + 0x4a14]
jg 0x1006687e
mov dword [edx + 0x4954], 0
jmp 0x1006697a
mov eax, dword [edx + 0x3f8c]
xor edx, edx
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, str.picker
push eax
call fcn.10033cd0
add esp, 4
mov ecx, eax
call fcn.10043ee0
test al, al
je 0x10066976
mov eax, dword [edi + 0x3f8c]
cmp word [eax + 0xbc], 1
jne 0x10066971
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
je 0x10066926
push 0
mov edx, eax
call fcn.1005a580
mov ecx, dword [0x1020f198]
add esp, 4
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
cmp byte [eax + 0xb3], 0
jne 0x10066926
movss xmm1, dword [0x101f5078]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.10042bd0
mov eax, dword [0x1020f198]
mov edx, esi
movss xmm0, dword [esp + 0x60]
mov ecx, 0x101f4198
mulss xmm0, dword [0x101f4fd0]
or dword [eax + 0x48e8], 1
movss dword [eax + 0x48f8], xmm0
lea eax, [edi + 0x5cac]
push eax
mov eax, dword [esp + 0x70]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10067120
add esp, 8
or byte [esp + 0x16], al
call fcn.10043f80
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x40], esi
je 0x100669d7
test cl, cl
js 0x100669d7
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.10042d30
test byte [esp + 0x18], 0x20
je 0x100669a7
movss xmm0, dword [esp + 0x50]
jmp 0x100669b5
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [edi + 0x38fc]
addss xmm0, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, esi
mov ecx, dword [esp + 0x40]
push 0
movss dword [eax + 0xf8], xmm0
call fcn.1005a580
add esp, 4
cmp byte [esp + 0x16], 0
je 0x10066c08
cmp dword [esp + 0x2c], 0
jne 0x10066c08
cmp byte [esp + 0x17], 0
jne 0x10066a0e
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x101f5510]
movups xmmword [esp + 0x98], xmm0
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10066b13
movss xmm0, dword [esp + 0x98]
lea eax, [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
lea edx, [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
lea ecx, [esp + 0x98]
push eax
movss dword [edi + 0x5ca0], xmm0
movss dword [edi + 0x5ca4], xmm1
call fcn.10034310
movss xmm1, dword [esp + 0x9c]
xorps xmm5, xmm5
mov eax, dword [edi + 0x5c98]
add esp, 4
comiss xmm5, xmm1
mov dword [edi + 0x5c9c], eax
movss xmm4, dword [0x101f4f54]
jbe 0x10066a95
xorps xmm0, xmm0
jmp 0x10066a9c
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm7, dword [0x101f5004]
movss xmm6, dword [0x101f4f0c]
movss xmm2, dword [esp + 0x9c]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10066acb
xorps xmm0, xmm0
jmp 0x10066ad2
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [esp + 0xa0]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x10066af6
xorps xmm4, xmm4
jmp 0x10066afa
minss xmm4, xmm3
mulss xmm4, xmm7
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x5ca8], eax
jmp 0x10066b31
movss xmm3, dword [esp + 0xa0]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x10066bdf
movaps xmm4, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x10066b64
movss xmm5, dword [0x101f5078]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x10066b7e
movss xmm0, dword [0x101f5064]
movaps xmm4, xmm1
subss xmm0, xmm5
movaps xmm1, xmm6
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm4
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm4
movss dword [esp + 0xa0], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x101f4fbc]
addss xmm0, dword [0x101f4eac]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x101f4eac]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x101f5520]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
cmp byte [esp + 0x38], 0
mov esi, dword [esp + 0x20]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x10066c0c
movss xmm0, dword [esp + 0xa4]
movss dword [esi + 0xc], xmm0
jmp 0x10066c0c
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x74], 0
jne 0x10066c1d
mov dword [edi + 0x5c98], 0
mov eax, dword [0x1020f198]
mov eax, dword [eax + 0x3f8c]
dec dword [eax + 0xec]
call fcn.10043000
test byte [edi + 0x4910], 1
je 0x10066d8b
test byte [edi + 0x490c], 0x80
jne 0x10066d8b
test dword [esp + 0x18], 0x200
jne 0x10066d8b
call fcn.10048ab0
test al, al
je 0x10066d8b
mov ecx, str._COL3F
mov byte [esp + 0x17], 0
call fcn.10048ba0
test eax, eax
je 0x10066c95
mov eax, dword [eax]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, str._COL4F
call fcn.10048ba0
test eax, eax
je 0x10066cc1
mov edx, dword [esp + 0x44]
lea ecx, [edx*4]
push ecx
push dword [eax]
push esi
call fcn.1010c860
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x10066ccc
cmp byte [esp + 0x17], 0
je 0x10066d71
test dword [esp + 0x18], 0x10000000
je 0x10066d71
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x10066d00
movss xmm5, dword [0x101f5078]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x10066d03
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x10066d20
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x101f5064]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [esi + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101f4fbc]
addss xmm0, dword [0x101f4eac]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101f4eac]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x101f5520]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x1020f198]
cmp byte [eax + 0x4c76], 0
mov byte [eax + 0x4c32], 0
je 0x10066d8b
call fcn.100487b0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10066dab
mov eax, dword [edi + 0x3fdc]
test eax, eax
je 0x10066dab
cmp dword [edi + 0x3ffc], ecx
jne 0x10066dab
mov dword [edi + 0x4908], eax
mov dl, byte [esp + 0x16]
test dl, dl
je 0x10066def
mov eax, dword [edi + 0x4908]
test eax, eax
je 0x10066def
mov ecx, dword [0x1020f198]
cmp word [ecx + 0x5d1e], 0
jg 0x10066def
mov edx, dword [ecx + 0x3fdc]
cmp edx, eax
je 0x10066ddb
test edx, edx
jne 0x10066de4
mov word [ecx + 0x3fec], 0x101
or dword [ecx + 0x4910], 4
mov dl, byte [esp + 0x16]
mov ecx, dword [esp + 0xfc]
mov al, dl
pop edi
pop esi
xor ecx, esp
call fcn.10109e3a
mov esp, ebp
pop ebp
ret