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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
mov edi, dword [0x1026a4b8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x1bac]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x1bac]
mov dword [esp + 0x2c], eax
cmp byte [eax + 0xaf], 0
je 0x100d6711
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c34], 1
movss xmm2, dword [edi + 0x1564]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x1940]
movss dword [esp + 0x3c], xmm2
je 0x100d673e
movss xmm0, dword [edi + 0x1c38]
jmp 0x100d6746
movss xmm0, dword [eax + 0x1c0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x100d678b
cmp dword [eax + 0x1a4], 0
movss xmm1, dword [eax + 0x258]
jne 0x100d6768
cmp dword [edi + 0x1f18], 0
je 0x100d6770
movss xmm1, dword [eax + 0x228]
subss xmm1, dword [eax + 0xf0]
addss xmm1, xmm0
movss xmm0, dword [0x10251588]
maxss xmm0, xmm1
xorps xmm1, xmm1
test byte [ebp + 8], 0x10
cvttss2si esi, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
jne 0x100d67a7
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x1578]
movss dword [esp + 0x1c], xmm1
subss xmm0, xmm1
mov dword [esp + 0x18], ecx
mov eax, ecx
movss dword [esp + 0x34], xmm0
cmp ecx, 0xffffffff
jae 0x100d67dc
mov cl, byte [eax]
test cl, cl
je 0x100d67d8
cmp cl, 0x23
jne 0x100d67d2
cmp byte [eax + 1], cl
je 0x100d67d8
inc eax
cmp eax, 0xffffffff
jb 0x100d67c2
mov dword [esp + 0x18], eax
lea edx, [esp + 0x48]
mov dword [edi + 0x1c34], 0
mov ecx, 1
mov dword [esp + 0x48], 0x40a00000
mov dword [esp + 0x4c], 0x40a00000
call fcn.100af2a0
call fcn.100bad00
mov ecx, dword [esp + 0x14]
call fcn.100ba730
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], ecx
test cl, 0x20
je 0x100d682d
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x100d6840
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.100d8f70
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x2e80]
test ecx, 0x700000
jne 0x100d6857
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x100d6868
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x100d6879
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x100d688a
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
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 + 0x30], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x10]
movss xmm3, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [edx + 8]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm2
test al, al
je 0x100d68dd
movss xmm4, dword [edx + 0xc]
jmp 0x100d68e5
movss xmm4, dword [0x10251588]
mov eax, ecx
movss dword [esp + 0x5c], xmm4
and eax, 0x10100000
mov dword [esp + 0x44], eax
cmp eax, 0x10100000
jne 0x100d6939
lea eax, [esp + 0x58]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x54]
call fcn.100aeaa0
movss xmm4, dword [esp + 0x60]
add esp, 4
movss xmm2, dword [esp + 0x58]
movss xmm1, dword [esp + 0x54]
movss xmm3, dword [esp + 0x50]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
jmp 0x100d6a14
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100d6a14
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x100d6967
movss xmm6, dword [0x10251864]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x100d6984
movss xmm0, dword [0x1025184c]
movaps xmm2, xmm5
subss xmm0, xmm6
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov eax, dword [edi + 0x2e8c]
minss xmm0, xmm7
movaps xmm1, xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x102516b0]
addss xmm0, dword [0x10251468]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x10251468]
andps xmm3, xmmword [0x10251e10]
divss xmm1, xmm0
cmp eax, dword [edx]
jne 0x100d6a14
mov eax, dword [edi + 0x2e90]
cmp eax, dword [edx + 4]
jne 0x100d6a14
mov eax, dword [edi + 0x2e94]
cmp eax, dword [edx + 8]
jne 0x100d6a14
ucomiss xmm1, dword [0x1025145c]
lahf
test ah, 0x44
jp 0x100d69ff
movss xmm3, dword [edi + 0x2e84]
ucomiss xmm2, dword [0x1025145c]
lahf
test ah, 0x44
jp 0x100d6a14
movss xmm1, dword [edi + 0x2e88]
comiss xmm3, dword [0x1025145c]
movss xmm5, dword [0x10251854]
movss xmm0, dword [0x10251528]
jb 0x100d6a32
movaps xmm7, xmm0
jmp 0x100d6a35
movaps xmm7, xmm5
movss xmm6, dword [0x102517ac]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x50], eax
jb 0x100d6a5a
movaps xmm3, xmm0
jmp 0x100d6a5d
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x54], eax
jb 0x100d6a77
movaps xmm1, xmm0
jmp 0x100d6a7a
movaps xmm1, xmm5
comiss xmm4, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x58], eax
jae 0x100d6a92
movaps xmm0, xmm5
cmp dword [edi + 0x15b8], 0
mulss xmm4, xmm6
mov byte [esp + 0xe], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
movss xmm2, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xf4]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm3
jne 0x100d6ad8
movss xmm1, dword [esp + 0x1c]
jmp 0x100d6adb
xorps xmm1, xmm1
mov dword [esp + 0x20], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
test cl, 0x10
jne 0x100d6eb5
test cl, 0x20
jne 0x100d6b19
cmp dword [edi + 0x15b8], 0
je 0x100d6b19
movss xmm1, dword [esp + 0x34]
addss xmm1, dword [edi + 0x1578]
jmp 0x100d6b1c
xorps xmm1, xmm1
cmp byte [esp + 0x30], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
je 0x100d6b39
movss xmm1, dword [edx + 0xc]
jmp 0x100d6b41
movss xmm1, dword [0x10251588]
movss xmm0, dword [edx]
mov dword [esp + 0x38], 0x41500000
push dword [esp + 0x38]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edx + 4]
mov dword [esp + 0x38], 0x41900000
push dword [esp + 0x38]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [edx + 8]
lea edx, [esp + 0x68]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm1
call fcn.100d8280
add esp, 0xc
test al, al
je 0x100d6c60
test byte [ebp + 8], 4
jne 0x100d6c60
movups xmm0, xmmword [esp + 0x60]
mov eax, dword [0x1026a4b8]
xor edx, edx
movups xmmword [edi + 0x2e98], xmm0
mov eax, dword [eax + 0x1bac]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10246ad8
call fcn.100ae2f0
mov ecx, eax
add esp, 4
mov eax, dword [0x1026a4b8]
cmp dword [eax + 0x1be0], ecx
jne 0x100d6bee
mov dword [eax + 0x1be4], ecx
cmp dword [eax + 0x1c1c], ecx
jne 0x100d6bfd
mov byte [eax + 0x1c20], 1
xor edx, edx
call fcn.100bc190
movss xmm1, dword [edi + 0x1c54]
movss xmm0, dword [edi + 0x1574]
addss xmm0, dword [edi + 0x1c60]
mov eax, dword [0x1026a4b8]
subss xmm1, dword [0x10251588]
or dword [eax + 0x1c74], 1
movss dword [eax + 0x1c88], xmm0
movss dword [eax + 0x1c84], xmm1
mov dword [eax + 0x1c8c], 0
mov dword [eax + 0x1c90], 0
mov dword [eax + 0x1c78], 1
jmp 0x100d6c65
mov eax, dword [0x1026a4b8]
test byte [ebp + 8], 8
jne 0x100d6d9b
cmp byte [eax + 0x3f7], 0
mov edx, dword [eax + 0x1bac]
je 0x100d6d9b
cmp byte [eax + 0x1d97], 0
je 0x100d6cc0
cmp byte [eax + 0x1d96], 0
jne 0x100d6cc0
test byte [eax + 0x1c4c], 4
jne 0x100d6d9b
mov ecx, dword [eax + 0x1d48]
cmp ecx, dword [eax + 0x1c48]
jne 0x100d6d9b
test ecx, ecx
je 0x100d6d9b
jmp 0x100d6d4e
mov ecx, dword [eax + 0x1c50]
test cl, 1
je 0x100d6d9b
cmp dword [eax + 0x1bb0], edx
je 0x100d6cdf
test cl, cl
jns 0x100d6d9b
mov ecx, dword [eax + 0x1be0]
test ecx, ecx
je 0x100d6d03
cmp ecx, dword [eax + 0x1c48]
je 0x100d6d03
cmp byte [eax + 0x1bed], 0
jne 0x100d6d03
cmp ecx, dword [edx + 0x70]
jne 0x100d6d9b
mov ecx, dword [eax + 0x1d44]
test ecx, ecx
je 0x100d6d31
mov ecx, dword [ecx + 0x32c]
test ecx, ecx
je 0x100d6d31
cmp byte [ecx + 0xab], 0
je 0x100d6d31
cmp ecx, dword [edx + 0x32c]
je 0x100d6d31
test dword [ecx + 0x10], 0x8000000
jne 0x100d6d9b
test byte [eax + 0x1c4c], 4
jne 0x100d6d9b
mov eax, dword [eax + 0x1c48]
cmp eax, dword [edx + 0x70]
jne 0x100d6d4e
cmp byte [edx + 0xac], 0
jne 0x100d6d9b
mov ecx, dword [edx + 0xe4]
mov eax, dword [edx + 0xec]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100ae2f0
mov ecx, eax
add esp, 4
mov eax, dword [0x1026a4b8]
cmp dword [eax + 0x1be0], ecx
jne 0x100d6d82
mov dword [eax + 0x1be4], ecx
cmp dword [eax + 0x1c1c], ecx
jne 0x100d6d91
mov byte [eax + 0x1c20], 1
mov edx, 1
call fcn.100bc190
mov ecx, 0x10246ad8
call fcn.100bc4f0
test al, al
je 0x100d6ea6
mov eax, dword [edi + 0x1bac]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cmp eax, edx
je 0x100d6e12
push 0
mov ecx, eax
call fcn.100cc570
mov ecx, dword [0x1026a4b8]
add esp, 4
mov eax, dword [ecx + 0x1bac]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x1bac]
cmp byte [eax + 0xaf], 0
jne 0x100d6e12
movss xmm1, dword [0x10251864]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.100ba850
mov eax, dword [0x1026a4b8]
mov ecx, str.picker
movss xmm0, dword [esp + 0x3c]
mulss xmm0, dword [0x102516d8]
mov edx, dword [esp + 0x10]
or dword [eax + 0x1c34], 1
movss dword [eax + 0x1c38], xmm0
lea eax, [edi + 0x2e98]
push eax
mov eax, dword [esp + 0x44]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.100d72a0
mov byte [esp + 0x16], al
add esp, 8
mov eax, dword [0x1026a4b8]
mov dword [esp + 0x40], eax
mov ecx, dword [eax + 0x1bac]
cmp dword [eax + 0x1d44], ecx
jne 0x100d6e86
mov dword [eax + 0x1e44], ecx
mov dword [eax + 0x1e48], 2
test dword [ecx + 0x10], 0x1000000
je 0x100d6e96
mov byte [eax + 0x1b56], 1
call fcn.100b9d30
mov eax, dword [esp + 0x40]
mov byte [eax + 0x1b56], 0
mov ecx, dword [ebp + 8]
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
je 0x100d6f0f
test cl, cl
js 0x100d6f0f
test cl, 0x20
je 0x100d6ed0
movss xmm0, dword [esp + 0x1c]
jmp 0x100d6edf
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x1578]
addss xmm3, dword [edi + 0x1564]
mov ecx, dword [esp + 0x2c]
addss xmm2, xmm0
push 0
mov edx, eax
movss dword [ecx + 0xf4], xmm3
movss dword [ecx + 0xf0], xmm2
mov ecx, dword [esp + 0x18]
call fcn.100cc570
add esp, 4
cmp byte [esp + 0xe], 0
je 0x100d7068
cmp dword [esp + 0x20], 0
jne 0x100d7068
movups xmm0, xmmword [esp + 0x50]
mov eax, dword [ebp + 8]
and eax, 0x8200000
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10251e00]
movups xmmword [esp + 0x50], xmm0
cmp eax, 0x8200000
jne 0x100d6f97
movss xmm0, dword [esp + 0x50]
lea eax, [esp + 0x58]
movss xmm1, dword [esp + 0x54]
lea edx, [esp + 0x54]
movss xmm2, dword [esp + 0x58]
lea ecx, [esp + 0x50]
push eax
movss dword [edi + 0x2e84], xmm0
movss dword [edi + 0x2e88], xmm1
call fcn.100aeaa0
movq xmm0, qword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x58]
movq qword [edi + 0x2e8c], xmm0
mov dword [edi + 0x2e94], eax
cmp dword [esp + 0x44], 0x10100000
jne 0x100d7032
movss xmm1, dword [esp + 0x54]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x58]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x50]
movaps xmm2, xmm3
jbe 0x100d6fd3
movss xmm5, dword [0x10251864]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x100d6fed
movss xmm0, dword [0x1025184c]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm3
minss xmm0, xmm4
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x102516b0]
addss xmm0, dword [0x10251468]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10251468]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x10251e10]
jmp 0x100d7044
movss xmm3, dword [esp + 0x58]
movss xmm2, dword [esp + 0x54]
movss xmm1, dword [esp + 0x50]
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x100d7068
movss xmm0, dword [esp + 0x5c]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1026a4b8]
mov eax, dword [eax + 0x1bac]
dec dword [eax + 0xe4]
call fcn.100bae30
mov ecx, 1
call fcn.100af320
test byte [edi + 0x1c50], 1
je 0x100d7256
test dword [ebp + 8], 0x200
jne 0x100d7256
mov esi, dword [0x1026a4b8]
cmp byte [esi + 0x1e88], 0
je 0x100d725c
mov edx, dword [esi + 0x1c50]
mov eax, dword [esi + 0x1bac]
test dl, 1
je 0x100d725c
mov ecx, dword [esi + 0x1bb4]
test ecx, ecx
je 0x100d725c
mov eax, dword [eax + 0x32c]
cmp eax, dword [ecx + 0x32c]
jne 0x100d725c
test dl, 2
mov eax, 0x1c64
mov edx, dword [esi + 0x1c48]
mov ecx, 0x1c54
cmove eax, ecx
add eax, esi
mov dword [esp + 0x44], eax
test edx, edx
jne 0x100d711c
mov ecx, dword [esi + 0x1bac]
push eax
call fcn.100b0a10
mov edx, eax
mov eax, dword [esp + 0x44]
cmp dword [esi + 0x1ea0], edx
je 0x100d725c
movups xmm0, xmmword [eax]
mov ecx, str._COL3F
mov dword [esi + 0x1ee0], edx
mov byte [esi + 0x1e8a], 1
movups xmmword [esi + 0x1ed0], xmm0
mov byte [esp + 0xf], 0
call fcn.100bfad0
mov esi, dword [esp + 0x10]
test eax, eax
je 0x100d7170
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.100bfad0
test eax, eax
je 0x100d7198
mov ecx, dword [esp + 0x48]
shl ecx, 2
push ecx
push dword [eax]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x100d71a3
cmp byte [esp + 0xf], 0
je 0x100d7247
test dword [ebp + 8], 0x10000000
je 0x100d7247
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x100d71d6
movss xmm5, dword [0x10251864]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x100d71d9
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x100d71f6
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1025184c]
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 [0x102516b0]
addss xmm0, dword [0x10251468]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10251468]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x10251e10]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov esi, dword [0x1026a4b8]
mov byte [esi + 0x1e8a], 0
jmp 0x100d725c
mov esi, dword [0x1026a4b8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100d727c
mov eax, dword [edi + 0x1be0]
test eax, eax
je 0x100d727c
cmp dword [edi + 0x1c10], ecx
jne 0x100d727c
mov dword [edi + 0x1c48], eax
mov al, byte [esp + 0xe]
test al, al
je 0x100d7294
or dword [esi + 0x1c50], 4
mov word [esi + 0x1bf0], 0x101
pop edi
pop esi
mov esp, ebp
pop ebp
ret