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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x10050040]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x100c6c64]
push edi
mov edi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edi
mov eax, dword [esi + 0x1a20]
mov dword [esp + 0x54], esi
mov byte [eax + 0x78], 1
mov eax, dword [esi + 0x1a20]
mov dword [esp + 0x40], eax
cmp byte [eax + 0x7b], 0
je 0x10029ea0
xor al, al
jmp 0x1002a935
movss xmm0, dword [esi + 0x1548]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x1938]
movss dword [esp + 0x58], xmm0
test bl, 0x10
je 0x10029ec4
xorps xmm3, xmm3
jmp 0x10029ecf
movaps xmm3, xmm0
addss xmm3, dword [esi + 0x155c]
call fcn.10020f93
mov ecx, dword [esp + 0x28]
subss xmm0, xmm3
xor edx, edx
movss dword [esp + 0x2c], xmm0
call fcn.1001b66d
mov dword [esp + 0x3c], eax
call fcn.1002c94b
mov ecx, dword [esp + 0x28]
call fcn.10022ff5
mov dword [esp + 0x5c], ebx
test bl, 0x20
je 0x10029f10
and ebx, 0xff9fffff
or ebx, 0x100008
test bl, 8
jne 0x10029f1e
mov edx, ebx
mov ecx, edi
call fcn.10029943
mov ecx, 0x700000
test ecx, ebx
jne 0x10029f31
mov eax, dword [esi + 0x2c40]
and eax, ecx
or ebx, eax
mov ecx, 0x1800000
test ecx, ebx
jne 0x10029f44
mov eax, dword [esi + 0x2c40]
and eax, ecx
or ebx, eax
mov ecx, 0x6000000
test ecx, ebx
jne 0x10029f57
mov eax, dword [esi + 0x2c40]
and eax, ecx
or ebx, eax
mov eax, dword [esi + 0x2c40]
movss xmm0, dword [edi]
and eax, 0xf80fffff
or ebx, eax
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edi + 4]
mov ecx, ebx
shr ecx, 1
mov eax, ebx
shr eax, 0x13
not cl
and eax, 0xffffff01
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 8]
and ecx, 0xffffff01
mov dword [esp + 0x4c], eax
movzx eax, cl
add eax, 3
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
movss dword [esp + 0x68], xmm0
test cl, cl
je 0x10029fc1
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x6c], xmm0
jmp 0x10029fc9
mov dword [esp + 0x6c], 0x3f800000
test ebx, 0x200000
je 0x10029ffc
movss xmm2, dword [esp + 0x68]
lea eax, [esp + 0x68]
movss xmm1, dword [esp + 0x64]
lea edx, [esp + 0x64]
movss xmm0, dword [esp + 0x60]
lea ecx, [esp + 0x60]
push eax
call fcn.10016a24
mov ecx, dword [esp + 0x38]
add esp, 4
movss xmm0, dword [esp + 0x60]
xorps xmm2, xmm2
comiss xmm0, xmm2
movss xmm3, dword [0x1004c784]
movss xmm1, dword [0x1004c5e4]
jb 0x1002a01f
movaps xmm5, xmm1
jmp 0x1002a022
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x60]
movss xmm4, dword [0x1004c724]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm2
mov dword [esp + 0x70], eax
jb 0x1002a050
movaps xmm5, xmm1
jmp 0x1002a053
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x64]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x68]
comiss xmm0, xmm2
mov dword [esp + 0x74], eax
jb 0x1002a079
movaps xmm5, xmm1
jmp 0x1002a07c
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x68]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x6c]
comiss xmm0, xmm2
mov dword [esp + 0x78], edx
jae 0x1002a0a0
movaps xmm1, xmm3
movss xmm0, dword [esp + 0x6c]
mulss xmm0, xmm4
mov byte [esp + 0xf], 0
mov byte [esp + 0x1f], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x7c], eax
test ebx, 0x300000
je 0x1002a48c
test bl, 0x20
jne 0x1002a48c
mov ecx, dword [esp + 0x20]
mov edx, str.M:0.000
movss xmm2, dword [esi + 0x155c]
movss xmm4, dword [esp + 0x2c]
movaps xmm0, xmm2
movaps xmm1, xmm4
mov dword [esp + 0x80], 0x1004c330
lea eax, [ecx - 1]
mov dword [esp + 0x84], 0x1004c334
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push ecx
mov dword [esp], 0xbf800000
push 0
push 0
mov dword [esp + 0x94], 0x1004c338
mulss xmm0, xmm3
mov dword [esp + 0x98], 0x1004c33c
mov dword [esp + 0xdc], str.R:_3d
mov dword [esp + 0xe0], str.G:_3d
subss xmm1, xmm0
mov dword [esp + 0xe4], str.B:_3d
movd xmm0, ecx
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xec], str.H:_3d
mov dword [esp + 0xf0], str.S:_3d
mov dword [esp + 0xf4], str.V:_3d
mov dword [esp + 0xac], str.R:_0.3f
mov dword [esp + 0xb0], str.G:_0.3f
divss xmm1, xmm0
mov dword [esp + 0xb4], str.B:_0.3f
mov dword [esp + 0xbc], str.H:_0.3f
mov dword [esp + 0xc0], str.S:_0.3f
mov dword [esp + 0xc4], str.V:_0.3f
cvttss2si eax, xmm1
movss xmm1, dword [0x1004c610]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x1004c610]
mulss xmm2, xmm3
subss xmm4, xmm2
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, 0x1004c340
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov eax, str.A:_3d
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf8], eax
mov eax, str._0.3f
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, str.A:_0.3f
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc8], eax
maxss xmm1, xmm0
mov eax, ebx
and eax, 0x1000000
mov dword [esp + 0x3c], eax
cmove edx, ecx
lea ecx, [esp + 0x20]
movss dword [esp + 0x38], xmm1
call fcn.1001c0d1
movss xmm1, dword [esp + 0x1c]
add esp, 0xc
test ebx, 0x200000
movss xmm0, dword [eax]
push 0
pop eax
setne al
inc eax
xor ecx, ecx
comiss xmm0, xmm1
movaps xmm0, xmm1
cmovae eax, ecx
mov dword [esp + 0x10], eax
call fcn.10020e5a
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x20], ecx
jbe 0x1002a3ba
mov edx, dword [esp + 0x10]
shl edx, 4
cmp dword [esp + 0x30], ecx
je 0x1002a3cc
and dword [esp + 0x44], ecx
mov eax, ebx
and eax, 8
mov bl, cl
mov dword [esp + 0x30], eax
lea eax, [esp + 0x90]
mov edi, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x1002a31c
movss xmm1, dword [esi + 0x155c]
xorps xmm0, xmm0
call fcn.1002cc13
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x20]
jne 0x1002a338
movss xmm0, dword [esp + 0x2c]
call fcn.10020e5a
mov ecx, dword [esp + 0x24]
cmp byte [esp + 0x4c], 0
mov eax, dword [esp + 0x10]
je 0x1002a348
xorps xmm0, xmm0
jmp 0x1002a350
movss xmm0, dword [0x1004c610]
movss xmm3, dword [0x1004c59c]
push ecx
mov dword [esp], 0x3f800000
push dword [eax]
lea eax, [esp + 0x38]
movss dword [esp + 0x38], xmm0
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + ecx*4 + 0x90]
push eax
push 4
pop edx
call fcn.1002428f
add esp, 0x14
or bl, al
test edi, edi
jne 0x1002a397
call fcn.1001cc13
mov ecx, dword [esp + 0x14]
add dword [esp + 0x10], 4
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x20]
jl 0x1002a304
mov edi, dword [esp + 0x38]
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x50]
mov al, byte [esp + 0xf]
mov byte [esp + 0x1f], al
call fcn.10020f4d
jmp 0x1002a62c
xor eax, eax
xor edi, edi
cmp byte [esp + 0x4c], al
mov ecx, 0xff
mov dword [esp + 0x10], eax
cmovne ecx, edi
mov dword [esp + 0x14], ecx
mov ecx, ebx
mov edi, dword [esp + 0x14]
and ecx, 8
mov dword [esp + 0x44], ecx
mov bl, al
lea ecx, [esp + 0xc0]
add ecx, edx
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x1002a418
movss xmm1, dword [esi + 0x155c]
xorps xmm0, xmm0
call fcn.1002cc13
mov eax, dword [esp + 0x10]
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x20]
jne 0x1002a434
movss xmm0, dword [esp + 0x2c]
call fcn.10020e5a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x70]
movss xmm2, dword [0x1004c610]
lea edx, [edx + eax*4]
push dword [ecx]
push edi
push ecx
mov ecx, dword [esp + eax*4 + 0x8c]
call fcn.100246aa
add esp, 0xc
or bl, al
cmp dword [esp + 0x44], 0
jne 0x1002a468
call fcn.1001cc13
mov eax, dword [esp + 0x14]
add dword [esp + 0x24], 4
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x20]
jl 0x1002a400
mov edi, dword [esp + 0x38]
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x50]
jmp 0x1002a3c2
test ebx, 0x400000
je 0x1002a631
test bl, 0x20
jne 0x1002a631
test cl, cl
mov ecx, 0xff
je 0x1002a519
cmp dword [esp + 0x7c], ecx
cmovg eax, ecx
and dword [esp + 0x14], 0
cmp dword [esp + 0x7c], 0
cmovl eax, dword [esp + 0x14]
cmp edx, ecx
push eax
mov eax, edx
cmovg eax, ecx
and dword [esp + 0x18], 0
test edx, edx
mov edx, dword [esp + 0x78]
cmovs eax, dword [esp + 0x18]
cmp edx, ecx
push eax
mov eax, edx
cmovg eax, ecx
and dword [esp + 0x1c], 0
test edx, edx
mov edx, dword [esp + 0x78]
cmovs eax, dword [esp + 0x1c]
cmp edx, ecx
push eax
mov eax, edx
cmovg eax, ecx
xor ecx, ecx
test edx, edx
cmovs eax, ecx
push eax
push 0x1004c3bc
lea eax, [esp + 0x104]
push 0x40
push eax
call fcn.10016380
add esp, 0x1c
jmp 0x1002a56f
cmp edx, ecx
mov eax, edx
cmovg eax, ecx
and dword [esp + 0x14], 0
test edx, edx
mov edx, dword [esp + 0x74]
cmovs eax, dword [esp + 0x14]
cmp edx, ecx
push eax
mov eax, edx
cmovg eax, ecx
and dword [esp + 0x18], 0
test edx, edx
mov edx, dword [esp + 0x74]
cmovs eax, dword [esp + 0x18]
cmp edx, ecx
push eax
mov eax, edx
cmovg eax, ecx
xor ecx, ecx
test edx, edx
cmovs eax, ecx
push eax
push 0x1004c3d0
lea eax, [esp + 0x100]
push 0x40
push eax
call fcn.10016380
add esp, 0x18
movss xmm0, dword [esp + 0x2c]
call fcn.10020e5a
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
and dword [esp + 0x18], 0
lea edx, [esp + 0xf0]
push 0
push 0
push 6
push eax
push 0x40
mov ecx, str.Text
call fcn.10026263
add esp, 0x14
test al, al
je 0x1002a622
mov byte [esp + 0xf], 1
lea eax, [esp + 0xf0]
mov cl, byte [eax]
cmp cl, 0x23
je 0x1002a5c6
cmp cl, 0x20
je 0x1002a5c6
cmp cl, 9
jne 0x1002a5c9
inc eax
jmp 0x1002a5b5
xor ecx, ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ecx
cmp byte [esp + 0x34], cl
je 0x1002a605
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x7c]
push ecx
push str._02X_02X_02X_02X
push eax
call fcn.10015127
add esp, 0x18
jmp 0x1002a622
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x78]
push ecx
push str._02X_02X_02X
push eax
call fcn.10015127
add esp, 0x14
test bl, 8
jne 0x1002a62c
call fcn.1001cc13
call fcn.10020f4d
xor eax, eax
mov dword [esp + 0x10], eax
test bl, 0x10
jne 0x1002a7ba
test bl, 0x20
jne 0x1002a655
movss xmm1, dword [esi + 0x155c]
xorps xmm0, xmm0
call fcn.1002cc13
cmp byte [esp + 0x34], 0
je 0x1002a663
movss xmm1, dword [edi + 0xc]
jmp 0x1002a66b
movss xmm1, dword [0x1004c610]
movss xmm0, dword [edi]
lea edx, [esp + 0x80]
and dword [esp + 0x18], 0
mov ecx, str.ColorButton
push dword [esp + 0x18]
and dword [esp + 0x18], 0
push dword [esp + 0x18]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [edi + 8]
push ebx
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
call fcn.1002946e
add esp, 0xc
test al, al
je 0x1002a739
test bl, 4
jne 0x1002a739
lea edi, [esi + 0x2c44]
mov ecx, 0x1004c41c
lea esi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1001c87f
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
mov esi, dword [esp + 0x54]
and dword [esp + 0x14], 0
and dword [esp + 0x18], 0
movss xmm0, dword [eax + 0x10c]
subss xmm0, dword [0x1004c610]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x1558]
addss xmm0, dword [eax + 0x118]
lea eax, [esp + 0x14]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.100216c7
mov edi, dword [esp + 0x3c]
pop ecx
test bl, 8
jne 0x1002a743
call fcn.1001cc13
mov ecx, 0x1004c41c
call fcn.1001ca47
test al, al
je 0x1002a7ba
mov eax, dword [esi + 0x1a20]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
je 0x1002a775
mov edx, ecx
mov ecx, eax
call fcn.10021b8e
call fcn.1002c678
movss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x1004c6ac]
call fcn.10020e5a
lea eax, [esi + 0x2c44]
mov edx, edi
push eax
mov eax, dword [esp + 0x60]
mov ecx, str.picker
and eax, 0x7890002
or eax, 0x740080
push eax
call fcn.1002ab0b
or byte [esp + 0x17], al
pop ecx
pop ecx
call fcn.10020f4d
call fcn.1001cbfa
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x28], eax
je 0x1002a7e5
test bl, bl
js 0x1002a7e5
movss xmm1, dword [esi + 0x155c]
xorps xmm0, xmm0
call fcn.1002cc13
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
call fcn.10021b8e
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1002a872
cmp byte [esp + 0x1f], 0
jne 0x1002a80c
movups xmm0, xmmword [esp + 0x70]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1004cbc0]
movups xmmword [esp + 0x60], xmm0
test ebx, 0x200000
je 0x1002a839
movss xmm2, dword [esp + 0x68]
lea eax, [esp + 0x68]
movss xmm1, dword [esp + 0x64]
lea edx, [esp + 0x64]
movss xmm0, dword [esp + 0x60]
lea ecx, [esp + 0x60]
push eax
call fcn.10016ab4
pop ecx
cmp byte [esp + 0xf], 0
je 0x1002a872
cmp byte [esp + 0x34], 0
movss xmm0, dword [esp + 0x60]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [edi + 8], xmm0
je 0x1002a872
movss xmm0, dword [esp + 0x6c]
movss dword [edi + 0xc], xmm0
mov eax, dword [0x100c6c64]
mov eax, dword [eax + 0x1a20]
dec dword [eax + 0x1c8]
call fcn.1002ca5c
mov eax, dword [esp + 0x40]
test byte [eax + 0x108], 1
je 0x1002a8fa
test ebx, 0x200
jne 0x1002a8fa
call fcn.1002d48b
test al, al
je 0x1002a8fa
mov ecx, str._COL3F
call fcn.1002d51c
test eax, eax
je 0x1002a8c1
mov esi, dword [eax]
mov bl, 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
jmp 0x1002a8c5
mov bl, byte [esp + 0xf]
mov ecx, str._COL4F
call fcn.1002d51c
test eax, eax
je 0x1002a8eb
mov ecx, dword [esp + 0x20]
shl ecx, 2
push ecx
push dword [eax]
push dword [esp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov bl, 1
mov ecx, dword [0x100c6c64]
mov byte [ecx + 0x1d01], 0
jmp 0x1002a904
mov ecx, dword [0x100c6c64]
mov bl, byte [esp + 0xf]
test esi, esi
je 0x1002a928
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 0x1a3c]
test edx, edx
je 0x1002a928
cmp dword [eax + 0x1a5c], esi
jne 0x1002a928
mov eax, dword [esp + 0x40]
mov dword [eax + 0x104], edx
test bl, bl
je 0x1002a933
mov byte [ecx + 0x1a4b], 1
mov al, bl
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100411ba
mov esp, ebp
pop ebp
ret