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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10096018]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, dword [0x10099cbc]
mov dword [esp + 0x1c], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [edi + 0x1b98]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], edi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b98]
mov dword [esp + 0x58], eax
cmp byte [eax + 0x8f], 0
je 0x1004819d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.1007a095
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c24], 1
movss xmm2, dword [edi + 0x1558]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x1934]
movss dword [esp + 0x6c], xmm2
je 0x100481ca
movss xmm0, dword [edi + 0x1c28]
jmp 0x100481d2
movss xmm0, dword [eax + 0x17c]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10048214
cmp dword [eax + 0x168], 0
movss xmm1, dword [eax + 0x204]
jne 0x100481f4
cmp dword [edi + 0x1f1c], 0
je 0x100481fc
movss xmm1, dword [eax + 0x1d4]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x1008e328]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x28], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1004822d
xorps xmm0, xmm0
jmp 0x10048238
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x156c]
movss dword [esp + 0x54], xmm0
movaps xmm1, xmm3
mov dword [esp + 0x40], edx
subss xmm1, xmm0
movss dword [esp + 0x50], xmm1
cmp edx, 0xffffffff
jae 0x10048274
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x10048270
cmp cl, 0x23
jne 0x10048266
cmp byte [esi + 1], cl
je 0x10048270
inc esi
mov dword [esp + 0x40], esi
cmp esi, 0xffffffff
jb 0x10048256
mov esi, dword [esp + 0x28]
mov dword [edi + 0x1c24], 0
call fcn.10023200
mov ecx, dword [esp + 0x4c]
call fcn.10022ab0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
test ecx, 0x20
je 0x100482ac
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x100482c0
mov edx, ecx
mov ecx, dword [esp + 0x1c]
call fcn.1004c8b0
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x2e84]
test ecx, 0x700000
jne 0x100482d7
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x100482e8
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x100482f9
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1004830a
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov eax, ecx
mov dword [esp + 0x14], ecx
shr eax, 0x13
mov edx, ecx
shr edx, 1
and eax, 0xffffff01
not dl
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
and edx, 0xffffff01
mov dword [esp + 0x2c], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x2c], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov dword [esp + 0x24], edx
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
je 0x10048379
movss xmm3, dword [eax + 0xc]
jmp 0x10048381
movss xmm3, dword [0x1008e328]
movss xmm6, dword [0x1008e25c]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0xa4], xmm3
mov dword [esp + 0x70], eax
cmp eax, 0x10100000
jne 0x100483c7
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.10017050
add esp, 4
jmp 0x10048488
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100484b4
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x100483f2
movss xmm4, dword [0x1008e550]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x1004840f
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1008e53c]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x1c]
minss xmm0, xmm2
movss dword [esp + 0xa0], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
subss xmm1, xmm0
push eax
lea edx, [esp + 0xa0]
movaps xmm0, xmm1
mulss xmm0, dword [0x1008e400]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x1008ea20]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa4], xmm1
call fcn.10048040
add esp, 8
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [0x1008e540]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm7, dword [0x1008e2d0]
jb 0x100484d1
movaps xmm6, xmm7
jmp 0x100484d4
movaps xmm6, xmm5
comiss xmm1, xmm4
mulss xmm0, dword [0x1008e4ac]
addss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [esp + 0xa8], eax
jb 0x100484f5
movaps xmm0, xmm7
jmp 0x100484f8
movaps xmm0, xmm5
comiss xmm2, xmm4
movss xmm6, dword [0x1008e4ac]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x1004851d
movaps xmm0, xmm7
jmp 0x10048520
movaps xmm0, xmm5
comiss xmm3, xmm4
mulss xmm2, xmm6
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jb 0x1004853b
movaps xmm5, xmm7
cmp dword [edi + 0x15ac], 0
mulss xmm3, xmm6
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
addss xmm3, xmm5
cvttss2si eax, xmm3
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x58]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm3
jne 0x10048589
movss xmm1, dword [esp + 0x54]
jmp 0x1004858c
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
mov eax, ecx
and eax, 0x20
mov dword [esp + 0x3c], eax
test ecx, 0x300000
je 0x1004892a
test eax, eax
jne 0x1004892a
movss xmm2, dword [edi + 0x156c]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x50]
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
movss xmm1, dword [0x1008e328]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x20], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x1008e52c]
subss xmm0, xmm1
movss xmm1, dword [0x1008e328]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x28], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x10099cbc]
push eax
push ecx
lea eax, [esp + 0x44]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x1934]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x1930]
push eax
movss dword [esp + 0x44], xmm1
call fcn.10038b70
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x1008e320]
movss xmm1, dword [esp + 0x18]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x100486a9
xor edx, edx
jmp 0x100486b8
mov edx, eax
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor ecx, ecx
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x24], ecx
jbe 0x100488d2
shl edx, 4
cmp dword [esp + 0x20], ecx
je 0x100487d2
and eax, 8
lea edx, [edx + 0x1008abc0]
mov dword [esp + 0x74], eax
mov esi, eax
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x1004870a
movss xmm1, dword [edi + 0x156c]
xorps xmm0, xmm0
call fcn.10022fc0
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x24]
jge 0x1004871c
movaps xmm0, xmm1
jmp 0x10048722
movss xmm0, dword [esp + 0x30]
mov eax, dword [0x10099cbc]
or dword [eax + 0x1c24], 1
cmp byte [esp + 0x7c], 0
movss dword [eax + 0x1c28], xmm0
je 0x10048742
xorps xmm0, xmm0
jmp 0x1004874a
movss xmm0, dword [0x1008e328]
movss xmm3, dword [0x1008e278]
lea eax, [esp + 0x74]
push 0
push dword [edx]
mov edx, 8
movss dword [esp + 0x7c], xmm0
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1008abf0]
push eax
call fcn.10041f50
mov cl, byte [esp + 0x26]
add esp, 0x14
or cl, al
or byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
test esi, esi
jne 0x100487aa
call fcn.100242c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
add edx, 4
movss xmm1, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x24]
jl 0x100486e8
jmp 0x100488ce
xor esi, esi
xor edi, edi
cmp byte [esp + 0x7c], 0
mov ecx, 0xff
cmovne ecx, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
and eax, 8
lea ecx, [edx + 0x1008ab68]
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], ecx
nop dword [eax]
test edi, edi
jle 0x1004881e
movss xmm1, dword [esi + 0x156c]
xorps xmm0, xmm0
call fcn.10022fc0
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edi + 1]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x24]
jge 0x10048830
movaps xmm0, xmm1
jmp 0x10048836
movss xmm0, dword [esp + 0x30]
mov eax, dword [0x10099cbc]
mov edx, 4
movss xmm3, dword [0x1008e328]
push 0
push dword [ecx]
or dword [eax + 0x1c24], 1
mov ecx, dword [edi*4 + 0x1008abf0]
movss dword [eax + 0x1c28], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + edi*4]
push eax
call fcn.10041f50
or byte [esp + 0x26], al
add esp, 0x14
cmp dword [esp + 0x64], 0
jne 0x100488ab
call fcn.100242c0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
add ecx, 4
movss xmm1, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
cmp edi, dword [esp + 0x24]
jl 0x10048800
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x28]
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x28], eax
test cl, 0x10
jne 0x10048db9
mov eax, edx
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10048b7e
cmp dword [edi + 0x15ac], edx
je 0x10048b7e
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [edi + 0x156c]
jmp 0x10048b81
mov dword [esp + 0x18], eax
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x100488ea
cmp byte [esp + 0x2c], 0
mov eax, 0xff
je 0x100489d3
mov edx, dword [esp + 0xb4]
test edx, edx
jns 0x10048961
mov dword [esp + 0x74], 0
jmp 0x1004896a
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jns 0x1004897f
mov dword [esp + 0x30], 0
jmp 0x10048988
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x10048997
xor edx, edx
jmp 0x1004899c
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x100489ab
xor ecx, ecx
jmp 0x100489b0
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x74]
lea eax, [esp + 0xbc]
push dword [esp + 0x34]
push edx
push ecx
push 0x1008a960
push 0x40
push eax
call fcn.100168f0
add esp, 0x1c
jmp 0x10048a36
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jns 0x100489e8
mov dword [esp + 0x74], 0
jmp 0x100489f1
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x10048a00
xor edx, edx
jmp 0x10048a05
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x10048a14
xor ecx, ecx
jmp 0x10048a19
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x74]
lea eax, [esp + 0xbc]
push edx
push ecx
push 0x1008a974
push 0x40
push eax
call fcn.100168f0
add esp, 0x18
mov eax, dword [0x10099cbc]
xor edx, edx
movss xmm5, dword [esp + 0x50]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm5
lea eax, [esp + 0x6c]
push 6
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x74], 0
push 0x40
push eax
mov dword [esp + 0x80], 0
call fcn.10044c40
add esp, 0x18
test al, al
je 0x10048b3a
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xb8]
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x10048aae
cmp al, 0x20
je 0x10048aae
cmp al, 9
jne 0x10048ab1
inc ecx
jmp 0x10048aa0
cmp byte [esp + 0x2c], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x10048b14
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10014ab0
add esp, 0x18
jmp 0x10048b3a
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
push str._02X_02X_02X
push ecx
call fcn.10014ab0
add esp, 0x14
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
test cl, 8
jne 0x10048b6d
call fcn.100242c0
mov edx, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
jmp 0x100488ee
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
jmp 0x100488ee
xorps xmm1, xmm1
cmp byte [esp + 0x2c], 0
movaps xmm0, xmm2
mov eax, dword [esp + 0x58]
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xd0], xmm0
mov eax, dword [esp + 0x1c]
je 0x10048bae
movss xmm1, dword [eax + 0xc]
jmp 0x10048bb6
movss xmm1, dword [0x1008e328]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
call fcn.1004bc20
add esp, 0xc
test al, al
mov eax, dword [esp + 0x14]
je 0x10048c98
test al, 4
jne 0x10048c98
movups xmm0, xmmword [esp + 0x80]
mov ecx, str.picker
movups xmmword [edi + 0x2e94], xmm0
call fcn.10023d30
movss xmm1, dword [edi + 0x1c44]
movss xmm0, dword [edi + 0x1568]
addss xmm0, dword [edi + 0x1c50]
mov eax, dword [0x10099cbc]
subss xmm1, dword [0x1008e328]
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
mov eax, dword [esp + 0x14]
test al, 8
jne 0x10048ca1
call fcn.100242c0
mov ecx, str.picker
call fcn.10024230
test al, al
je 0x10048db5
mov eax, dword [edi + 0x1b98]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
je 0x10048d18
push 0
mov edx, eax
call fcn.1003cb20
mov ecx, dword [0x10099cbc]
add esp, 4
mov eax, dword [ecx + 0x1b98]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b98]
cmp byte [eax + 0x8f], 0
jne 0x10048d18
movss xmm1, dword [0x1008e550]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.10022c10
mov eax, dword [0x10099cbc]
mov ecx, 0x1008a564
movss xmm0, dword [esp + 0x6c]
mulss xmm0, dword [0x1008e41c]
mov edx, dword [esp + 0x1c]
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm0
lea eax, [edi + 0x2e94]
push eax
mov eax, dword [esp + 0x64]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10049420
or byte [esp + 0x1a], al
add esp, 8
mov eax, dword [0x10099cbc]
mov dword [esp + 0x60], eax
mov ecx, dword [eax + 0x1b98]
cmp dword [eax + 0x1d40], ecx
jne 0x10048d95
cmp byte [eax + 0x1da1], 0
je 0x10048d95
cmp dword [eax + 0x1d7c], 0
jne 0x10048d95
or dword [eax + 0x1da4], 2
test dword [ecx + 8], 0x1000000
je 0x10048da5
mov byte [eax + 0x1b46], 1
call fcn.100222d0
mov eax, dword [esp + 0x60]
mov byte [eax + 0x1b46], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x4c], edx
je 0x10048e20
test cl, cl
js 0x10048e20
test eax, eax
je 0x10048dd7
movss xmm0, dword [esp + 0x54]
jmp 0x10048de6
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x156c]
movss xmm1, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [edi + 0x1558]
mov ecx, dword [esp + 0x4c]
push 0
movss dword [eax + 0xd0], xmm1
movss dword [eax + 0xd4], xmm0
call fcn.1003cb20
add esp, 4
cmp byte [esp + 0x12], 0
mov esi, dword [esp + 0x28]
je 0x10049046
test esi, esi
jne 0x10049046
cmp byte [esp + 0x13], 0
jne 0x10048e60
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1008ea10]
movups xmmword [esp + 0x98], xmm0
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10048f59
movss xmm0, dword [esp + 0x98]
lea eax, [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
lea edx, [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
lea ecx, [esp + 0x98]
push eax
movss dword [edi + 0x2e88], xmm0
movss dword [edi + 0x2e8c], xmm1
call fcn.10017050
movss xmm1, dword [esp + 0x9c]
xorps xmm4, xmm4
movss xmm5, dword [0x1008e328]
add esp, 4
comiss xmm4, xmm1
jbe 0x10048edb
xorps xmm0, xmm0
jmp 0x10048ee2
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm7, dword [0x1008e4ac]
movss xmm6, dword [0x1008e2d0]
movss xmm2, dword [esp + 0x9c]
comiss xmm4, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10048f11
xorps xmm0, xmm0
jmp 0x10048f18
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm3, dword [esp + 0xa0]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x10048f3c
xorps xmm5, xmm5
jmp 0x10048f40
minss xmm5, xmm3
mulss xmm5, xmm7
addss xmm5, xmm6
cvttss2si eax, xmm5
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x2e90], eax
jmp 0x10048f77
movss xmm3, dword [esp + 0xa0]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
cmp dword [esp + 0x70], 0x10100000
jne 0x1004901f
movaps xmm5, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm5
comiss xmm3, xmm0
jbe 0x10048fa4
movss xmm4, dword [0x1008e550]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x10048fbe
movss xmm0, dword [0x1008e53c]
movaps xmm5, xmm1
subss xmm0, xmm4
movaps xmm1, xmm6
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm5
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm5
movss dword [esp + 0xa0], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1008e400]
addss xmm0, dword [0x1008e25c]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1008e25c]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x1008ea20]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
cmp byte [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x10049046
movss xmm0, dword [esp + 0xa4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x10099cbc]
mov eax, dword [eax + 0x1b98]
dec dword [eax + 0xc4]
call fcn.10023330
test byte [edi + 0x1c40], 1
je 0x100491a4
test dword [esp + 0x14], 0x200
jne 0x100491a4
call fcn.10027ee0
test al, al
je 0x100491a4
mov ecx, str._COL3F
mov byte [esp + 0x13], 0
call fcn.10027f70
test eax, eax
je 0x100490b5
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, str._COL4F
call fcn.10027f70
mov ecx, eax
test ecx, ecx
je 0x100490e2
mov eax, dword [esp + 0x24]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x12], 1
jmp 0x100490ed
cmp byte [esp + 0x13], 0
je 0x10049196
test dword [esp + 0x14], 0x10000000
je 0x10049196
mov eax, dword [esp + 0x1c]
movss xmm2, dword [eax + 4]
movss xmm4, dword [eax + 8]
comiss xmm4, xmm2
movss xmm3, dword [eax]
jbe 0x10049125
movss xmm5, dword [0x1008e550]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x10049128
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x10049145
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1008e53c]
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 [0x1008e400]
addss xmm0, dword [0x1008e25c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1008e25c]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x1008ea20]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x10099cbc]
mov byte [eax + 0x1e8e], 0
jmp 0x100491a9
mov eax, dword [0x10099cbc]
test esi, esi
je 0x100491c5
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x100491c5
cmp dword [edi + 0x1c00], esi
jne 0x100491c5
mov dword [edi + 0x1c38], ecx
mov cl, byte [esp + 0x12]
test cl, cl
je 0x100491dd
or dword [eax + 0x1c40], 4
mov word [eax + 0x1be0], 0x101
mov al, cl
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.1007a095
mov esp, ebp
pop ebp
ret