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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x103b0040]
xor eax, esp
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [0x103ca868]
push esi
push edi
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e38]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x93], 0
je 0x10035b27
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.10123fc5
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x40000000
mov ecx, 0xb
mov dword [esp + 0x40], 0x40000000
call fcn.10006730
test byte [ebp + 8], 0x10
xorps xmm0, xmm0
mov edi, dword [0x103ca868]
movss xmm1, dword [edi + 0x37d8]
addss xmm1, xmm1
addss xmm1, dword [edi + 0x3bc4]
movss dword [esp + 0x54], xmm1
jne 0x10035b79
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x37ec]
mov eax, dword [esp + 0x1c]
mov esi, eax
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x20], esi
cmp eax, 0xffffffff
jae 0x10035baa
nop
mov cl, byte [esi]
test cl, cl
je 0x10035ba6
cmp cl, 0x23
jne 0x10035ba0
cmp byte [esi + 1], cl
je 0x10035ba6
inc esi
cmp esi, 0xffffffff
jb 0x10035b90
mov dword [esp + 0x20], esi
mov ecx, eax
mov dword [edi + 0x4684], 0
call fcn.10013fe0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x58], ecx
test cl, 0x20
je 0x10035bd6
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x10035be9
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.10039630
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x10035bfe
mov eax, dword [edi + 0x593c]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10035c13
mov eax, dword [edi + 0x593c]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10035c28
mov eax, dword [edi + 0x593c]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10035c3d
mov eax, dword [edi + 0x593c]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x593c]
movss xmm3, dword [0x103a39e4]
and eax, 0xe00fffff
or ecx, eax
movss dword [esp + 0x24], xmm3
mov eax, ecx
mov dword [ebp + 8], ecx
shr eax, 1
not al
and eax, 0xffffff01
movzx edx, al
add edx, 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [edx + 8]
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm2
test al, al
je 0x10035ca3
movss xmm4, dword [edx + 0xc]
jmp 0x10035ca6
movaps xmm4, xmm3
movss xmm5, dword [0x103a3b74]
mov eax, ecx
movss xmm7, dword [0x103a3b58]
and eax, 0x10100000
movss xmm6, dword [0x103a3938]
movss dword [esp + 0x78], xmm4
cmp eax, 0x10100000
jne 0x10035cec
lea eax, [esp + 0x74]
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x70]
call fcn.10005130
add esp, 4
jmp 0x10035d91
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10035db0
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x10035d12
movaps xmm3, xmm2
movaps xmm4, xmm5
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x10035d2a
movaps xmm5, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm7
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x10]
minss xmm0, xmm2
movss dword [esp + 0x74], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x74]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x74]
movaps xmm0, xmm1
mulss xmm0, dword [0x103a3a68]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x103a3dd0]
movss dword [esp + 0x74], xmm3
movss dword [esp + 0x78], xmm1
call fcn.100359e0
add esp, 8
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
movss xmm0, dword [esp + 0x6c]
movss xmm1, dword [esp + 0x70]
movss xmm2, dword [esp + 0x74]
movss xmm4, dword [esp + 0x78]
movss xmm6, dword [0x103a3b60]
xorps xmm3, xmm3
comiss xmm0, xmm3
movss xmm5, dword [0x103a39a4]
jb 0x10035dd0
movss dword [esp + 0x18], xmm5
jmp 0x10035dd6
movss dword [esp + 0x18], xmm6
comiss xmm1, xmm3
movss xmm7, dword [0x103a3b04]
mulss xmm0, xmm7
addss xmm0, dword [esp + 0x18]
cvttss2si eax, xmm0
mov dword [esp + 0x44], eax
jb 0x10035dfa
movaps xmm0, xmm5
jmp 0x10035dfd
movaps xmm0, xmm6
comiss xmm2, xmm3
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x48], eax
jb 0x10035e17
movaps xmm0, xmm5
jmp 0x10035e1a
movaps xmm0, xmm6
comiss xmm4, xmm3
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x4c], eax
jae 0x10035e32
movaps xmm5, xmm6
cmp dword [edi + 0x382c], 0
mulss xmm4, xmm7
mov byte [esp + 0xe], 0
addss xmm4, xmm5
cvttss2si eax, xmm4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
movss xmm1, dword [eax + 0xd4]
jne 0x10035e64
movss xmm0, dword [esp + 0x14]
jmp 0x10035e67
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
addss xmm1, xmm0
movss dword [eax + 0xd4], xmm1
test cl, 0x10
jne 0x1003624e
mov eax, dword [0x103ca868]
mov esi, dword [eax + 0x3e38]
cmp dword [esi + 0x174], 0
movss xmm2, dword [esi + 0xd8]
subss xmm2, dword [esi + 0x14]
movss xmm1, dword [esi + 0x20c]
addss xmm2, dword [esi + 0x60]
subss xmm2, dword [0x103a3aa4]
jne 0x10035ec3
cmp dword [eax + 0x49cc], 0
je 0x10035ed1
mov edx, esi
movss xmm1, dword [edx + 0x1dc]
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x38], 0
movss xmm0, dword [esi + 0xd4]
mov byte [esi + 0x90], 1
subss xmm1, xmm0
mov eax, dword [eax + 0x3e38]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x5c]
subss xmm1, dword [0x103a3ab4]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x60]
mov byte [eax + 0x115], 1
movss dword [eax + 0xd4], xmm1
addss xmm0, xmm2
movss dword [eax + 0xd8], xmm0
je 0x10035f39
movss xmm0, dword [edx + 0xc]
movss dword [esp + 0x24], xmm0
jmp 0x10035f3f
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [edx]
lea eax, [esp + 0x6c]
movss xmm2, dword [edx + 4]
movss xmm3, dword [edx + 8]
lea edx, [esp + 0x5c]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x38], xmm3
mov dword [esp + 0x74], 0x41700000
mov dword [esp + 0x78], 0x41200000
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x70], xmm0
call fcn.10038ae0
mov esi, dword [esp + 0x28]
add esp, 8
test al, al
je 0x10036050
test byte [ebp + 8], 4
jne 0x10036050
movss xmm0, dword [esp + 0x28]
mov ecx, str.picker
movss dword [edi + 0x594c], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [edi + 0x5950], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [edi + 0x5954], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 0x5958], xmm0
call fcn.10016210
movss xmm1, dword [edi + 0x46a4]
movss xmm0, dword [edi + 0x46b0]
addss xmm0, dword [edi + 0x37e8]
mov eax, dword [0x103ca868]
addss xmm1, dword [0x103a392c]
or dword [eax + 0x46d4], 1
movss dword [eax + 0x46e8], xmm0
movss dword [eax + 0x46e4], xmm1
mov dword [eax + 0x46ec], 0
mov dword [eax + 0x46f0], 0
mov dword [eax + 0x46d8], 1
mov edx, 4
mov ecx, str.picker
call fcn.100167c0
test al, al
je 0x1003624b
mov eax, dword [edi + 0x3e38]
cmp word [eax + 0x9a], 1
jne 0x10036202
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x10036095
push 0
mov edx, esi
mov ecx, eax
call fcn.1002a160
add esp, 4
mov ecx, dword [0x103ca868]
push 0
mov eax, dword [ecx + 0x3e38]
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movss xmm2, dword [eax + 0x18]
movss xmm3, dword [eax + 0x1c]
addss xmm2, xmm0
mov byte [eax + 0x90], 1
addss xmm3, xmm1
mov esi, dword [ecx + 0x3e38]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm0
push eax
mov ecx, dword [esi + 0x248]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm3
call fcn.1001f500
mov eax, dword [esi + 0x248]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
push ecx
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [esi + 0x1f4], eax
movss dword [esi + 0x1f8], xmm0
movss dword [esi + 0x1fc], xmm1
movss dword [esi + 0x200], xmm2
mov esi, dword [0x103ca868]
movaps xmm0, xmmword [0x103a3cd0]
movups xmmword [esp + 0x60], xmm0
mov dword [esp], 0x3f800000
movss xmm0, dword [esp + 0x34]
mov eax, dword [esi + 0x3e38]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x74], xmm0
mov byte [eax + 0x90], 1
movss xmm0, dword [edi + 0x37a8]
push 0
push ecx
lea ecx, [esp + 0x68]
movss dword [esp], xmm0
call fcn.10005080
mov ecx, dword [esi + 0x3e38]
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, dword [ecx + 0x248]
lea eax, [esp + 0x3c]
push eax
call fcn.100218d0
call fcn.1000c100
mov eax, dword [0x103ca868]
mov ecx, 0x1038ff08
movss xmm0, dword [esp + 0x54]
mulss xmm0, dword [0x103a3a8c]
mov edx, dword [esp + 0x10]
or dword [eax + 0x4684], 1
movss dword [eax + 0x4688], xmm0
lea eax, [edi + 0x594c]
push eax
mov eax, dword [esp + 0x5c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.100366c0
add esp, 8
mov byte [esp + 0xe], al
mov esi, dword [0x103ca868]
mov eax, dword [esi + 0x3e38]
cmp dword [esi + 0x47a4], eax
jne 0x1003622f
cmp byte [esi + 0x47fd], 0
je 0x1003622f
cmp dword [esi + 0x47dc], 0
jne 0x1003622f
or dword [esi + 0x4800], 2
test dword [eax + 8], 0x1000000
je 0x1003623f
mov byte [esi + 0x3de6], 1
call fcn.10013710
mov byte [esi + 0x3de6], 0
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x1c], esi
je 0x1003627c
test cl, cl
js 0x1003627c
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.100153d0
mov ecx, dword [esp + 0x1c]
mov edx, esi
push 0
call fcn.1002a160
add esp, 4
cmp byte [esp + 0xe], 0
mov ecx, dword [ebp + 8]
je 0x100363fa
cmp dword [esp + 0x18], 0
jne 0x100363fa
movups xmm0, xmmword [esp + 0x44]
mov eax, ecx
and eax, 0x8200000
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x103a3da0]
movups xmmword [esp + 0x6c], xmm0
cmp eax, 0x8200000
jne 0x1003632e
movss xmm0, dword [esp + 0x6c]
lea eax, [esp + 0x74]
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0x70]
movss xmm2, dword [esp + 0x74]
lea ecx, [esp + 0x6c]
push eax
movss dword [edi + 0x5940], xmm0
movss dword [edi + 0x5944], xmm1
call fcn.10005130
movss xmm0, dword [esp + 0x78]
lea ecx, [esp + 0x48]
movss xmm6, dword [esp + 0x70]
add esp, 4
movss xmm7, dword [esp + 0x70]
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x48], xmm7
movss dword [esp + 0x4c], xmm0
mov dword [esp + 0x50], 0
call fcn.10005080
mov ecx, dword [ebp + 8]
mov dword [edi + 0x5948], eax
jmp 0x1003633a
movss xmm7, dword [esp + 0x70]
movss xmm6, dword [esp + 0x6c]
movss xmm1, dword [esp + 0x74]
mov eax, ecx
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x100363d4
movaps xmm2, xmm6
xorps xmm3, xmm3
movaps xmm6, xmm7
movaps xmm4, xmm2
movaps xmm0, xmm6
comiss xmm1, xmm0
jbe 0x10036374
movss xmm3, dword [0x103a3b74]
movaps xmm6, xmm1
movaps xmm1, xmm0
comiss xmm6, xmm4
jbe 0x1003638e
movss xmm0, dword [0x103a3b58]
movaps xmm2, xmm6
subss xmm0, xmm3
movaps xmm6, xmm4
movaps xmm3, xmm0
movaps xmm0, xmm6
movaps xmm7, xmm2
minss xmm0, xmm1
subss xmm6, xmm1
movaps xmm1, xmm2
subss xmm7, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [0x103a3a68]
addss xmm0, dword [0x103a3938]
divss xmm6, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x103a3938]
addss xmm6, xmm3
divss xmm7, xmm0
andps xmm6, xmmword [0x103a3dd0]
cmp byte [esp + 0x38], 0
mov esi, dword [esp + 0x10]
movss dword [esi], xmm6
movss dword [esi + 4], xmm7
movss dword [esi + 8], xmm1
je 0x100363fe
movss xmm0, dword [esp + 0x78]
movss dword [esi + 0xc], xmm0
jmp 0x100363fe
mov esi, dword [esp + 0x10]
mov edx, dword [0x103ca868]
mov eax, dword [edx + 0x3e38]
dec dword [eax + 0xc8]
test byte [edi + 0x46a0], 1
je 0x1003654f
test ecx, 0x200
jne 0x1003654f
call fcn.1001abd0
test al, al
je 0x10036549
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.1001ac90
test eax, eax
je 0x10036463
mov eax, dword [eax]
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 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.1001ac90
test eax, eax
je 0x1003648b
mov ecx, dword [esp + 0x3c]
shl ecx, 2
push ecx
push dword [eax]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x10036496
cmp byte [esp + 0xf], 0
je 0x1003653a
test dword [ebp + 8], 0x10000000
je 0x1003653a
movss xmm2, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm2
movss xmm4, dword [esi]
jbe 0x100364c9
movss xmm3, dword [0x103a3b74]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x100364cc
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x100364e9
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x103a3b58]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esi + 8], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x103a3a68]
addss xmm0, dword [0x103a3938]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x103a3938]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x103a3dd0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov edx, dword [0x103ca868]
mov byte [edx + 0x492e], 0
jmp 0x1003654f
mov edx, dword [0x103ca868]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1003656f
mov eax, dword [edi + 0x3e70]
test eax, eax
je 0x1003656f
cmp dword [edi + 0x3e8c], ecx
jne 0x1003656f
mov dword [edi + 0x4698], eax
cmp byte [esp + 0xe], 0
je 0x1003658f
cmp dword [edi + 0x4698], 0
je 0x1003658f
or dword [edx + 0x46a0], 4
mov word [edx + 0x3e80], 0x101
mov ecx, 1
call fcn.100067b0
mov ecx, dword [esp + 0x7c]
mov al, byte [esp + 0xe]
pop edi
pop esi
xor ecx, esp
call fcn.10123fc5
mov esp, ebp
pop ebp
ret