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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x1004300c]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x10043a6c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x19b0]
mov dword [esp + 0xc], ecx
mov byte [eax + 0x7c], 1
mov edx, dword [edi + 0x19b0]
mov dword [esp + 0x14], edx
cmp byte [edx + 0x7f], 0
je 0x1002f8c1
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.10038f5a
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1a84], 1
movss xmm2, dword [edi + 0x154c]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x18c4]
movss dword [esp + 0x5c], xmm2
je 0x1002f8ee
movss xmm0, dword [edi + 0x1a88]
jmp 0x1002f8f6
movss xmm0, dword [edx + 0x1a8]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1002f931
mov eax, edx
cmp dword [eax + 0x190], 0
movss xmm1, dword [eax + 0x244]
je 0x1002f919
movss xmm1, dword [eax + 0x224]
subss xmm1, dword [edx + 0xc8]
addss xmm1, xmm0
movss xmm0, dword [0x1003fe64]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x30], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1002f94a
xorps xmm0, xmm0
jmp 0x1002f955
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x1560]
mov eax, dword [esp + 0x24]
movaps xmm1, xmm3
movss dword [esp + 0x40], xmm0
subss xmm1, xmm0
mov dword [esp + 0x3c], eax
mov ecx, eax
movss dword [esp + 0x38], xmm1
cmp eax, 0xffffffff
jae 0x1002f990
mov al, byte [ecx]
test al, al
je 0x1002f98c
cmp al, 0x23
jne 0x1002f986
cmp byte [ecx + 1], al
je 0x1002f98c
inc ecx
cmp ecx, 0xffffffff
jb 0x1002f977
mov dword [esp + 0x3c], ecx
mov dword [edi + 0x1a84], 0
call fcn.10011d90
mov ecx, dword [esp + 0x24]
call fcn.10011c70
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
test cl, 0x20
je 0x1002f9c5
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1002f9d9
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.100342b0
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 0x2cd8]
test ecx, 0x700000
jne 0x1002f9f0
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1002fa01
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1002fa12
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1002fa23
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov edx, ecx
mov dword [esp + 0xc], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], edx
movzx eax, dl
mov edx, dword [esp + 0x18]
add eax, 3
cmp byte [esp + 0x28], 0
mov dword [esp + 0x2c], eax
movss xmm3, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [edx + 8]
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
je 0x1002fa92
movss xmm4, dword [edx + 0xc]
jmp 0x1002fa9a
movss xmm4, dword [0x1003fe64]
mov eax, ecx
movss dword [esp + 0x94], xmm4
and eax, 0x10100000
mov dword [esp + 0x64], eax
cmp eax, 0x10100000
jne 0x1002fb03
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10007e00
movss xmm4, dword [esp + 0x98]
add esp, 4
movss xmm2, dword [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
movss xmm3, dword [esp + 0x88]
mov ecx, dword [esp + 0xc]
jmp 0x1002fc0b
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1002fc0b
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x1002fb31
movss xmm6, dword [0x1003ffa4]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x1002fb4e
movss xmm0, dword [0x1003ff90]
movaps xmm2, xmm5
subss xmm0, xmm6
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov eax, dword [edi + 0x2ce4]
minss xmm0, xmm7
movaps xmm1, xmm2
movaps xmm3, xmm5
movss dword [esp + 0x90], xmm2
subss xmm3, xmm7
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x1003fed4]
addss xmm0, dword [0x1003fdac]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x1003fdac]
andps xmm3, xmmword [0x100403c0]
divss xmm1, xmm0
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x8c], xmm1
cmp eax, dword [edx]
jne 0x1002fc0b
mov eax, dword [edi + 0x2ce8]
cmp eax, dword [edx + 4]
jne 0x1002fc0b
mov eax, dword [edi + 0x2cec]
cmp eax, dword [edx + 8]
jne 0x1002fc0b
ucomiss xmm1, dword [0x1003fd9c]
lahf
test ah, 0x44
jp 0x1002fbed
movss xmm3, dword [edi + 0x2cdc]
movss dword [esp + 0x88], xmm3
ucomiss xmm2, dword [0x1003fd9c]
lahf
test ah, 0x44
jp 0x1002fc0b
movss xmm1, dword [edi + 0x2ce0]
movss dword [esp + 0x8c], xmm1
comiss xmm3, dword [0x1003fd9c]
movss xmm5, dword [0x1003ff94]
movss xmm0, dword [0x1003fe24]
jb 0x1002fc29
movaps xmm7, xmm0
jmp 0x1002fc2c
movaps xmm7, xmm5
comiss xmm1, dword [0x1003fd9c]
movss xmm6, dword [0x1003ff2c]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x98], eax
jb 0x1002fc55
movaps xmm3, xmm0
jmp 0x1002fc58
movaps xmm3, xmm5
comiss xmm2, dword [0x1003fd9c]
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x1002fc79
movaps xmm1, xmm0
jmp 0x1002fc7c
movaps xmm1, xmm5
comiss xmm4, dword [0x1003fd9c]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jae 0x1002fc9b
movaps xmm0, xmm5
cmp dword [edi + 0x1590], 0
mov edx, dword [esp + 0x14]
mulss xmm4, xmm6
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0xa4], eax
movss xmm2, dword [edx + 0xc8]
movss xmm1, dword [edx + 0xcc]
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x20], xmm1
jne 0x1002fce9
movss xmm0, dword [esp + 0x40]
jmp 0x1002fcec
xorps xmm0, xmm0
addss xmm0, xmm2
movss dword [edx + 0xc8], xmm0
test ecx, 0x300000
je 0x1002ff92
test cl, 0x20
jne 0x1002ff92
mov edx, dword [esp + 0x2c]
movss xmm2, dword [edi + 0x1560]
movss xmm1, dword [esp + 0x38]
lea eax, [edx - 1]
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 [0x1003fe64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x38]
addss xmm2, xmm1
movss dword [esp + 0x10], xmm1
movss xmm1, dword [0x1003fe64]
mulss xmm2, xmm3
movss xmm3, dword [0x1003ff84]
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x54], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x10043a6c]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x50]
push ecx
movss xmm2, dword [ecx + 0x18c4]
mov ecx, dword [ecx + 0x18c0]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x64], xmm1
call fcn.10024500
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [0x1003fe60]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1002fe01
xor eax, eax
jmp 0x1002fe0f
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 0
jbe 0x100301bc
and ecx, 8
mov esi, eax
mov dword [esp + 0x58], ecx
mov edx, 0xff
shl esi, 4
xor ecx, ecx
nop dword [eax]
test ecx, ecx
je 0x1002fe63
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.10012100
movss xmm1, dword [esp + 0x10]
mov edx, 0xff
mov ecx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x2c]
jge 0x1002fe75
movaps xmm0, xmm1
jmp 0x1002fe7b
movss xmm0, dword [esp + 0x50]
mov eax, dword [0x10043a6c]
or dword [eax + 0x1a84], 1
cmp dword [esp + 0x54], 0
movss dword [eax + 0x1a88], xmm0
je 0x1002ff07
cmp byte [esp + 0x4c], 0
je 0x1002fea2
xorps xmm0, xmm0
jmp 0x1002feaa
movss xmm0, dword [0x1003fe64]
movss xmm3, dword [0x1003fdc4]
lea eax, [esp + 0x68]
push ecx
mov dword [esp], 0x3f800000
mov edx, 8
push dword [esi + 0x1003fd04]
movss dword [esp + 0x70], xmm0
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 0
push eax
lea eax, [esp + 0x98]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1003fd8c]
push eax
call fcn.1002a2a0
mov cl, byte [esp + 0x1e]
add esp, 0x14
or cl, al
or byte [esp + 0xb], cl
mov byte [esp + 0xa], cl
jmp 0x1002ff5d
movss xmm3, dword [0x1003fe64]
mov eax, edx
xor edx, edx
cmp byte [esp + 0x4c], dl
push ecx
cmovne eax, edx
mov dword [esp], 0x3f800000
push dword [esi + 0x1003fd34]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x78], edx
push eax
lea eax, [esp + 0xa8]
mov edx, 4
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1003fd8c]
push eax
call fcn.1002a2a0
add esp, 0x14
or byte [esp + 0xa], al
cmp dword [esp + 0x58], 0
jne 0x1002ff69
call fcn.10013070
mov ecx, dword [esp + 0x44]
add esi, 4
mov edx, 0xff
movss xmm1, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x1002fe40
mov esi, dword [esp + 0x30]
jmp 0x100301b8
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x100301cc
cmp byte [esp + 0x28], 0
je 0x10030043
mov eax, dword [esp + 0xa4]
mov ecx, 0xff
mov dword [esp + 0x10], ecx
test eax, eax
jns 0x1002ffcd
mov dword [esp + 0x68], 0
jmp 0x1002ffd9
cmp eax, 0xff
cmovg eax, ecx
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0xa0]
test edx, edx
jns 0x1002ffe8
xor edx, edx
jmp 0x1002ffed
cmp edx, ecx
cmovg edx, ecx
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jns 0x1002fffc
xor ecx, ecx
jmp 0x1003000a
cmp ecx, 0xff
mov eax, 0xff
cmovg ecx, eax
mov eax, dword [esp + 0x98]
test eax, eax
jns 0x10030019
xor eax, eax
jmp 0x10030023
cmp eax, 0xff
cmovg eax, dword [esp + 0x10]
push dword [esp + 0x68]
push edx
push ecx
push eax
push 0x1003fb08
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.10007750
add esp, 0x1c
jmp 0x100300a7
mov edx, dword [esp + 0xa0]
mov eax, 0xff
mov dword [esp + 0x10], eax
test edx, edx
jns 0x1003005b
xor edx, edx
jmp 0x10030060
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x9c]
test ecx, ecx
jns 0x1003006f
xor ecx, ecx
jmp 0x10030074
cmp ecx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x98]
test eax, eax
jns 0x10030083
xor eax, eax
jmp 0x1003008d
cmp eax, 0xff
cmovg eax, dword [esp + 0x10]
push edx
push ecx
push eax
push 0x1003fb1c
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.10007750
add esp, 0x18
mov eax, dword [0x10043a6c]
xor edx, edx
movss xmm4, dword [esp + 0x38]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1a84], 1
movss dword [eax + 0x1a88], xmm4
lea eax, [esp + 0x4c]
push 6
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x54], 0
push 0x40
push eax
mov dword [esp + 0x60], 0
call fcn.1002c840
add esp, 0x18
test al, al
je 0x100301aa
mov byte [esp + 0xa], 1
lea ecx, [esp + 0xa8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1003011e
cmp al, 0x20
je 0x1003011e
cmp al, 9
jne 0x10030121
inc ecx
jmp 0x10030110
cmp byte [esp + 0x28], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
je 0x10030184
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.10005f10
add esp, 0x18
jmp 0x100301aa
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.10005f10
add esp, 0x14
mov ecx, dword [esp + 0xc]
test cl, 8
jne 0x100301bc
call fcn.10013070
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
movss xmm2, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
mov dword [esp + 0x10], 0
test cl, 0x10
jne 0x10030427
test cl, 0x20
jne 0x100301fb
cmp dword [edi + 0x1590], 0
je 0x100301fb
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [edi + 0x1560]
jmp 0x100301fe
xorps xmm0, xmm0
cmp byte [esp + 0x28], 0
addss xmm0, xmm2
mov eax, dword [esp + 0x18]
movss dword [edx + 0xcc], xmm1
movss dword [edx + 0xc8], xmm0
je 0x10030224
movss xmm1, dword [eax + 0xc]
jmp 0x1003022c
movss xmm1, dword [0x1003fe64]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
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.10033640
add esp, 0xc
test al, al
mov eax, dword [esp + 0xc]
je 0x10030357
test al, 4
jne 0x10030357
movups xmm0, xmmword [esp + 0x70]
mov eax, dword [0x10043a6c]
xor edx, edx
movups xmmword [edi + 0x2cf0], xmm0
mov eax, dword [eax + 0x19b0]
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.10007790
mov ecx, eax
add esp, 4
mov eax, dword [0x10043a6c]
cmp dword [eax + 0x19e4], ecx
jne 0x100302e1
mov dword [eax + 0x19e8], ecx
cmp dword [eax + 0x1a18], ecx
jne 0x100302f0
mov byte [eax + 0x1a1c], 1
call fcn.100129e0
mov eax, dword [esp + 0x14]
movss xmm0, dword [edi + 0x155c]
movss xmm1, dword [eax + 0x114]
addss xmm0, dword [eax + 0x120]
mov eax, dword [0x10043a6c]
subss xmm1, dword [0x1003fe64]
or dword [eax + 0x1a2c], 1
movss dword [eax + 0x1a40], xmm0
movss dword [eax + 0x1a3c], xmm1
mov dword [eax + 0x1a44], 0
mov dword [eax + 0x1a48], 0
mov dword [eax + 0x1a30], 1
mov eax, dword [esp + 0xc]
test al, 8
jne 0x10030360
call fcn.10013070
mov ecx, str.picker
call fcn.10012e40
test al, al
je 0x10030423
mov eax, dword [edi + 0x19b0]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp eax, edx
je 0x100303d1
push 0
mov ecx, eax
call fcn.10026d20
mov ecx, dword [0x10043a6c]
add esp, 4
mov eax, dword [ecx + 0x19b0]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
cmp byte [eax + 0x7f], 0
jne 0x100303d1
movss xmm1, dword [0x1003ffa4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.10009a60
mov eax, dword [0x10043a6c]
mov ecx, 0x1003f910
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [0x1003fee4]
mov edx, dword [esp + 0x18]
or dword [eax + 0x1a84], 1
movss dword [eax + 0x1a88], xmm0
lea eax, [edi + 0x2cf0]
push eax
mov eax, dword [esp + 0x64]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10030d80
or byte [esp + 0x12], al
add esp, 8
call fcn.10012ec0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x24], eax
je 0x10030489
test cl, cl
js 0x10030489
test cl, 0x20
je 0x10030442
movss xmm0, dword [esp + 0x40]
jmp 0x10030451
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x1560]
movss xmm1, dword [esp + 0x20]
mov edx, eax
addss xmm1, dword [edi + 0x154c]
addss xmm0, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 0
movss dword [ecx + 0xc8], xmm0
movss dword [ecx + 0xcc], xmm1
mov ecx, dword [esp + 0x28]
call fcn.10026d20
add esp, 4
cmp byte [esp + 0xa], 0
je 0x1003063a
cmp dword [esp + 0x10], 0
jne 0x1003063a
cmp byte [esp + 0xb], 0
jne 0x100304c0
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100403a0]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0xc]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10030537
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 + 0x2cdc], xmm0
movss dword [edi + 0x2ce0], xmm1
call fcn.10007e00
movq xmm0, qword [esp + 0x8c]
add esp, 4
mov eax, dword [esp + 0x90]
movq qword [edi + 0x2ce4], xmm0
mov dword [edi + 0x2cec], eax
cmp dword [esp + 0x64], 0x10100000
jne 0x100305f6
movss xmm1, dword [esp + 0x8c]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x90]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x88]
movaps xmm2, xmm3
jbe 0x1003057c
movss xmm5, dword [0x1003ffa4]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x10030596
movss xmm0, dword [0x1003ff90]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x90], xmm3
minss xmm0, xmm4
movaps xmm2, xmm3
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1003fed4]
addss xmm0, dword [0x1003fdac]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1003fdac]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x100403c0]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
jmp 0x10030611
movss xmm3, dword [esp + 0x90]
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x88]
cmp byte [esp + 0x28], 0
mov esi, dword [esp + 0x18]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x1003063e
movss xmm0, dword [esp + 0x94]
movss dword [esi + 0xc], xmm0
jmp 0x1003063e
mov esi, dword [esp + 0x18]
mov eax, dword [0x10043a6c]
mov eax, dword [eax + 0x19b0]
dec dword [eax + 0xbc]
call fcn.10011ec0
mov eax, dword [esp + 0x14]
test byte [eax + 0x110], 1
je 0x10030796
test dword [esp + 0xc], 0x200
jne 0x10030796
call fcn.100164d0
test al, al
je 0x10030796
mov ecx, str._COL3F
mov byte [esp + 0xb], 0
call fcn.10016560
test eax, eax
je 0x100306ad
mov eax, dword [eax]
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 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.10016560
mov ecx, eax
test ecx, ecx
je 0x100306d7
mov eax, dword [esp + 0x2c]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x100306e2
cmp byte [esp + 0xb], 0
je 0x10030787
test dword [esp + 0xc], 0x10000000
je 0x10030787
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x10030716
movss xmm5, dword [0x1003ffa4]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x10030719
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x10030736
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1003ff90]
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 [0x1003fed4]
addss xmm0, dword [0x1003fdac]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1003fdac]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x100403c0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov ecx, dword [0x10043a6c]
mov byte [ecx + 0x1d3d], 0
jmp 0x1003079c
mov ecx, dword [0x10043a6c]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x100307c0
mov eax, dword [edi + 0x19e4]
test eax, eax
je 0x100307c0
cmp dword [edi + 0x1a10], edx
jne 0x100307c0
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10c], eax
mov al, byte [esp + 0xa]
test al, al
je 0x100307de
mov word [ecx + 0x19f3], 0x101
mov ecx, dword [ecx + 0x19b0]
or dword [ecx + 0x110], 4
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.10038f5a
mov esp, ebp
pop ebp
ret