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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x10075380]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x10077b54]
mov dword [esp + 0x14], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x48], edx
mov eax, dword [edi + 0x1ba8]
mov dword [esp + 0x10], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1ba8]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x8f], 0
je 0x1003cf39
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100612fd
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c34], 1
movss xmm2, dword [edi + 0x1568]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x1944]
movss dword [esp + 0x58], xmm2
je 0x1003cf66
movss xmm0, dword [edi + 0x1c38]
jmp 0x1003cf6e
movss xmm0, dword [eax + 0x180]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1003cfb6
cmp dword [eax + 0x170], 0
movss xmm2, dword [eax + 0x208]
jne 0x1003cf90
cmp dword [edi + 0x1f64], 0
je 0x1003cf98
movss xmm2, dword [eax + 0x1d8]
subss xmm2, dword [eax + 0xd0]
addss xmm2, xmm0
movss xmm0, dword [0x1006e1fc]
maxss xmm0, xmm2
movss xmm2, dword [esp + 0x58]
cvttss2si esi, xmm0
mov dword [esp + 0x28], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1003cfcf
xorps xmm0, xmm0
jmp 0x1003cfda
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x157c]
movss dword [esp + 0x50], xmm0
movaps xmm1, xmm3
mov dword [esp + 0x44], edx
subss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
cmp edx, 0xffffffff
jae 0x1003d016
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x1003d012
cmp cl, 0x23
jne 0x1003d008
cmp byte [esi + 1], cl
je 0x1003d012
inc esi
mov dword [esp + 0x44], esi
cmp esi, 0xffffffff
jb 0x1003cff8
mov esi, dword [esp + 0x28]
mov dword [edi + 0x1c34], 0
call fcn.10019fc0
mov ecx, dword [esp + 0x48]
call fcn.10019780
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
test cl, 0x20
je 0x1003d04b
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1003d05f
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.10041390
mov ecx, dword [esp + 0x10]
test ecx, 0x700000
jne 0x1003d074
mov eax, dword [edi + 0x2ec4]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1003d089
mov eax, dword [edi + 0x2ec4]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1003d09e
mov eax, dword [edi + 0x2ec4]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1003d0b3
mov eax, dword [edi + 0x2ec4]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x2ec4]
and eax, 0xe00fffff
or ecx, eax
mov eax, ecx
mov dword [esp + 0x10], ecx
shr eax, 0x13
mov edx, ecx
shr edx, 1
and eax, 0xffffff01
not dl
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
and edx, 0xffffff01
mov dword [esp + 0x38], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x38], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov dword [esp + 0x18], edx
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
je 0x1003d127
movss xmm3, dword [eax + 0xc]
jmp 0x1003d12f
movss xmm3, dword [0x1006e1fc]
movss xmm6, dword [0x1006e154]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x94], xmm3
cmp eax, 0x10100000
jne 0x1003d171
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.1000d980
add esp, 4
jmp 0x1003d232
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1003d25e
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x1003d19c
movss xmm4, dword [0x1006e3b0]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x1003d1b9
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1006e39c]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x14]
minss xmm0, xmm2
movss dword [esp + 0x90], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
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 [0x1006e2d0]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x1006ea90]
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm1
call fcn.1003cde0
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
movss xmm3, dword [esp + 0x94]
comiss xmm0, dword [0x1006e140]
movss xmm4, dword [0x1006e3a0]
movss xmm6, dword [0x1006e1bc]
jb 0x1003d27c
movaps xmm5, xmm6
jmp 0x1003d27f
movaps xmm5, xmm4
comiss xmm1, dword [0x1006e140]
movss xmm7, dword [0x1006e350]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x98], eax
jb 0x1003d2a8
movaps xmm0, xmm6
jmp 0x1003d2ab
movaps xmm0, xmm4
comiss xmm2, dword [0x1006e140]
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x1003d2cc
movaps xmm0, xmm6
jmp 0x1003d2cf
movaps xmm0, xmm4
comiss xmm3, dword [0x1006e140]
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jb 0x1003d2ee
movaps xmm4, xmm6
cmp dword [edi + 0x15bc], 0
mulss xmm3, xmm7
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm3, xmm4
cvttss2si eax, xmm3
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x20]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm3
jne 0x1003d33c
movss xmm1, dword [esp + 0x50]
jmp 0x1003d33f
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
test ecx, 0x300000
je 0x1003d667
test cl, 0x20
jne 0x1003d667
movss xmm2, dword [edi + 0x157c]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x4c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x1006e1fc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x1006e38c]
subss xmm0, xmm1
movss xmm1, dword [0x1006e1fc]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x3c], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x10077b54]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x6c]
push ecx
movss xmm2, dword [ecx + 0x1944]
mov ecx, dword [ecx + 0x1940]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x30], xmm1
call fcn.1002f8b0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [0x1006e1f4]
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1003d453
xor edx, edx
jmp 0x1003d462
mov edx, ecx
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x18], eax
jbe 0x1003d88c
and ecx, 8
shl edx, 4
mov dword [esp + 0x40], ecx
cmp dword [esp + 0x3c], eax
je 0x1003d583
mov esi, dword [esp + 0x40]
lea ecx, [edx + 0x1006bd50]
mov dword [esp + 0x3c], ecx
mov edx, eax
mov dword [esp + 0x40], edx
test eax, eax
je 0x1003d4c0
movss xmm1, dword [edi + 0x157c]
xorps xmm0, xmm0
call fcn.10019c50
movss xmm1, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x18]
jge 0x1003d4d0
movaps xmm0, xmm1
jmp 0x1003d4d6
movss xmm0, dword [esp + 0x1c]
mov eax, dword [0x10077b54]
or dword [eax + 0x1c34], 1
cmp byte [esp + 0x5c], 0
movss dword [eax + 0x1c38], xmm0
je 0x1003d4f6
xorps xmm0, xmm0
jmp 0x1003d4fe
movss xmm0, dword [0x1006e1fc]
movss xmm3, dword [0x1006e170]
lea eax, [esp + 0x68]
push ecx
push dword [ecx]
mov ecx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x6c]
movss dword [esp + 0x74], xmm0
push eax
mov ecx, dword [ecx*4 + 0x1006bd80]
lea eax, [esp + 0x98]
lea eax, [eax + edx*4]
mov dword [esp + 0x70], 0
push eax
mov edx, 8
call fcn.100361a0
mov dl, byte [esp + 0x22]
add esp, 0x14
or dl, al
or byte [esp + 0xf], dl
mov byte [esp + 0xe], dl
test esi, esi
jne 0x1003d55b
call fcn.1001b300
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
add ecx, 4
movss xmm1, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
cmp eax, dword [esp + 0x18]
jl 0x1003d494
mov esi, dword [esp + 0x28]
jmp 0x1003d888
xor eax, eax
xor esi, esi
cmp byte [esp + 0x5c], al
mov ecx, 0xff
mov dword [esp + 0x24], eax
cmovne ecx, esi
lea esi, [edx + 0x1006bcf8]
mov dword [esp + 0x68], ecx
mov ecx, eax
mov dword [esp + 0x60], ecx
test eax, eax
jle 0x1003d5c9
movss xmm1, dword [edi + 0x157c]
xorps xmm0, xmm0
call fcn.10019c50
movss xmm1, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x18]
jge 0x1003d5d9
movaps xmm0, xmm1
jmp 0x1003d5df
movss xmm0, dword [esp + 0x1c]
mov eax, dword [0x10077b54]
mov edx, 4
movss xmm3, dword [0x1006e1fc]
push ecx
push dword [esi]
or dword [eax + 0x1c34], 1
movss dword [eax + 0x1c38], xmm0
mov eax, dword [esp + 0x70]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1006bd80]
push eax
call fcn.100361a0
or byte [esp + 0x22], al
add esp, 0x14
cmp dword [esp + 0x40], 0
jne 0x1003d647
call fcn.1001b300
mov eax, dword [esp + 0x24]
add esi, 4
movss xmm1, dword [esp + 0x34]
cmp eax, dword [esp + 0x18]
jl 0x1003d5a1
mov esi, dword [esp + 0x28]
jmp 0x1003d888
test ecx, 0x400000
je 0x1003d89c
test cl, 0x20
jne 0x1003d89c
cmp byte [esp + 0x38], 0
mov eax, 0xff
je 0x1003d713
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x1003d6a1
mov dword [esp + 0x1c], 0
jmp 0x1003d6aa
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x1003d6bf
mov dword [esp + 0x5c], 0
jmp 0x1003d6c8
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1003d6d7
xor edx, edx
jmp 0x1003d6dc
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1003d6eb
xor ecx, ecx
jmp 0x1003d6f0
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x1c]
lea eax, [esp + 0xac]
push dword [esp + 0x60]
push edx
push ecx
push 0x1006baf8
push 0x40
push eax
call fcn.1000d2e0
add esp, 0x1c
jmp 0x1003d776
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x1003d728
mov dword [esp + 0x1c], 0
jmp 0x1003d731
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1003d740
xor edx, edx
jmp 0x1003d745
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1003d754
xor ecx, ecx
jmp 0x1003d759
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x1c]
lea eax, [esp + 0xac]
push edx
push ecx
push 0x1006bb0c
push 0x40
push eax
call fcn.1000d2e0
add esp, 0x18
mov eax, dword [0x10077b54]
xor edx, edx
movss xmm5, dword [esp + 0x4c]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c34], 1
movss dword [eax + 0x1c38], xmm5
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.10039240
add esp, 0x18
test al, al
je 0x1003d87a
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa8]
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1003d7ee
cmp al, 0x20
je 0x1003d7ee
cmp al, 9
jne 0x1003d7f1
inc ecx
jmp 0x1003d7e0
cmp byte [esp + 0x38], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x1003d854
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.100096c0
add esp, 0x18
jmp 0x1003d87a
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.100096c0
add esp, 0x14
mov ecx, dword [esp + 0x10]
test cl, 8
jne 0x1003d88c
call fcn.1001b300
mov ecx, dword [esp + 0x10]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], 0
test cl, 0x10
jne 0x1003daf6
test cl, 0x20
jne 0x1003d8cb
cmp dword [edi + 0x15bc], 0
je 0x1003d8cb
movss xmm1, dword [esp + 0x4c]
addss xmm1, dword [edi + 0x157c]
jmp 0x1003d8ce
xorps xmm1, xmm1
cmp byte [esp + 0x38], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xd0], xmm0
mov eax, dword [esp + 0x14]
je 0x1003d8f7
movss xmm1, dword [eax + 0xc]
jmp 0x1003d8ff
movss xmm1, dword [0x1006e1fc]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x64], 0
push dword [esp + 0x64]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x64], 0
push dword [esp + 0x64]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm1
call fcn.10040920
add esp, 0xc
test al, al
mov eax, dword [esp + 0x10]
je 0x1003d9d5
test al, 4
jne 0x1003d9d5
movups xmm0, xmmword [esp + 0x70]
mov ecx, str.picker
movups xmmword [edi + 0x2ed4], xmm0
call fcn.1001aaf0
movss xmm1, dword [edi + 0x1c54]
movss xmm0, dword [edi + 0x1578]
addss xmm0, dword [edi + 0x1c60]
mov eax, dword [0x10077b54]
subss xmm1, dword [0x1006e1fc]
or dword [eax + 0x1c84], 1
movss dword [eax + 0x1c98], xmm0
movss dword [eax + 0x1c94], xmm1
mov dword [eax + 0x1c9c], 0
mov dword [eax + 0x1ca0], 0
mov dword [eax + 0x1c88], 1
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1003d9de
call fcn.1001b300
mov ecx, str.picker
call fcn.1001b070
test al, al
je 0x1003daf2
mov eax, dword [edi + 0x1ba8]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
cmp ecx, eax
je 0x1003da55
push 0
mov edx, eax
call fcn.10031ec0
mov ecx, dword [0x10077b54]
add esp, 4
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x1003da55
movss xmm1, dword [0x1006e3b0]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.10019950
mov eax, dword [0x10077b54]
mov ecx, 0x1006b7a4
movss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x1006e2e4]
mov edx, dword [esp + 0x14]
or dword [eax + 0x1c34], 1
movss dword [eax + 0x1c38], xmm0
lea eax, [edi + 0x2ed4]
push eax
mov eax, dword [esp + 0x58]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1003e1e0
or byte [esp + 0x16], al
add esp, 8
mov eax, dword [0x10077b54]
mov dword [esp + 0x54], eax
mov ecx, dword [eax + 0x1ba8]
cmp dword [eax + 0x1d54], ecx
jne 0x1003dad2
cmp byte [eax + 0x1dad], 0
je 0x1003dad2
cmp dword [eax + 0x1d8c], 0
jne 0x1003dad2
or dword [eax + 0x1db0], 2
test dword [ecx + 8], 0x1000000
je 0x1003dae2
mov byte [eax + 0x1b56], 1
call fcn.10018e50
mov eax, dword [esp + 0x54]
mov byte [eax + 0x1b56], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x48], eax
je 0x1003db5c
test cl, cl
js 0x1003db5c
test cl, 0x20
je 0x1003db11
movss xmm0, dword [esp + 0x50]
jmp 0x1003db20
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x157c]
movss xmm1, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [edi + 0x1568]
mov ecx, dword [esp + 0x48]
push 0
movss dword [edx + 0xd0], xmm1
movss dword [edx + 0xd4], xmm0
mov edx, eax
call fcn.10031ec0
add esp, 4
cmp byte [esp + 0xe], 0
je 0x1003dd7e
cmp dword [esp + 0x28], 0
jne 0x1003dd7e
cmp byte [esp + 0xf], 0
jne 0x1003db93
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1006ea80]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x10]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1003dc8c
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 + 0x2ec8], xmm0
movss dword [edi + 0x2ecc], xmm1
call fcn.1000d980
movss xmm1, dword [esp + 0x8c]
xorps xmm0, xmm0
movss xmm4, dword [0x1006e1fc]
add esp, 4
comiss xmm0, xmm1
jbe 0x1003dc0e
xorps xmm2, xmm2
jmp 0x1003dc15
movaps xmm2, xmm4
minss xmm2, xmm1
movss xmm6, dword [0x1006e350]
movss xmm5, dword [0x1006e1bc]
mulss xmm2, xmm6
addss xmm2, xmm5
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x8c]
comiss xmm0, xmm2
jbe 0x1003dc44
xorps xmm3, xmm3
jmp 0x1003dc4b
movaps xmm3, xmm4
minss xmm3, xmm2
mulss xmm3, xmm6
addss xmm3, xmm5
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0x90]
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x1003dc6f
xorps xmm4, xmm4
jmp 0x1003dc73
minss xmm4, xmm3
mulss xmm4, xmm6
addss xmm4, xmm5
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x2ed0], eax
jmp 0x1003dca7
movss xmm3, dword [esp + 0x90]
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1003dd55
comiss xmm3, xmm2
movaps xmm4, xmm1
xorps xmm5, xmm5
movaps xmm6, xmm4
movaps xmm1, xmm2
jbe 0x1003dcda
movss xmm5, dword [0x1006e3b0]
movaps xmm1, xmm3
movaps xmm3, xmm2
comiss xmm1, xmm6
jbe 0x1003dcf4
movss xmm0, dword [0x1006e39c]
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 [0x1006e2d0]
addss xmm0, dword [0x1006e154]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1006e154]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x1006ea90]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
cmp byte [esp + 0x38], 0
mov esi, dword [esp + 0x14]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x1003dd82
movss xmm0, dword [esp + 0x94]
movss dword [esi + 0xc], xmm0
jmp 0x1003dd82
mov esi, dword [esp + 0x14]
mov eax, dword [0x10077b54]
mov eax, dword [eax + 0x1ba8]
dec dword [eax + 0xc4]
call fcn.1001a0f0
test byte [edi + 0x1c50], 1
je 0x1003ded5
test dword [esp + 0x10], 0x200
jne 0x1003ded5
call fcn.1001f4f0
test al, al
je 0x1003ded5
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.1001f580
test eax, eax
je 0x1003dded
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.1001f580
mov ecx, eax
test ecx, ecx
je 0x1003de17
mov eax, dword [esp + 0x18]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x1003de22
cmp byte [esp + 0xf], 0
je 0x1003dec7
test dword [esp + 0x10], 0x10000000
je 0x1003dec7
movss xmm2, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm2
movss xmm4, dword [esi]
jbe 0x1003de56
movss xmm3, dword [0x1006e3b0]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x1003de59
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x1003de76
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1006e39c]
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 [0x1006e2d0]
addss xmm0, dword [0x1006e154]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1006e154]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x1006ea90]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x10077b54]
mov byte [eax + 0x1ec6], 0
jmp 0x1003deda
mov eax, dword [0x10077b54]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x1003defa
mov ecx, dword [edi + 0x1be0]
test ecx, ecx
je 0x1003defa
cmp dword [edi + 0x1c10], edx
jne 0x1003defa
mov dword [edi + 0x1c48], ecx
mov cl, byte [esp + 0xe]
test cl, cl
je 0x1003df12
or dword [eax + 0x1c50], 4
mov word [eax + 0x1bf0], 0x101
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.100612fd
mov esp, ebp
pop ebp
ret