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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x103b0024]
xor eax, esp
mov dword [esp + 0x94], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [0x103ca828]
push esi
mov esi, edx
push edi
mov eax, dword [ecx + 0x3e38]
mov dword [esp + 0x48], esi
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e38]
mov dword [esp + 0x30], eax
cmp byte [eax + 0x93], 0
je 0x100358c2
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.101238be
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x40000000
mov ecx, 0xb
mov dword [esp + 0x70], 0x40000000
call fcn.10006840
mov ecx, dword [0x103ca828]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
movss xmm1, dword [ecx + 0x37d8]
addss xmm1, xmm1
addss xmm1, dword [ecx + 0x3bc4]
movss dword [esp + 0x84], xmm1
test al, 0x10
jne 0x10035920
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x37ec]
mov eax, dword [esp + 0x28]
mov edi, eax
movss dword [esp + 0x2c], xmm0
cmp eax, 0xffffffff
jae 0x10035947
mov dl, byte [edi]
test dl, dl
je 0x10035947
cmp dl, 0x23
jne 0x10035941
cmp byte [edi + 1], dl
je 0x10035947
inc edi
cmp edi, 0xffffffff
jb 0x10035931
mov dword [ecx + 0x4684], 0
mov ecx, eax
call fcn.100141e0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
test cl, 0x20
je 0x10035975
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10035987
mov edx, ecx
mov ecx, esi
call fcn.10039540
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x593c]
mov dword [esp + 0x18], eax
test ecx, 0x700000
jne 0x100359ac
and eax, 0x700000
or ecx, eax
mov eax, dword [edx + 0x593c]
jmp 0x100359b0
mov dword [esp + 0x18], eax
test ecx, 0x1800000
jne 0x100359bf
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x100359d2
mov eax, dword [esp + 0x18]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x100359e5
mov eax, dword [esp + 0x18]
and eax, 0x18000000
or ecx, eax
mov eax, dword [esp + 0x18]
movss xmm0, dword [esi]
and eax, 0xe00fffff
movss xmm1, dword [esi + 4]
or ecx, eax
movss xmm2, dword [esi + 8]
mov eax, ecx
movss xmm3, dword [0x103a2784]
shr eax, 1
not al
mov dword [esp + 0x18], ecx
and eax, 0xffffff01
movss dword [esp + 0x8c], xmm0
movzx edx, al
add edx, 3
mov dword [esp + 0x4c], eax
mov dword [esp + 0x6c], edx
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x94], xmm2
movss dword [esp + 0x44], xmm3
test al, al
je 0x10035a4f
movss xmm4, dword [esi + 0xc]
jmp 0x10035a52
movaps xmm4, xmm3
movss xmm5, dword [0x103a2924]
mov eax, ecx
movss xmm7, dword [0x103a2908]
and eax, 0x10100000
movss xmm6, dword [0x103a26d8]
mov edx, dword [esp + 0x1c]
movss dword [esp + 0x98], xmm4
mov dword [esp + 0x88], eax
cmp eax, 0x10100000
jne 0x10035aaf
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x94]
lea ecx, [esp + 0x90]
call fcn.100051c0
add esp, 4
jmp 0x10035b64
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10035b90
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x10035ad5
movaps xmm3, xmm2
movaps xmm4, xmm5
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x10035aed
movaps xmm5, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm7
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x94], xmm5
minss xmm0, xmm2
movaps xmm1, xmm5
subss xmm3, xmm2
mov ecx, esi
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x94]
movaps xmm0, xmm1
mulss xmm0, dword [0x103a2808]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x103a2de0]
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm1
call fcn.10035770
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x90]
movss xmm2, dword [esp + 0x94]
movss xmm4, dword [esp + 0x98]
movss xmm6, dword [0x103a2910]
xorps xmm3, xmm3
comiss xmm0, xmm3
movss xmm5, dword [0x103a2744]
jb 0x10035bb0
movss dword [esp + 0x24], xmm5
jmp 0x10035bb6
movss dword [esp + 0x24], xmm6
comiss xmm1, xmm3
movss xmm7, dword [0x103a28b0]
mulss xmm0, xmm7
addss xmm0, dword [esp + 0x24]
cvttss2si eax, xmm0
mov dword [esp + 0x74], eax
jb 0x10035bda
movaps xmm0, xmm5
jmp 0x10035bdd
movaps xmm0, xmm6
comiss xmm2, xmm3
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x78], eax
jb 0x10035bf7
movaps xmm0, xmm5
jmp 0x10035bfa
movaps xmm0, xmm6
comiss xmm4, xmm3
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x7c], eax
jae 0x10035c12
movaps xmm5, xmm6
cmp dword [edx + 0x382c], 0
mulss xmm4, xmm7
mov byte [esp + 0x17], 0
addss xmm4, xmm5
cvttss2si eax, xmm4
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
movss xmm1, dword [eax + 0xd4]
jne 0x10035c47
movss xmm0, dword [esp + 0x2c]
jmp 0x10035c4a
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
addss xmm1, xmm0
movss dword [eax + 0xd4], xmm1
test cl, 0x10
jne 0x10036060
mov eax, dword [0x103ca828]
mov edx, dword [eax + 0x3e38]
cmp dword [edx + 0x174], 0
movss xmm2, dword [edx + 0xd8]
subss xmm2, dword [edx + 0x14]
movss xmm1, dword [edx + 0x20c]
addss xmm2, dword [edx + 0x60]
subss xmm2, dword [0x103a2844]
jne 0x10035ca6
cmp dword [eax + 0x49cc], 0
je 0x10035cae
movss xmm1, dword [edx + 0x1dc]
cmp byte [esp + 0x4c], 0
mov byte [edx + 0x90], 1
mov eax, dword [eax + 0x3e38]
subss xmm1, dword [edx + 0xd4]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x5c]
subss xmm1, dword [0x103a2854]
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 0x10035d12
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x44], xmm0
jmp 0x10035d1a
movss xmm0, dword [0x103a2784]
movss xmm1, dword [esi]
lea eax, [esp + 0x8c]
movss xmm2, dword [esi + 4]
lea edx, [esp + 0x50]
movss xmm3, dword [esi + 8]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x44], xmm3
mov dword [esp + 0x94], 0x41700000
mov dword [esp + 0x98], 0x41200000
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x60], xmm3
movss dword [esp + 0x64], xmm0
call fcn.100389a0
add esp, 8
test al, al
je 0x10035e3d
test byte [esp + 0x18], 4
jne 0x10035e3d
movss xmm0, dword [esp + 0x30]
mov ecx, str.picker
mov eax, dword [esp + 0x1c]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x5c], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x594c], xmm0
call fcn.10016420
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x46a4]
movss xmm0, dword [eax + 0x46b0]
addss xmm0, dword [eax + 0x37e8]
mov eax, dword [0x103ca828]
addss xmm1, dword [0x103a26c8]
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.100169d0
test al, al
je 0x10036058
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x3e38]
cmp word [eax + 0x9a], 1
jne 0x10036008
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x10035e86
push 0
mov edx, edi
mov ecx, eax
call fcn.10029f70
add esp, 4
mov ecx, dword [0x103ca828]
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 + 0x40]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x38], xmm0
push eax
mov ecx, dword [esi + 0x248]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm3
call fcn.1001f330
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 [0x103ca828]
movaps xmm0, xmmword [0x103a2af0]
movups xmmword [esp + 0x54], xmm0
mov dword [esp], 0x3f800000
mov eax, dword [esi + 0x3e38]
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x44]
mov byte [eax + 0x90], 1
mov eax, dword [esp + 0x20]
movss dword [esp + 0x94], xmm0
push 0
push ecx
movss xmm0, dword [eax + 0x37a8]
lea ecx, [esp + 0x5c]
movss dword [esp], xmm0
call fcn.10005110
mov ecx, dword [esi + 0x3e38]
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, dword [ecx + 0x248]
lea eax, [esp + 0x44]
push eax
call fcn.10021730
call fcn.1000c2a0
mov eax, dword [0x103ca828]
mov ecx, 0x10390858
movss xmm0, dword [esp + 0x84]
mulss xmm0, dword [0x103a282c]
mov esi, dword [esp + 0x48]
mov edx, esi
or dword [eax + 0x4684], 1
movss dword [eax + 0x4688], xmm0
mov eax, dword [esp + 0x1c]
add eax, 0x594c
push eax
mov eax, dword [esp + 0x3c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.100364f0
add esp, 8
mov byte [esp + 0x17], al
mov eax, dword [0x103ca828]
mov dword [esp + 0x38], eax
mov ecx, dword [eax + 0x3e38]
cmp dword [eax + 0x47a4], ecx
jne 0x10036038
cmp byte [eax + 0x47fd], 0
je 0x10036038
cmp dword [eax + 0x47dc], 0
jne 0x10036038
or dword [eax + 0x4800], 2
test dword [ecx + 8], 0x1000000
je 0x10036048
mov byte [eax + 0x3de6], 1
call fcn.10013920
mov eax, dword [esp + 0x38]
mov byte [eax + 0x3de6], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x28], edi
je 0x1003608a
test cl, cl
js 0x1003608a
movss xmm1, dword [edx + 0x37ec]
xorps xmm0, xmm0
call fcn.100155d0
mov ecx, dword [esp + 0x28]
mov edx, edi
push 0
call fcn.10029f70
add esp, 4
cmp byte [esp + 0x17], 0
je 0x10036232
cmp dword [esp + 0x24], 0
jne 0x10036232
movups xmm0, xmmword [esp + 0x74]
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x103a2db0]
movups xmmword [esp + 0x8c], xmm0
cmp eax, 0x8200000
jne 0x10036161
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x94]
movss xmm0, dword [esp + 0x8c]
lea edx, [esp + 0x90]
movss xmm1, dword [esp + 0x90]
lea ecx, [esp + 0x8c]
movss xmm2, dword [esp + 0x94]
push eax
movss dword [edi + 0x5940], xmm0
movss dword [edi + 0x5944], xmm1
call fcn.100051c0
movss xmm0, dword [esp + 0x98]
lea ecx, [esp + 0x78]
movss xmm6, dword [esp + 0x90]
add esp, 4
movss xmm7, dword [esp + 0x90]
movss dword [esp + 0x74], xmm6
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x7c], xmm0
mov dword [esp + 0x80], 0
call fcn.10005110
mov dword [edi + 0x5948], eax
jmp 0x10036173
movss xmm7, dword [esp + 0x90]
movss xmm6, dword [esp + 0x8c]
cmp dword [esp + 0x88], 0x10100000
movss xmm1, dword [esp + 0x94]
jne 0x1003620f
movaps xmm2, xmm6
xorps xmm3, xmm3
movaps xmm6, xmm7
movaps xmm4, xmm2
movaps xmm0, xmm6
comiss xmm1, xmm0
jbe 0x100361af
movss xmm3, dword [0x103a2924]
movaps xmm6, xmm1
movaps xmm1, xmm0
comiss xmm6, xmm4
jbe 0x100361c9
movss xmm0, dword [0x103a2908]
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 [0x103a2808]
addss xmm0, dword [0x103a26d8]
divss xmm6, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x103a26d8]
addss xmm6, xmm3
divss xmm7, xmm0
andps xmm6, xmmword [0x103a2de0]
cmp byte [esp + 0x4c], 0
movss dword [esi], xmm6
movss dword [esi + 4], xmm7
movss dword [esi + 8], xmm1
je 0x10036232
movss xmm0, dword [esp + 0x98]
movss dword [esi + 0xc], xmm0
mov ecx, dword [0x103ca828]
mov eax, dword [ecx + 0x3e38]
dec dword [eax + 0xc8]
mov eax, dword [esp + 0x1c]
test byte [eax + 0x46a0], 1
je 0x1003638e
test dword [esp + 0x18], 0x200
jne 0x1003638e
call fcn.1001af00
test al, al
je 0x10036384
mov ecx, str._COL3F
mov byte [esp + 0x23], 0
call fcn.1001afc0
test eax, eax
je 0x1003629d
mov eax, dword [eax]
mov byte [esp + 0x23], 1
mov byte [esp + 0x17], 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.1001afc0
test eax, eax
je 0x100362c5
mov ecx, dword [esp + 0x6c]
shl ecx, 2
push ecx
push dword [eax]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x17], 1
jmp 0x100362d0
cmp byte [esp + 0x23], 0
je 0x10036375
test dword [esp + 0x18], 0x10000000
je 0x10036375
movss xmm2, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm2
movss xmm4, dword [esi]
jbe 0x10036304
movss xmm3, dword [0x103a2924]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x10036307
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x10036324
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x103a2908]
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 [0x103a2808]
addss xmm0, dword [0x103a26d8]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x103a26d8]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x103a2de0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov ecx, dword [0x103ca828]
mov byte [ecx + 0x492e], 0
jmp 0x1003638a
mov ecx, dword [0x103ca828]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100363ae
mov edx, dword [eax + 0x3e70]
test edx, edx
je 0x100363ae
cmp dword [eax + 0x3e8c], esi
jne 0x100363ae
mov dword [eax + 0x4698], edx
cmp byte [esp + 0x17], 0
je 0x100363ce
cmp dword [eax + 0x4698], 0
je 0x100363ce
or dword [ecx + 0x46a0], 4
mov word [ecx + 0x3e80], 0x101
mov ecx, 1
call fcn.100068c0
mov ecx, dword [esp + 0x9c]
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.101238be
mov esp, ebp
pop ebp
ret