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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x100ba040]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x100bdd64]
mov dword [esp + 0x14], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], edx
mov eax, dword [edi + 0x1b98]
mov dword [esp + 0x10], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b98]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x8f], 0
je 0x1004a2b9
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1007f5d0
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 + 0x54], xmm2
je 0x1004a2e6
movss xmm0, dword [edi + 0x1c28]
jmp 0x1004a2ee
movss xmm0, dword [eax + 0x17c]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004a336
cmp dword [eax + 0x168], 0
movss xmm2, dword [eax + 0x204]
jne 0x1004a310
cmp dword [edi + 0x1f1c], 0
je 0x1004a318
movss xmm2, dword [eax + 0x1d4]
subss xmm2, dword [eax + 0xd0]
addss xmm2, xmm0
movss xmm0, dword [0x100b1a78]
maxss xmm0, xmm2
movss xmm2, dword [esp + 0x54]
cvttss2si esi, xmm0
mov dword [esp + 0x2c], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1004a34f
xorps xmm0, xmm0
jmp 0x1004a35a
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x156c]
movss dword [esp + 0x4c], xmm0
movaps xmm1, xmm3
mov dword [esp + 0x40], edx
subss xmm1, xmm0
movss dword [esp + 0x48], xmm1
cmp edx, 0xffffffff
jae 0x1004a396
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x1004a392
cmp cl, 0x23
jne 0x1004a388
cmp byte [esi + 1], cl
je 0x1004a392
inc esi
mov dword [esp + 0x40], esi
cmp esi, 0xffffffff
jb 0x1004a378
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x1c24], 0
call fcn.10024c40
mov ecx, dword [esp + 0x44]
call fcn.100244f0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
test cl, 0x20
je 0x1004a3cb
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x1004a3df
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.1004e8f0
mov ecx, dword [esp + 0x10]
test ecx, 0x700000
jne 0x1004a3f4
mov eax, dword [edi + 0x2e84]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1004a409
mov eax, dword [edi + 0x2e84]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1004a41e
mov eax, dword [edi + 0x2e84]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1004a433
mov eax, dword [edi + 0x2e84]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x2e84]
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 + 0x20], eax
mov eax, dword [esp + 0x14]
and edx, 0xffffff01
mov dword [esp + 0x3c], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x3c], 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 0x1004a4a7
movss xmm3, dword [eax + 0xc]
jmp 0x1004a4af
movss xmm3, dword [0x100b1a78]
movss xmm6, dword [0x100b19b4]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x94], xmm3
cmp eax, 0x10100000
jne 0x1004a4f1
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10018960
add esp, 4
jmp 0x1004a5b2
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004a5de
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x1004a51c
movss xmm4, dword [0x100b1cb0]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x1004a539
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100b1c9c]
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 [0x100b1b58]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x100b1f30]
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm1
call fcn.1004a160
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 [0x100b19a4]
movss xmm4, dword [0x100b1ca0]
movss xmm6, dword [0x100b1a20]
jb 0x1004a5fc
movaps xmm5, xmm6
jmp 0x1004a5ff
movaps xmm5, xmm4
comiss xmm1, dword [0x100b19a4]
movss xmm7, dword [0x100b1c08]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x98], eax
jb 0x1004a628
movaps xmm0, xmm6
jmp 0x1004a62b
movaps xmm0, xmm4
comiss xmm2, dword [0x100b19a4]
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x1004a64c
movaps xmm0, xmm6
jmp 0x1004a64f
movaps xmm0, xmm4
comiss xmm3, dword [0x100b19a4]
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jb 0x1004a66e
movaps xmm4, xmm6
cmp dword [edi + 0x15ac], 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 + 0x28]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm3
jne 0x1004a6bc
movss xmm1, dword [esp + 0x4c]
jmp 0x1004a6bf
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
test ecx, 0x300000
je 0x1004a9eb
test cl, 0x20
jne 0x1004a9eb
movss xmm2, dword [edi + 0x156c]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x48]
movaps xmm0, xmm2
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push 0
push 0
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100b1a78]
movaps xmm4, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm4, xmm0
movss xmm0, dword [esp + 0x50]
addss xmm2, xmm4
movss dword [esp + 0x40], xmm4
mulss xmm2, xmm3
movss xmm3, dword [0x100b1c8c]
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x100bdd64]
push eax
push ecx
lea eax, [esp + 0x68]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x1934]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x1930]
push eax
movss dword [esp + 0x38], xmm1
call fcn.1003aa50
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x100b1a70]
movss xmm1, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1004a7cf
xor eax, eax
jmp 0x1004a7dd
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1004ac0c
shl eax, 4
cmp dword [esp + 0x1c], 0
je 0x1004a8f9
and ecx, 8
xor esi, esi
mov dword [esp + 0x68], ecx
lea ecx, [eax + 0x100adde8]
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
test esi, esi
je 0x1004a832
movss xmm1, dword [edi + 0x156c]
xorps xmm0, xmm0
call fcn.10024a00
movss xmm1, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [esp + 0x58], eax
cmp eax, edx
jge 0x1004a842
movaps xmm0, xmm1
jmp 0x1004a848
movss xmm0, dword [esp + 0x24]
mov eax, dword [0x100bdd64]
or dword [eax + 0x1c24], 1
cmp byte [esp + 0x20], 0
movss dword [eax + 0x1c28], xmm0
je 0x1004a868
xorps xmm0, xmm0
jmp 0x1004a870
movss xmm0, dword [0x100b1a78]
movss xmm3, dword [0x100b19d0]
lea eax, [esp + 0x60]
push 0
push dword [ecx]
mov ecx, dword [esi*4 + 0x100ade18]
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.100436a0
mov dl, byte [esp + 0x22]
add esp, 0x14
or dl, al
or byte [esp + 0xf], dl
cmp dword [esp + 0x68], 0
mov byte [esp + 0xe], dl
jne 0x1004a8cd
call fcn.10025da0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x58]
add ecx, 4
movss xmm1, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp esi, dword [esp + 0x18]
jl 0x1004a810
mov esi, dword [esp + 0x2c]
jmp 0x1004ac08
xor esi, esi
mov edx, 0xff
cmp byte [esp + 0x20], 0
cmovne edx, esi
and ecx, 8
mov dword [esp + 0x64], ecx
lea ecx, [eax + 0x100add90]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
nop dword [eax]
test esi, esi
jle 0x1004a942
movss xmm1, dword [edi + 0x156c]
xorps xmm0, xmm0
call fcn.10024a00
movss xmm1, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x18]
jge 0x1004a954
movaps xmm0, xmm1
jmp 0x1004a95a
movss xmm0, dword [esp + 0x24]
mov eax, dword [0x100bdd64]
movss xmm3, dword [0x100b1a78]
push 0
push dword [ecx]
or dword [eax + 0x1c24], 1
mov ecx, dword [esi*4 + 0x100ade18]
movss dword [eax + 0x1c28], xmm0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x78], 0
lea eax, [eax + esi*4]
mov edx, 4
push eax
call fcn.100436a0
or byte [esp + 0x22], al
add esp, 0x14
cmp dword [esp + 0x64], 0
jne 0x1004a9bf
call fcn.10025da0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x60]
add ecx, 4
movss xmm1, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
cmp esi, dword [esp + 0x18]
jl 0x1004a920
mov esi, dword [esp + 0x2c]
jmp 0x1004ac08
test ecx, 0x400000
je 0x1004ac1c
test cl, 0x20
jne 0x1004ac1c
cmp byte [esp + 0x3c], 0
mov eax, 0xff
je 0x1004aa97
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x1004aa25
mov dword [esp + 0x24], 0
jmp 0x1004aa2e
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x1004aa43
mov dword [esp + 0x20], 0
jmp 0x1004aa4c
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1004aa5b
xor edx, edx
jmp 0x1004aa60
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1004aa6f
xor ecx, ecx
jmp 0x1004aa74
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push dword [esp + 0x24]
push edx
push ecx
push 0x100adb88
push 0x40
push eax
call fcn.100182a0
add esp, 0x1c
jmp 0x1004aafa
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x1004aaac
mov dword [esp + 0x24], 0
jmp 0x1004aab5
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1004aac4
xor edx, edx
jmp 0x1004aac9
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1004aad8
xor ecx, ecx
jmp 0x1004aadd
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push edx
push ecx
push 0x100adb9c
push 0x40
push eax
call fcn.100182a0
add esp, 0x18
mov eax, dword [0x100bdd64]
xor edx, edx
movss xmm5, dword [esp + 0x48]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], 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.100469b0
add esp, 0x18
test al, al
je 0x1004abfa
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa8]
nop
mov al, byte [ecx]
cmp al, 0x23
je 0x1004ab6e
cmp al, 0x20
je 0x1004ab6e
cmp al, 9
jne 0x1004ab71
inc ecx
jmp 0x1004ab60
cmp byte [esp + 0x3c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x1004abd4
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.10016560
add esp, 0x18
jmp 0x1004abfa
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.10016560
add esp, 0x14
mov ecx, dword [esp + 0x10]
test cl, 8
jne 0x1004ac0c
call fcn.10025da0
mov ecx, dword [esp + 0x10]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
test cl, 0x10
jne 0x1004ae76
test cl, 0x20
jne 0x1004ac4b
cmp dword [edi + 0x15ac], 0
je 0x1004ac4b
movss xmm1, dword [esp + 0x48]
addss xmm1, dword [edi + 0x156c]
jmp 0x1004ac4e
xorps xmm1, xmm1
cmp byte [esp + 0x3c], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xd0], xmm0
mov eax, dword [esp + 0x14]
je 0x1004ac77
movss xmm1, dword [eax + 0xc]
jmp 0x1004ac7f
movss xmm1, dword [0x100b1a78]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
mov dword [esp + 0x5c], 0
push dword [esp + 0x5c]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x5c], 0
push dword [esp + 0x5c]
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.1004dc40
add esp, 0xc
test al, al
mov eax, dword [esp + 0x10]
je 0x1004ad55
test al, 4
jne 0x1004ad55
movups xmm0, xmmword [esp + 0x70]
mov ecx, str.picker
movups xmmword [edi + 0x2e94], xmm0
call fcn.100257c0
movss xmm1, dword [edi + 0x1c44]
movss xmm0, dword [edi + 0x1568]
addss xmm0, dword [edi + 0x1c50]
mov eax, dword [0x100bdd64]
subss xmm1, dword [0x100b1a78]
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 + 0x10]
test al, 8
jne 0x1004ad5e
call fcn.10025da0
mov ecx, str.picker
call fcn.10025d10
test al, al
je 0x1004ae72
mov eax, dword [edi + 0x1b98]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
je 0x1004add5
push 0
mov edx, eax
call fcn.1003e8e0
mov ecx, dword [0x100bdd64]
add esp, 4
mov eax, dword [ecx + 0x1b98]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b98]
cmp byte [eax + 0x8f], 0
jne 0x1004add5
movss xmm1, dword [0x100b1cb0]
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.10024650
mov eax, dword [0x100bdd64]
mov ecx, 0x100ad77c
movss xmm0, dword [esp + 0x54]
mulss xmm0, dword [0x100b1b74]
mov edx, dword [esp + 0x14]
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm0
lea eax, [edi + 0x2e94]
push eax
mov eax, dword [esp + 0x54]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1004b4c0
or byte [esp + 0x16], al
add esp, 8
mov eax, dword [0x100bdd64]
mov dword [esp + 0x50], eax
mov ecx, dword [eax + 0x1b98]
cmp dword [eax + 0x1d40], ecx
jne 0x1004ae52
cmp byte [eax + 0x1da1], 0
je 0x1004ae52
cmp dword [eax + 0x1d7c], 0
jne 0x1004ae52
or dword [eax + 0x1da4], 2
test dword [ecx + 8], 0x1000000
je 0x1004ae62
mov byte [eax + 0x1b46], 1
call fcn.10023ca0
mov eax, dword [esp + 0x50]
mov byte [eax + 0x1b46], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x44], eax
je 0x1004aedc
test cl, cl
js 0x1004aedc
test cl, 0x20
je 0x1004ae91
movss xmm0, dword [esp + 0x4c]
jmp 0x1004aea0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x156c]
movss xmm1, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [edi + 0x1558]
mov ecx, dword [esp + 0x44]
push 0
movss dword [edx + 0xd0], xmm1
movss dword [edx + 0xd4], xmm0
mov edx, eax
call fcn.1003e8e0
add esp, 4
cmp byte [esp + 0xe], 0
je 0x1004b0fe
cmp dword [esp + 0x2c], 0
jne 0x1004b0fe
cmp byte [esp + 0xf], 0
jne 0x1004af13
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100b1f20]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x10]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004b00c
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 + 0x2e88], xmm0
movss dword [edi + 0x2e8c], xmm1
call fcn.10018960
movss xmm1, dword [esp + 0x8c]
xorps xmm0, xmm0
movss xmm4, dword [0x100b1a78]
add esp, 4
comiss xmm0, xmm1
jbe 0x1004af8e
xorps xmm2, xmm2
jmp 0x1004af95
movaps xmm2, xmm4
minss xmm2, xmm1
movss xmm6, dword [0x100b1c08]
movss xmm5, dword [0x100b1a20]
mulss xmm2, xmm6
addss xmm2, xmm5
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x8c]
comiss xmm0, xmm2
jbe 0x1004afc4
xorps xmm3, xmm3
jmp 0x1004afcb
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 0x1004afef
xorps xmm4, xmm4
jmp 0x1004aff3
minss xmm4, xmm3
mulss xmm4, xmm6
addss xmm4, xmm5
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x2e90], eax
jmp 0x1004b027
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 0x1004b0d5
comiss xmm3, xmm2
movaps xmm4, xmm1
xorps xmm5, xmm5
movaps xmm6, xmm4
movaps xmm1, xmm2
jbe 0x1004b05a
movss xmm5, dword [0x100b1cb0]
movaps xmm1, xmm3
movaps xmm3, xmm2
comiss xmm1, xmm6
jbe 0x1004b074
movss xmm0, dword [0x100b1c9c]
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 [0x100b1b58]
addss xmm0, dword [0x100b19b4]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100b19b4]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x100b1f30]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
cmp byte [esp + 0x3c], 0
mov esi, dword [esp + 0x14]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x1004b102
movss xmm0, dword [esp + 0x94]
movss dword [esi + 0xc], xmm0
jmp 0x1004b102
mov esi, dword [esp + 0x14]
mov eax, dword [0x100bdd64]
mov eax, dword [eax + 0x1b98]
dec dword [eax + 0xc4]
call fcn.10024d70
test byte [edi + 0x1c40], 1
je 0x1004b255
test dword [esp + 0x10], 0x200
jne 0x1004b255
call fcn.100299f0
test al, al
je 0x1004b255
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.10029a80
test eax, eax
je 0x1004b16d
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.10029a80
mov ecx, eax
test ecx, ecx
je 0x1004b197
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 0x1004b1a2
cmp byte [esp + 0xf], 0
je 0x1004b247
test dword [esp + 0x10], 0x10000000
je 0x1004b247
movss xmm2, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm2
movss xmm4, dword [esi]
jbe 0x1004b1d6
movss xmm3, dword [0x100b1cb0]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x1004b1d9
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x1004b1f6
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100b1c9c]
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 [0x100b1b58]
addss xmm0, dword [0x100b19b4]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100b19b4]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100b1f30]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x100bdd64]
mov byte [eax + 0x1e8e], 0
jmp 0x1004b25a
mov eax, dword [0x100bdd64]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1004b27a
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x1004b27a
cmp dword [edi + 0x1c00], edx
jne 0x1004b27a
mov dword [edi + 0x1c38], ecx
mov cl, byte [esp + 0xe]
test cl, cl
je 0x1004b292
or dword [eax + 0x1c40], 4
mov word [eax + 0x1be0], 0x101
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1007f5d0
mov esp, ebp
pop ebp
ret