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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x10079040]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x1007ac38]
mov dword [esp + 0x18], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x48], edx
mov eax, dword [edi + 0x19f8]
mov dword [esp + 0x10], ecx
mov byte [eax + 0x7c], 1
mov eax, dword [edi + 0x19f8]
mov dword [esp + 0x14], eax
cmp byte [eax + 0x7f], 0
je 0x1002cd53
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1003ae6b
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1ad0], 1
movss xmm2, dword [edi + 0x154c]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x18c8]
movss dword [esp + 0x5c], xmm2
je 0x1002cd80
movss xmm0, dword [edi + 0x1ad4]
jmp 0x1002cd88
movss xmm0, dword [eax + 0x1a8]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1002cdc1
cmp dword [eax + 0x190], 0
movss xmm1, dword [eax + 0x244]
je 0x1002cda9
movss xmm1, dword [eax + 0x224]
subss xmm1, dword [eax + 0xc8]
addss xmm1, xmm0
movss xmm0, dword [0x1006f9b0]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x24], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1002cdda
xorps xmm0, xmm0
jmp 0x1002cde5
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x1560]
movss dword [esp + 0x58], xmm0
movaps xmm1, xmm3
mov dword [esp + 0x44], edx
subss xmm1, xmm0
movss dword [esp + 0x54], xmm1
cmp edx, 0xffffffff
jae 0x1002ce21
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x1002ce1d
cmp cl, 0x23
jne 0x1002ce13
cmp byte [esi + 1], cl
je 0x1002ce1d
inc esi
mov dword [esp + 0x44], esi
cmp esi, 0xffffffff
jb 0x1002ce03
mov esi, dword [esp + 0x24]
mov dword [edi + 0x1ad0], 0
call fcn.1000def0
mov ecx, dword [esp + 0x48]
call fcn.1000ddd0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
test cl, 0x20
je 0x1002ce56
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1002ce6a
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.10030f20
mov ecx, dword [esp + 0x10]
test ecx, 0x700000
jne 0x1002ce7f
mov eax, dword [edi + 0x2d24]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1002ce94
mov eax, dword [edi + 0x2d24]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1002cea9
mov eax, dword [edi + 0x2d24]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1002cebe
mov eax, dword [edi + 0x2d24]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x2d24]
and eax, 0xe00fffff
or ecx, eax
mov edx, ecx
mov dword [esp + 0x10], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
movzx eax, dl
mov edx, dword [esp + 0x18]
add eax, 3
cmp byte [esp + 0x38], 0
mov dword [esp + 0x30], 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 0x1002cf3b
movss xmm0, dword [edx + 0xc]
movss dword [esp + 0x94], xmm0
jmp 0x1002cf46
mov dword [esp + 0x94], 0x3f800000
mov eax, ecx
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1002cfb9
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10003e20
add esp, 4
mov ecx, dword [esp + 0x10]
movss xmm3, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
comiss xmm3, dword [0x1006f910]
movss xmm5, dword [0x1006fabc]
movss xmm4, dword [0x1006f97c]
jb 0x1002d07e
movaps xmm0, xmm4
jmp 0x1002d081
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1002cf94
lea eax, [esp + 0x90]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10003d80
mov edx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [edi + 0x2d30]
cmp eax, dword [edx]
jne 0x1002cf75
mov eax, dword [edi + 0x2d34]
cmp eax, dword [edx + 4]
jne 0x1002cf75
mov eax, dword [edi + 0x2d38]
cmp eax, dword [edx + 8]
jne 0x1002cf75
movss xmm1, dword [esp + 0x8c]
ucomiss xmm1, dword [0x1006f910]
lahf
test ah, 0x44
jp 0x1002d041
movss xmm3, dword [edi + 0x2d28]
movss dword [esp + 0x88], xmm3
jmp 0x1002d04a
movss xmm3, dword [esp + 0x88]
movss xmm2, dword [esp + 0x90]
ucomiss xmm2, dword [0x1006f910]
mov ecx, dword [esp + 0x10]
lahf
test ah, 0x44
jp 0x1002cf94
movss xmm1, dword [edi + 0x2d2c]
movss dword [esp + 0x8c], xmm1
jmp 0x1002cf94
movaps xmm0, xmm5
comiss xmm1, dword [0x1006f910]
movss xmm6, dword [0x1006fa74]
mulss xmm3, xmm6
addss xmm3, xmm0
cvttss2si eax, xmm3
mov dword [esp + 0x98], eax
jb 0x1002d0aa
movaps xmm0, xmm4
jmp 0x1002d0ad
movaps xmm0, xmm5
comiss xmm2, dword [0x1006f910]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x1002d0ce
movaps xmm0, xmm4
jmp 0x1002d0d1
movaps xmm0, xmm5
mulss xmm2, xmm6
addss xmm2, xmm0
movss xmm0, dword [esp + 0x94]
comiss xmm0, dword [0x1006f910]
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jae 0x1002d0f9
movaps xmm4, xmm5
cmp dword [edi + 0x1590], 0
movss xmm0, dword [esp + 0x94]
mulss xmm0, xmm6
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x14]
movss xmm2, dword [eax + 0xc8]
movss xmm1, dword [eax + 0xcc]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm1
jne 0x1002d150
movss xmm0, dword [esp + 0x58]
jmp 0x1002d153
xorps xmm0, xmm0
addss xmm0, xmm2
movss dword [eax + 0xc8], xmm0
test ecx, 0x300000
je 0x1002d483
test cl, 0x20
jne 0x1002d483
mov edx, dword [esp + 0x30]
movss xmm2, dword [edi + 0x1560]
movss xmm1, dword [esp + 0x54]
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 [0x1006f9b0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x54]
addss xmm2, xmm1
movss dword [esp + 0x34], xmm1
movss xmm1, dword [0x1006f9b0]
mulss xmm2, xmm3
movss xmm3, dword [0x1006faac]
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x4c], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x1007ac38]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x70]
push ecx
movss xmm2, dword [ecx + 0x18c8]
mov ecx, dword [ecx + 0x18c4]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x54], xmm1
call fcn.10021300
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [0x1006f9ac]
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1002d268
xor edx, edx
jmp 0x1002d277
mov edx, ecx
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x30], eax
jbe 0x1002d67e
and ecx, 8
shl edx, 4
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x4c], eax
je 0x1002d39d
mov esi, dword [esp + 0x30]
lea ecx, [edx + 0x1006f2a0]
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], ecx
nop dword [eax]
mov edx, eax
mov dword [esp + 0x4c], edx
test eax, eax
je 0x1002d2dc
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.1000e260
movss xmm1, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jge 0x1002d2ea
movaps xmm0, xmm1
jmp 0x1002d2f0
movss xmm0, dword [esp + 0x40]
mov eax, dword [0x1007ac38]
or dword [eax + 0x1ad0], 1
cmp byte [esp + 0x3c], 0
movss dword [eax + 0x1ad4], xmm0
je 0x1002d310
xorps xmm0, xmm0
jmp 0x1002d318
movss xmm0, dword [0x1006f9b0]
movss xmm3, dword [0x1006f940]
lea eax, [esp + 0x6c]
push ecx
mov dword [esp], 0x3f800000
push dword [ecx]
mov ecx, dword [esp + 0x54]
push eax
lea eax, [esp + 0x70]
movss dword [esp + 0x78], xmm0
push eax
mov ecx, dword [ecx*4 + 0x1006f330]
lea eax, [esp + 0x98]
lea eax, [eax + edx*4]
mov edx, 8
push eax
call fcn.10026f90
mov dl, byte [esp + 0x22]
add esp, 0x14
or dl, al
or byte [esp + 0xf], dl
cmp dword [esp + 0x1c], 0
mov byte [esp + 0xe], dl
jne 0x1002d377
call fcn.1000eeb0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
add ecx, 4
movss xmm1, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
cmp eax, esi
jl 0x1002d2b0
mov esi, dword [esp + 0x24]
jmp 0x1002d67a
xor ecx, ecx
xor esi, esi
cmp byte [esp + 0x3c], cl
mov eax, 0xff
mov dword [esp + 0x20], ecx
cmovne eax, esi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], eax
lea esi, [edx + 0x1006f2d0]
nop
mov edx, ecx
mov dword [esp + 0x3c], edx
test ecx, ecx
jle 0x1002d3e8
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.1000e260
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x30]
jge 0x1002d3fa
movaps xmm0, xmm1
jmp 0x1002d400
movss xmm0, dword [esp + 0x40]
mov eax, dword [0x1007ac38]
movss xmm3, dword [0x1006f9b0]
push ecx
mov ecx, dword [esp + 0x40]
or dword [eax + 0x1ad0], 1
movss dword [eax + 0x1ad4], xmm0
lea eax, [esp + 0x68]
mov dword [esp], 0x3f800000
push dword [esi]
mov ecx, dword [ecx*4 + 0x1006f330]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + edx*4]
mov edx, 4
push eax
call fcn.10026f90
or byte [esp + 0x22], al
add esp, 0x14
cmp dword [esp + 0x1c], 0
jne 0x1002d463
call fcn.1000eeb0
mov ecx, dword [esp + 0x20]
add esi, 4
movss xmm1, dword [esp + 0x34]
cmp ecx, dword [esp + 0x30]
jl 0x1002d3c0
mov esi, dword [esp + 0x24]
jmp 0x1002d67a
test ecx, 0x400000
je 0x1002d68e
test cl, 0x20
jne 0x1002d68e
cmp byte [esp + 0x38], 0
mov eax, 0xff
je 0x1002d52f
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x1002d4bd
mov dword [esp + 0x1c], 0
jmp 0x1002d4c6
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x1002d4db
mov dword [esp + 0x40], 0
jmp 0x1002d4e4
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1002d4f3
xor edx, edx
jmp 0x1002d4f8
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1002d507
xor ecx, ecx
jmp 0x1002d50c
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x1c]
lea eax, [esp + 0xac]
push dword [esp + 0x44]
push edx
push ecx
push 0x1006f0a0
push 0x40
push eax
call fcn.100031f0
add esp, 0x1c
jmp 0x1002d592
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x1002d544
mov dword [esp + 0x1c], 0
jmp 0x1002d54d
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1002d55c
xor edx, edx
jmp 0x1002d561
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1002d570
xor ecx, ecx
jmp 0x1002d575
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x1c]
lea eax, [esp + 0xac]
push edx
push ecx
push 0x1006f0b4
push 0x40
push eax
call fcn.100031f0
add esp, 0x18
mov eax, dword [0x1007ac38]
lea edx, [esp + 0xa8]
movss xmm4, dword [esp + 0x54]
sub esp, 0x10
or dword [eax + 0x1ad0], 1
movss dword [eax + 0x1ad4], xmm4
call fcn.10027c90
add esp, 0x10
test al, al
je 0x1002d66c
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1002d5e0
cmp al, 0x20
je 0x1002d5e0
cmp al, 9
jne 0x1002d5e3
inc ecx
jmp 0x1002d5d2
cmp byte [esp + 0x38], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
je 0x1002d646
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.10001800
add esp, 0x18
jmp 0x1002d66c
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.10001800
add esp, 0x14
mov ecx, dword [esp + 0x10]
test cl, 8
jne 0x1002d67e
call fcn.1000eeb0
mov ecx, dword [esp + 0x10]
movss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
test cl, 0x10
jne 0x1002d860
test cl, 0x20
jne 0x1002d6bd
cmp dword [edi + 0x1590], 0
je 0x1002d6bd
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [edi + 0x1560]
jmp 0x1002d6c0
xorps xmm0, xmm0
cmp byte [esp + 0x38], 0
addss xmm0, xmm2
movss dword [eax + 0xcc], xmm1
movss dword [eax + 0xc8], xmm0
mov eax, dword [esp + 0x18]
je 0x1002d6e6
movss xmm1, dword [eax + 0xc]
jmp 0x1002d6ee
movss xmm1, dword [0x1006f9b0]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x68], 0
push dword [esp + 0x68]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x68], 0
push dword [esp + 0x68]
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.10030650
add esp, 0xc
test al, al
mov eax, dword [esp + 0x10]
je 0x1002d7cc
test al, 4
jne 0x1002d7cc
movups xmm0, xmmword [esp + 0x70]
mov ecx, str.picker
movups xmmword [edi + 0x2d3c], xmm0
call fcn.1000e890
mov eax, dword [esp + 0x14]
movss xmm0, dword [edi + 0x155c]
movss xmm1, dword [eax + 0x114]
addss xmm0, dword [eax + 0x120]
mov eax, dword [0x1007ac38]
subss xmm1, dword [0x1006f9b0]
or dword [eax + 0x1a78], 1
movss dword [eax + 0x1a8c], xmm0
movss dword [eax + 0x1a88], xmm1
mov dword [eax + 0x1a90], 0
mov dword [eax + 0x1a94], 0
mov dword [eax + 0x1a7c], 1
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1002d7d5
call fcn.1000eeb0
mov ecx, str.picker
call fcn.1000ed20
test al, al
je 0x1002d85c
mov eax, dword [edi + 0x19f8]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
cmp ecx, eax
je 0x1002d80a
push 0
mov edx, eax
call fcn.10023660
add esp, 4
call fcn.10025960
mov eax, dword [0x1007ac38]
mov ecx, 0x1006ee68
movss xmm0, dword [esp + 0x5c]
mulss xmm0, dword [0x1006fa3c]
mov edx, dword [esp + 0x18]
or dword [eax + 0x1ad0], 1
movss dword [eax + 0x1ad4], xmm0
lea eax, [edi + 0x2d3c]
push eax
mov eax, dword [esp + 0x64]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1002e160
or byte [esp + 0x16], al
add esp, 8
call fcn.1000eda0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x48], eax
je 0x1002d8c2
test cl, cl
js 0x1002d8c2
test cl, 0x20
je 0x1002d87b
movss xmm0, dword [esp + 0x58]
jmp 0x1002d88a
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x1560]
movss xmm1, dword [esp + 0x2c]
mov edx, eax
addss xmm1, dword [edi + 0x154c]
addss xmm0, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push 0
movss dword [ecx + 0xc8], xmm0
movss dword [ecx + 0xcc], xmm1
mov ecx, dword [esp + 0x4c]
call fcn.10023660
add esp, 4
cmp byte [esp + 0xe], 0
je 0x1002da7b
cmp dword [esp + 0x24], 0
jne 0x1002da7b
cmp byte [esp + 0xf], 0
jne 0x1002d8f9
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100700c0]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x10]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1002d970
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 + 0x2d28], xmm0
movss dword [edi + 0x2d2c], xmm1
call fcn.10003e20
movq xmm0, qword [esp + 0x8c]
add esp, 4
mov eax, dword [esp + 0x90]
movq qword [edi + 0x2d30], xmm0
mov dword [edi + 0x2d38], eax
mov eax, dword [esp + 0x10]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1002da37
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x90]
movaps xmm0, xmm2
comiss xmm1, xmm0
movss xmm4, dword [esp + 0x88]
movaps xmm3, xmm4
jbe 0x1002d9ba
movss xmm5, dword [0x1006facc]
movaps xmm2, xmm1
movaps xmm1, xmm0
jmp 0x1002d9bd
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1002d9d7
movss xmm0, dword [0x1006fab8]
movaps xmm4, xmm2
subss xmm0, xmm5
movaps xmm2, xmm3
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x90], xmm4
minss xmm0, xmm1
movaps xmm3, xmm4
subss xmm2, xmm1
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1006fa1c]
addss xmm0, dword [0x1006f924]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1006f924]
addss xmm2, xmm5
divss xmm3, xmm0
andps xmm2, xmmword [0x10070110]
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x8c], xmm3
jmp 0x1002da52
movss xmm4, dword [esp + 0x90]
movss xmm3, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x88]
cmp byte [esp + 0x38], 0
mov esi, dword [esp + 0x18]
movss dword [esi], xmm2
movss dword [esi + 4], xmm3
movss dword [esi + 8], xmm4
je 0x1002da7f
movss xmm0, dword [esp + 0x94]
movss dword [esi + 0xc], xmm0
jmp 0x1002da7f
mov esi, dword [esp + 0x18]
mov eax, dword [0x1007ac38]
mov eax, dword [eax + 0x19f8]
dec dword [eax + 0xbc]
call fcn.1000e020
mov eax, dword [esp + 0x14]
test byte [eax + 0x110], 1
je 0x1002db57
test dword [esp + 0x10], 0x200
jne 0x1002db57
call fcn.10012640
test al, al
je 0x1002db57
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.100126d0
test eax, eax
je 0x1002daee
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.100126d0
mov ecx, eax
test ecx, ecx
je 0x1002db18
mov eax, dword [esp + 0x30]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.1003d7f0
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x1002db1f
cmp byte [esp + 0xf], 0
je 0x1002db48
test dword [esp + 0x10], 0x10000000
je 0x1002db48
movss xmm2, dword [esi + 8]
lea eax, [esi + 8]
movss xmm1, dword [esi + 4]
lea edx, [esi + 4]
movss xmm0, dword [esi]
mov ecx, esi
push eax
call fcn.10003d80
add esp, 4
mov ecx, dword [0x1007ac38]
mov byte [ecx + 0x1d89], 0
jmp 0x1002db5d
mov ecx, dword [0x1007ac38]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1002db81
mov eax, dword [edi + 0x1a2c]
test eax, eax
je 0x1002db81
cmp dword [edi + 0x1a58], edx
jne 0x1002db81
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10c], eax
mov al, byte [esp + 0xe]
test al, al
je 0x1002db9f
mov word [ecx + 0x1a3b], 0x101
mov ecx, dword [ecx + 0x19f8]
or dword [ecx + 0x110], 4
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1003ae6b
mov esp, ebp
pop ebp
ret