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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x1030e040]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x10317358]
mov esi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ecx
mov eax, dword [edi + 0x3f34]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edi
mov byte [eax + 0xe1], 1
mov eax, dword [edi + 0x3f34]
mov dword [esp + 0x10], eax
cmp byte [eax + 0xe4], 0
je 0x100cd73d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret
movss xmm2, dword [edi + 0x386c]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3c9c]
movss dword [esp + 0x50], xmm2
call fcn.1005f3e0
movss dword [esp + 0x58], xmm0
test dl, 0x10
je 0x100cd76c
xorps xmm1, xmm1
jmp 0x100cd777
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x3880]
mov eax, dword [esp + 0x3c]
subss xmm0, xmm1
movss dword [esp + 0x4c], xmm1
mov dword [esp + 0x38], eax
movss dword [esp + 0x48], xmm0
cmp eax, 0xffffffff
jae 0x100cd7b4
mov edi, eax
mov cl, byte [edi]
test cl, cl
je 0x100cd7b0
cmp cl, 0x23
jne 0x100cd7a6
cmp byte [edi + 1], cl
je 0x100cd7b0
inc edi
mov dword [esp + 0x38], edi
cmp edi, 0xffffffff
jb 0x100cd796
mov edi, dword [esp + 0x14]
mov dword [edi + 0x4794], 0
mov dword [edi + 0x4798], 0
call fcn.1005f5c0
mov ecx, dword [esp + 0x3c]
call fcn.1005c2b0
mov eax, dword [edi + 0x5b00]
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x100cd7fe
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x124]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5b00], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
test cl, 0x20
je 0x100cd81b
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x100cd82d
mov edx, ecx
mov ecx, esi
call fcn.100d2370
mov ecx, dword [esp + 0xc]
test ecx, 0x700000
jne 0x100cd842
mov eax, dword [edi + 0x5afc]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x100cd857
mov eax, dword [edi + 0x5afc]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x100cd86c
mov eax, dword [edi + 0x5afc]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x100cd881
mov eax, dword [edi + 0x5afc]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5afc]
movss xmm0, dword [esi]
and eax, 0xe00fffff
movss xmm1, dword [esi + 4]
or ecx, eax
movss xmm2, dword [esi + 8]
mov edx, ecx
movss xmm6, dword [0x102f38f4]
mov eax, ecx
shr edx, 1
not dl
shr eax, 0x13
and edx, 0xffffff01
mov dword [esp + 0xc], ecx
mov dword [esp + 0x40], edx
and eax, 0xffffff01
movzx edx, dl
add edx, 3
mov dword [esp + 0x44], eax
cmp byte [esp + 0x40], 0
mov dword [esp + 0x18], edx
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
je 0x100cd8f9
movss xmm3, dword [esi + 0xc]
jmp 0x100cd8fc
movaps xmm3, xmm6
movss xmm7, dword [0x102f3804]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x94], xmm3
cmp eax, 0x10100000
jne 0x100cd93e
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.1004c340
add esp, 4
jmp 0x100cd9fd
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100cda31
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x100cd969
movss xmm4, dword [0x102f3b68]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x100cd986
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x102f3b4c]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x90], xmm5
minss xmm0, xmm2
movaps xmm1, xmm5
subss xmm3, xmm2
mov ecx, esi
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x90]
movaps xmm0, xmm1
mulss xmm0, dword [0x102f39e4]
addss xmm0, xmm7
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm7
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x102f3f30]
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm1
call fcn.100cd5d0
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
movss xmm6, dword [0x102f38f4]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
movss xmm3, dword [esp + 0x94]
comiss xmm0, dword [0x102f37f0]
movss xmm4, dword [0x102f3b50]
movss xmm7, dword [0x102f389c]
jb 0x100cda4f
movaps xmm5, xmm7
jmp 0x100cda52
movaps xmm5, xmm4
comiss xmm1, dword [0x102f37f0]
mulss xmm0, dword [0x102f3abc]
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x98], eax
jb 0x100cda77
movaps xmm0, xmm7
jmp 0x100cda7a
movaps xmm0, xmm4
comiss xmm2, dword [0x102f37f0]
movss xmm5, dword [0x102f3abc]
mulss xmm1, xmm5
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x100cdaa3
movaps xmm0, xmm7
jmp 0x100cdaa6
movaps xmm0, xmm4
comiss xmm3, dword [0x102f37f0]
mulss xmm2, xmm5
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jb 0x100cdac5
movaps xmm4, xmm7
cmp dword [edi + 0x38c0], 0
mulss xmm3, xmm5
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
addss xmm3, xmm4
cvttss2si eax, xmm3
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
movss xmm2, dword [eax + 0x128]
movss xmm3, dword [eax + 0x12c]
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x28], xmm3
jne 0x100cdb13
movss xmm1, dword [esp + 0x4c]
jmp 0x100cdb16
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0x128], xmm0
test ecx, 0x300000
je 0x100cdf26
test cl, 0x20
jne 0x100cdf26
movss xmm2, dword [edi + 0x3880]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x48]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push 0
push 0
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movaps xmm1, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x3c], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x102f3b2c]
subss xmm0, xmm1
movaps xmm1, xmm6
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x68], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x10317358]
push eax
push ecx
lea eax, [esp + 0x30]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3c9c]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x3c98]
push eax
movss dword [esp + 0x28], xmm1
call fcn.1008b4a0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x102f38ec]
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x100cdc21
xor eax, eax
jmp 0x100cdc2f
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov edx, dword [esp + 0x18]
xor esi, esi
test edx, edx
je 0x100ce1a2
shl eax, 4
cmp dword [esp + 0x60], esi
je 0x100cddc0
and ecx, 8
mov dword [esp + 0x68], ecx
lea ecx, [eax + 0x102ee13c]
mov dword [esp + 0x30], ecx
nop dword [eax + eax]
test esi, esi
je 0x100cdc82
movss xmm1, dword [edi + 0x3880]
xorps xmm0, xmm0
call fcn.1005efa0
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
cmp eax, edx
jge 0x100cdc8e
movaps xmm0, xmm1
jmp 0x100cdc94
movss xmm0, dword [esp + 0x14]
mov eax, dword [0x10317358]
or dword [eax + 0x4794], 1
cmp byte [esp + 0x44], 0
movss dword [eax + 0x479c], xmm0
je 0x100cdcb4
xorps xmm0, xmm0
jmp 0x100cdcbc
movss xmm0, dword [0x102f38f4]
movss xmm3, dword [0x102f3828]
lea eax, [esp + 0x60]
push 0
push dword [ecx]
mov ecx, dword [esi*4 + 0x102ee12c]
mov edx, 8
push eax
lea eax, [esp + 0x70]
movss dword [esp + 0x6c], xmm0
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x74], 0
lea eax, [eax + esi*4]
push eax
call fcn.100c3e10
mov ah, byte [esp + 0x1e]
add esp, 0x14
or ah, al
or byte [esp + 0xb], ah
cmp dword [esp + 0x68], 0
mov byte [esp + 0xa], ah
jne 0x100cdd9b
mov eax, dword [0x10317358]
mov ecx, 1
mov eax, dword [eax + 0x3f34]
mov dword [esp + 0x60], eax
call fcn.1005cb20
test al, al
je 0x100cdd9b
mov ecx, 0x20
call fcn.10050d30
test al, al
je 0x100cdd9b
mov eax, dword [esp + 0x60]
xor edx, edx
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1004bb50
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
mov eax, dword [eax]
cmp dword [eax + 0x3f68], ecx
jne 0x100cdd91
push ecx
push str.context
mov edx, 0xb
call fcn.1007a060
mov ecx, dword [esp + 0x6c]
add esp, 8
mov edx, 1
call fcn.10060170
mov ecx, dword [esp + 0x30]
inc esi
movss xmm1, dword [esp + 0x34]
add ecx, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
cmp esi, dword [esp + 0x18]
jl 0x100cdc60
jmp 0x100ce19e
xor esi, esi
mov edx, 0xff
cmp byte [esp + 0x44], 0
cmovne edx, esi
and ecx, 8
mov dword [esp + 0x20], ecx
lea ecx, [eax + 0x102ee1e4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], ecx
test esi, esi
jle 0x100cde06
movss xmm1, dword [edi + 0x3880]
xorps xmm0, xmm0
call fcn.1005efa0
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
lea eax, [esi + 1]
cmp eax, dword [esp + 0x18]
jge 0x100cde14
movaps xmm0, xmm1
jmp 0x100cde1a
movss xmm0, dword [esp + 0x14]
mov eax, dword [0x10317358]
movss xmm3, dword [0x102f38f4]
push 0
push dword [ecx]
or dword [eax + 0x4794], 1
mov ecx, dword [esi*4 + 0x102ee12c]
movss dword [eax + 0x479c], xmm0
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], edx
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x74], 0
lea eax, [eax + esi*4]
mov edx, 4
push eax
call fcn.100c3e10
or byte [esp + 0x1e], al
add esp, 0x14
cmp dword [esp + 0x20], 0
jne 0x100cdf01
mov eax, dword [0x10317358]
mov ecx, 1
mov eax, dword [eax + 0x3f34]
mov dword [esp + 0x44], eax
call fcn.1005cb20
test al, al
je 0x100cdf01
mov ecx, 0x20
call fcn.10050d30
test al, al
je 0x100cdf01
mov eax, dword [esp + 0x44]
xor edx, edx
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1004bb50
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
mov eax, dword [eax]
cmp dword [eax + 0x3f68], ecx
jne 0x100cdef7
push ecx
push str.context
mov edx, 0xb
call fcn.1007a060
mov ecx, dword [esp + 0x70]
add esp, 8
mov edx, 1
call fcn.10060170
mov ecx, dword [esp + 0x30]
inc esi
movss xmm1, dword [esp + 0x34]
add ecx, 4
mov edx, dword [esp + 0x60]
mov dword [esp + 0x30], ecx
cmp esi, dword [esp + 0x18]
jl 0x100cdde4
jmp 0x100ce19e
test ecx, 0x400000
je 0x100ce1b2
test cl, 0x20
jne 0x100ce1b2
cmp byte [esp + 0x40], 0
mov eax, 0xff
je 0x100cdfc1
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jns 0x100cdf5c
mov dword [esp + 0x14], 0
jmp 0x100cdf65
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0xa0]
test esi, esi
jns 0x100cdf74
xor esi, esi
jmp 0x100cdf79
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x100cdf88
xor edx, edx
jmp 0x100cdf8d
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x100cdf9c
xor ecx, ecx
jmp 0x100cdfa1
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x14]
lea eax, [esp + 0xac]
push esi
push edx
push ecx
push 0x102edd2c
push 0x40
push eax
call fcn.1004ba60
add esp, 0x1c
jmp 0x100ce017
mov esi, dword [esp + 0xa0]
test esi, esi
jns 0x100cdfd0
xor esi, esi
jmp 0x100cdfd5
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x100cdfe4
xor edx, edx
jmp 0x100cdfe9
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x100cdff8
xor ecx, ecx
jmp 0x100cdffd
cmp ecx, eax
cmovg ecx, eax
push esi
push edx
push ecx
push 0x102edd40
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.1004ba60
add esp, 0x18
mov eax, dword [0x10317358]
xor edx, edx
movss xmm4, dword [esp + 0x48]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x4794], 1
movss dword [eax + 0x479c], xmm4
lea eax, [esp + 0x70]
push 6
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x78], 0
push 0x40
push eax
mov dword [esp + 0x84], 0
call fcn.100c9650
add esp, 0x18
test al, al
je 0x100ce11a
mov byte [esp + 0xa], 1
lea ecx, [esp + 0xa8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x100ce08e
cmp al, 0x20
je 0x100ce08e
cmp al, 9
jne 0x100ce091
inc ecx
jmp 0x100ce080
cmp byte [esp + 0x40], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x100ce0f4
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.100483d0
add esp, 0x18
jmp 0x100ce11a
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
push str._02X_02X_02X
push ecx
call fcn.100483d0
add esp, 0x14
mov ecx, dword [esp + 0xc]
test cl, 8
jne 0x100ce1a2
mov eax, dword [0x10317358]
mov ecx, 1
mov esi, dword [eax + 0x3f34]
mov dword [esp + 0x20], esi
call fcn.1005cb20
test al, al
je 0x100ce19e
mov ecx, 0x20
call fcn.10050d30
test al, al
je 0x100ce19e
mov ecx, dword [esi + 0x11c]
xor edx, edx
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1004bb50
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x3f68], esi
jne 0x100ce192
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.1007a060
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.10060170
mov ecx, dword [esp + 0xc]
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
xor esi, esi
test cl, 0x10
jne 0x100ce540
test cl, 0x20
jne 0x100ce1da
cmp dword [edi + 0x38c0], esi
je 0x100ce1da
movss xmm1, dword [esp + 0x48]
addss xmm1, dword [edi + 0x3880]
jmp 0x100ce1dd
xorps xmm1, xmm1
cmp byte [esp + 0x40], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0x12c], xmm3
movss dword [eax + 0x128], xmm0
mov eax, dword [esp + 0x2c]
je 0x100ce206
movss xmm1, dword [eax + 0xc]
jmp 0x100ce20e
movss xmm1, dword [0x102f38f4]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.100d1600
mov ecx, dword [esp + 0x14]
add esp, 8
test al, al
je 0x100ce35f
test cl, 4
jne 0x100ce35f
mov eax, dword [0x10317358]
xor edx, edx
movups xmm0, xmmword [esp + 0x70]
mov dword [esp + 0x20], eax
movups xmmword [edi + 0x5b14], xmm0
mov esi, dword [eax + 0x3f34]
mov ecx, dword [esi + 0x11c]
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.1004bb50
mov ecx, eax
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
cmp dword [eax + 0x3f68], ecx
jne 0x100ce2cf
push ecx
push str.picker
mov edx, 0xb
call fcn.1007a060
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x20]
test byte [eax + 0x5c80], 4
je 0x100ce2ef
push ecx
push str.picker
push str._popup__OpenPopup___s_____0x_08X__n
call fcn.100794b0
add esp, 0xc
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.10060170
movss xmm1, dword [edi + 0x47b8]
movss xmm0, dword [edi + 0x387c]
addss xmm0, dword [edi + 0x47c4]
mov eax, dword [0x10317358]
addss xmm1, dword [0x102f37f0]
mov ecx, dword [esp + 0xc]
or dword [eax + 0x47e8], 1
movss dword [eax + 0x4800], xmm0
movss dword [eax + 0x47fc], xmm1
mov dword [eax + 0x4804], 0
mov dword [eax + 0x4808], 0
mov dword [eax + 0x47ec], 1
mov byte [eax + 0x4824], 1
test cl, 8
jne 0x100ce3e3
mov eax, dword [0x10317358]
mov ecx, 1
mov esi, dword [eax + 0x3f34]
mov dword [esp + 0x20], esi
call fcn.1005cb20
test al, al
je 0x100ce3df
mov ecx, 0x20
call fcn.10050d30
test al, al
je 0x100ce3df
mov ecx, dword [esi + 0x11c]
xor edx, edx
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1004bb50
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x3f68], esi
jne 0x100ce3d3
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.1007a060
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.10060170
mov ecx, dword [esp + 0xc]
mov esi, dword [0x10317358]
mov eax, dword [esi + 0x48b8]
cmp eax, dword [esi + 0x48c4]
jg 0x100ce406
mov dword [esi + 0x47e8], 0
jmp 0x100ce53e
mov esi, dword [esi + 0x3f34]
xor edx, edx
mov ecx, dword [esi + 0x11c]
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.1004bb50
mov ecx, eax
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
cmp dword [eax + 0x3f68], ecx
jne 0x100ce452
push ecx
push str.picker
mov edx, 0xb
call fcn.1007a060
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, 0x141
call fcn.100605c0
test al, al
je 0x100ce53a
mov eax, dword [edi + 0x3f34]
cmp word [eax + 0xec], 1
jne 0x100ce52d
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
je 0x100ce4d5
push 0
mov edx, eax
call fcn.100bd360
mov ecx, dword [0x10317358]
add esp, 4
mov eax, dword [ecx + 0x3f34]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x3f34]
cmp byte [eax + 0xe4], 0
jne 0x100ce4d5
movss xmm1, dword [0x102f3b68]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.1005ebb0
mov eax, dword [0x10317358]
mov ecx, 0x102e2ce4
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [0x102f3a08]
mov edx, dword [esp + 0x2c]
or dword [eax + 0x4794], 1
movss dword [eax + 0x479c], xmm0
lea eax, [edi + 0x5b14]
push eax
mov eax, dword [esp + 0x58]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.100cec60
or byte [esp + 0x12], al
add esp, 8
call fcn.10060880
mov ecx, dword [esp + 0xc]
jmp 0x100ce540
xor esi, esi
call fcn.10060880
mov ecx, dword [esp + 0xc]
jmp 0x100ce540
mov ecx, dword [esp + 0xc]
xor esi, esi
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x38]
je 0x100ce5a3
test cl, cl
js 0x100ce5a3
movss xmm1, dword [edi + 0x3880]
xorps xmm0, xmm0
call fcn.1005efa0
test byte [esp + 0xc], 0x20
je 0x100ce56d
movss xmm0, dword [esp + 0x4c]
jmp 0x100ce57b
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [edi + 0x3880]
movss xmm1, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
addss xmm1, xmm0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0
movss dword [eax + 0x128], xmm1
call fcn.100bd360
add esp, 4
cmp byte [esp + 0xa], 0
je 0x100ce7cf
test esi, esi
jne 0x100ce7cf
cmp byte [esp + 0xb], 0
jne 0x100ce5d7
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x102f3ee0]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0xc]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100ce6dc
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
lea edx, [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
lea ecx, [esp + 0x88]
push eax
movss dword [edi + 0x5b08], xmm0
movss dword [edi + 0x5b0c], xmm1
call fcn.1004c340
movss xmm1, dword [esp + 0x8c]
xorps xmm5, xmm5
mov eax, dword [edi + 0x5b00]
add esp, 4
comiss xmm5, xmm1
mov dword [edi + 0x5b04], eax
movss xmm4, dword [0x102f38f4]
jbe 0x100ce65e
xorps xmm0, xmm0
jmp 0x100ce665
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm7, dword [0x102f3abc]
movss xmm6, dword [0x102f389c]
movss xmm2, dword [esp + 0x8c]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x100ce694
xorps xmm0, xmm0
jmp 0x100ce69b
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [esp + 0x90]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x100ce6bf
xorps xmm4, xmm4
jmp 0x100ce6c3
minss xmm4, xmm3
mulss xmm4, xmm7
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x5b10], eax
jmp 0x100ce6fa
movss xmm3, dword [esp + 0x90]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x88]
mov eax, dword [esp + 0xc]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x100ce7a8
movaps xmm4, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x100ce72d
movss xmm5, dword [0x102f3b68]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x100ce747
movss xmm0, dword [0x102f3b4c]
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 + 0x90], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x102f39e4]
addss xmm0, dword [0x102f3804]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x102f3804]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x102f3f30]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
cmp byte [esp + 0x40], 0
mov eax, dword [esp + 0x2c]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x100ce7cf
movss xmm0, dword [esp + 0x94]
movss dword [eax + 0xc], xmm0
cmp dword [esp + 0x5c], 0
jne 0x100ce7e0
mov dword [edi + 0x5b00], 0
mov eax, dword [0x10317358]
mov eax, dword [eax + 0x3f34]
dec dword [eax + 0x11c]
call fcn.1005f6f0
test byte [edi + 0x47b4], 1
je 0x100ce94e
test dword [esp + 0xc], 0x200
jne 0x100ce94e
call fcn.10065590
test al, al
je 0x100ce94e
xor edx, edx
mov byte [esp + 0xb], 0
mov ecx, str._COL3F
call fcn.10065650
test eax, eax
je 0x100ce851
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
xor edx, edx
mov ecx, str._COL4F
call fcn.10065650
mov ecx, eax
test ecx, ecx
je 0x100ce880
mov eax, dword [esp + 0x18]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x34]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x100ce88b
cmp byte [esp + 0xb], 0
je 0x100ce934
test dword [esp + 0xc], 0x10000000
je 0x100ce934
mov eax, dword [esp + 0x2c]
movss xmm2, dword [eax + 4]
movss xmm4, dword [eax + 8]
comiss xmm4, xmm2
movss xmm3, dword [eax]
jbe 0x100ce8c3
movss xmm5, dword [0x102f3b68]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x100ce8c6
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x100ce8e3
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x102f3b4c]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [eax + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x102f39e4]
addss xmm0, dword [0x102f3804]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x102f3804]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x102f3f30]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x10317358]
cmp byte [eax + 0x4b06], 0
mov byte [eax + 0x4ac2], 0
je 0x100ce94e
call fcn.10065130
test esi, esi
je 0x100ce96a
mov eax, dword [edi + 0x3f80]
test eax, eax
je 0x100ce96a
cmp dword [edi + 0x3f9c], esi
jne 0x100ce96a
mov dword [edi + 0x47ac], eax
mov cl, byte [esp + 0xa]
test cl, cl
je 0x100ce9a4
mov eax, dword [edi + 0x47ac]
test eax, eax
je 0x100ce9a4
mov ecx, dword [0x10317358]
mov edx, dword [ecx + 0x3f80]
cmp edx, eax
je 0x100ce990
test edx, edx
jne 0x100ce999
mov word [ecx + 0x3f90], 0x101
or dword [ecx + 0x47b4], 4
mov cl, byte [esp + 0xa]
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret