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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x100b6018]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, dword [0x100b9cf4]
mov dword [esp + 0x20], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [edi + 0x1b98]
mov dword [esp + 0x18], 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 0x1004a41d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.1007dbea
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 0x1004a44a
movss xmm0, dword [edi + 0x1c28]
jmp 0x1004a452
movss xmm0, dword [eax + 0x17c]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004a494
cmp dword [eax + 0x168], 0
movss xmm1, dword [eax + 0x204]
jne 0x1004a474
cmp dword [edi + 0x1f1c], 0
je 0x1004a47c
movss xmm1, dword [eax + 0x1d4]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x100ae998]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x2c], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1004a4ad
xorps xmm0, xmm0
jmp 0x1004a4b8
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 0x1004a4f4
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x1004a4f0
cmp cl, 0x23
jne 0x1004a4e6
cmp byte [esi + 1], cl
je 0x1004a4f0
inc esi
mov dword [esp + 0x40], esi
cmp esi, 0xffffffff
jb 0x1004a4d6
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x1c24], 0
call fcn.100250b0
mov ecx, dword [esp + 0x4c]
call fcn.10024960
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
test ecx, 0x20
je 0x1004a52c
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1004a540
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.1004eab0
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x2e84]
test ecx, 0x700000
jne 0x1004a557
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1004a568
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1004a579
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1004a58a
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov eax, ecx
mov dword [esp + 0x18], ecx
shr eax, 0x13
mov edx, ecx
shr edx, 1
and eax, 0xffffff01
not dl
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
and edx, 0xffffff01
mov dword [esp + 0x30], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x30], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov dword [esp + 0x28], edx
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
je 0x1004a5f9
movss xmm3, dword [eax + 0xc]
jmp 0x1004a601
movss xmm3, dword [0x100ae998]
movss xmm6, dword [0x100ae8cc]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0xa4], xmm3
mov dword [esp + 0x70], eax
cmp eax, 0x10100000
jne 0x1004a647
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.10018e00
add esp, 4
jmp 0x1004a708
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004a734
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x1004a672
movss xmm4, dword [0x100aeba0]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x1004a68f
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100aeb8c]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x20]
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 [0x100aea60]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x100aee00]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa4], xmm1
call fcn.1004a2c0
add esp, 8
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [0x100aeb90]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm7, dword [0x100ae940]
jb 0x1004a751
movaps xmm6, xmm7
jmp 0x1004a754
movaps xmm6, xmm5
comiss xmm1, xmm4
mulss xmm0, dword [0x100aeb04]
addss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [esp + 0xa8], eax
jb 0x1004a775
movaps xmm0, xmm7
jmp 0x1004a778
movaps xmm0, xmm5
comiss xmm2, xmm4
movss xmm6, dword [0x100aeb04]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x1004a79d
movaps xmm0, xmm7
jmp 0x1004a7a0
movaps xmm0, xmm5
comiss xmm3, xmm4
mulss xmm2, xmm6
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jb 0x1004a7bb
movaps xmm5, xmm7
cmp dword [edi + 0x15ac], 0
mulss xmm3, xmm6
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 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 0x1004a809
movss xmm1, dword [esp + 0x54]
jmp 0x1004a80c
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
mov eax, ecx
and eax, 0x20
test ecx, 0x300000
je 0x1004ab57
test eax, eax
jne 0x1004ab57
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 [0x100ae998]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x24], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x100aeb7c]
subss xmm0, xmm1
movss xmm1, dword [0x100ae998]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x2c], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x100b9cf4]
push eax
push ecx
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x1934]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x1930]
push eax
movss dword [esp + 0x48], xmm1
call fcn.1003ab10
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x100ae990]
movss xmm1, dword [esp + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1004a925
xor edx, edx
jmp 0x1004a934
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 + 0x28], ecx
jbe 0x1004ad81
shl edx, 4
cmp dword [esp + 0x24], ecx
je 0x1004aa52
and eax, 8
lea edx, [edx + 0x100aae20]
mov dword [esp + 0x74], eax
mov esi, eax
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1004a986
movss xmm1, dword [edi + 0x156c]
xorps xmm0, xmm0
call fcn.10024e70
movss xmm1, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x28]
jge 0x1004a998
movaps xmm0, xmm1
jmp 0x1004a99e
movss xmm0, dword [esp + 0x34]
mov eax, dword [0x100b9cf4]
or dword [eax + 0x1c24], 1
cmp byte [esp + 0x7c], 0
movss dword [eax + 0x1c28], xmm0
je 0x1004a9be
xorps xmm0, xmm0
jmp 0x1004a9c6
movss xmm0, dword [0x100ae998]
movss xmm3, dword [0x100ae8e8]
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 + 0x100aae50]
push eax
call fcn.10043860
mov cl, byte [esp + 0x2a]
add esp, 0x14
or cl, al
or byte [esp + 0x17], cl
mov byte [esp + 0x16], cl
test esi, esi
jne 0x1004aa26
call fcn.10026170
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
add edx, 4
movss xmm1, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x24], edx
cmp ecx, dword [esp + 0x28]
jl 0x1004a964
mov esi, dword [esp + 0x2c]
jmp 0x1004ad81
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 + 0x100aadc8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ecx
nop dword [eax]
test edi, edi
jle 0x1004aa9e
movss xmm1, dword [esi + 0x156c]
xorps xmm0, xmm0
call fcn.10024e70
movss xmm1, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
lea eax, [edi + 1]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x28]
jge 0x1004aab0
movaps xmm0, xmm1
jmp 0x1004aab6
movss xmm0, dword [esp + 0x34]
mov eax, dword [0x100b9cf4]
mov edx, 4
movss xmm3, dword [0x100ae998]
push 0
push dword [ecx]
or dword [eax + 0x1c24], 1
mov ecx, dword [edi*4 + 0x100aae50]
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.10043860
or byte [esp + 0x2a], al
add esp, 0x14
cmp dword [esp + 0x64], 0
jne 0x1004ab2b
call fcn.10026170
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
add ecx, 4
movss xmm1, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
cmp edi, dword [esp + 0x28]
jl 0x1004aa80
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x2c]
jmp 0x1004ad81
mov edx, eax
mov dword [esp + 0x1c], edx
test ecx, 0x400000
je 0x1004ad97
mov dword [esp + 0x1c], edx
test eax, eax
jne 0x1004ad97
mov eax, 0xff
cmp byte [esp + 0x30], dl
je 0x1004ac0b
mov edx, dword [esp + 0xb4]
test edx, edx
jns 0x1004ab99
mov dword [esp + 0x74], 0
jmp 0x1004aba2
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jns 0x1004abb7
mov dword [esp + 0x34], 0
jmp 0x1004abc0
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1004abcf
xor edx, edx
jmp 0x1004abd4
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1004abe3
xor ecx, ecx
jmp 0x1004abe8
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x74]
lea eax, [esp + 0xbc]
push dword [esp + 0x38]
push edx
push ecx
push 0x100aabc0
push 0x40
push eax
call fcn.10018740
add esp, 0x1c
jmp 0x1004ac6e
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jns 0x1004ac20
mov dword [esp + 0x74], 0
jmp 0x1004ac29
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1004ac38
xor edx, edx
jmp 0x1004ac3d
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1004ac4c
xor ecx, ecx
jmp 0x1004ac51
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x74]
lea eax, [esp + 0xbc]
push edx
push ecx
push 0x100aabd4
push 0x40
push eax
call fcn.10018740
add esp, 0x18
mov eax, dword [0x100b9cf4]
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.10046bd0
add esp, 0x18
test al, al
je 0x1004ad6d
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xb8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1004ace1
cmp al, 0x20
je 0x1004ace1
cmp al, 9
jne 0x1004ace4
inc ecx
jmp 0x1004acd3
cmp byte [esp + 0x30], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x1004ad47
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.10016a20
add esp, 0x18
jmp 0x1004ad6d
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.10016a20
add esp, 0x14
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x1c], edx
test cl, 8
jne 0x1004ad8b
call fcn.10026170
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x1c], edx
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x2c], eax
test cl, 0x10
jne 0x1004affd
test edx, edx
jne 0x1004adc2
cmp dword [edi + 0x15ac], eax
je 0x1004adc2
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [edi + 0x156c]
jmp 0x1004adc5
xorps xmm1, xmm1
cmp byte [esp + 0x30], 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 + 0x20]
je 0x1004adf2
movss xmm1, dword [eax + 0xc]
jmp 0x1004adfa
movss xmm1, dword [0x100ae998]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x3c], 0
push dword [esp + 0x3c]
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.1004de10
add esp, 0xc
test al, al
mov eax, dword [esp + 0x18]
je 0x1004aedc
test al, 4
jne 0x1004aedc
movups xmm0, xmmword [esp + 0x80]
mov ecx, str.picker
movups xmmword [edi + 0x2e94], xmm0
call fcn.10025be0
movss xmm1, dword [edi + 0x1c44]
movss xmm0, dword [edi + 0x1568]
addss xmm0, dword [edi + 0x1c50]
mov eax, dword [0x100b9cf4]
subss xmm1, dword [0x100ae998]
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 + 0x18]
test al, 8
jne 0x1004aee5
call fcn.10026170
mov ecx, str.picker
call fcn.100260e0
test al, al
je 0x1004aff9
mov eax, dword [edi + 0x1b98]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
je 0x1004af5c
push 0
mov edx, eax
call fcn.1003e9d0
mov ecx, dword [0x100b9cf4]
add esp, 4
mov eax, dword [ecx + 0x1b98]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b98]
cmp byte [eax + 0x8f], 0
jne 0x1004af5c
movss xmm1, dword [0x100aeba0]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.10024ac0
mov eax, dword [0x100b9cf4]
mov ecx, 0x100aa7b4
movss xmm0, dword [esp + 0x6c]
mulss xmm0, dword [0x100aea7c]
mov edx, dword [esp + 0x20]
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.1004b640
or byte [esp + 0x1e], al
add esp, 8
mov eax, dword [0x100b9cf4]
mov dword [esp + 0x60], eax
mov ecx, dword [eax + 0x1b98]
cmp dword [eax + 0x1d40], ecx
jne 0x1004afd9
cmp byte [eax + 0x1da1], 0
je 0x1004afd9
cmp dword [eax + 0x1d7c], 0
jne 0x1004afd9
or dword [eax + 0x1da4], 2
test dword [ecx + 8], 0x1000000
je 0x1004afe9
mov byte [eax + 0x1b46], 1
call fcn.10024110
mov eax, dword [esp + 0x60]
mov byte [eax + 0x1b46], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x4c], eax
je 0x1004b065
test cl, cl
js 0x1004b065
cmp dword [esp + 0x1c], 0
je 0x1004b01a
movss xmm0, dword [esp + 0x54]
jmp 0x1004b029
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x156c]
movss xmm1, dword [esp + 0x44]
mov edx, 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 [edx + 0xd0], xmm1
movss dword [edx + 0xd4], xmm0
mov edx, eax
call fcn.1003e9d0
add esp, 4
cmp byte [esp + 0x16], 0
mov esi, dword [esp + 0x2c]
je 0x1004b283
test esi, esi
jne 0x1004b283
cmp byte [esp + 0x17], 0
jne 0x1004b09d
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100aedf0]
movups xmmword [esp + 0x98], xmm0
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004b196
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.10018e00
movss xmm1, dword [esp + 0x9c]
xorps xmm4, xmm4
movss xmm5, dword [0x100ae998]
add esp, 4
comiss xmm4, xmm1
jbe 0x1004b118
xorps xmm0, xmm0
jmp 0x1004b11f
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm7, dword [0x100aeb04]
movss xmm6, dword [0x100ae940]
movss xmm2, dword [esp + 0x9c]
comiss xmm4, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1004b14e
xorps xmm0, xmm0
jmp 0x1004b155
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 0x1004b179
xorps xmm5, xmm5
jmp 0x1004b17d
minss xmm5, xmm3
mulss xmm5, xmm7
addss xmm5, xmm6
cvttss2si eax, xmm5
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x2e90], eax
jmp 0x1004b1b4
movss xmm3, dword [esp + 0xa0]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
cmp dword [esp + 0x70], 0x10100000
jne 0x1004b25c
movaps xmm5, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm5
comiss xmm3, xmm0
jbe 0x1004b1e1
movss xmm4, dword [0x100aeba0]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x1004b1fb
movss xmm0, dword [0x100aeb8c]
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 [0x100aea60]
addss xmm0, dword [0x100ae8cc]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100ae8cc]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x100aee00]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x1004b283
movss xmm0, dword [esp + 0xa4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x100b9cf4]
mov eax, dword [eax + 0x1b98]
dec dword [eax + 0xc4]
call fcn.100251e0
test byte [edi + 0x1c40], 1
je 0x1004b3e1
test dword [esp + 0x18], 0x200
jne 0x1004b3e1
call fcn.10029e00
test al, al
je 0x1004b3e1
mov ecx, str._COL3F
mov byte [esp + 0x17], 0
call fcn.10029e90
test eax, eax
je 0x1004b2f2
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 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.10029e90
mov ecx, eax
test ecx, ecx
je 0x1004b31f
mov eax, dword [esp + 0x28]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x1004b32a
cmp byte [esp + 0x17], 0
je 0x1004b3d3
test dword [esp + 0x18], 0x10000000
je 0x1004b3d3
mov eax, dword [esp + 0x20]
movss xmm2, dword [eax + 4]
movss xmm4, dword [eax + 8]
comiss xmm4, xmm2
movss xmm3, dword [eax]
jbe 0x1004b362
movss xmm5, dword [0x100aeba0]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1004b365
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1004b382
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100aeb8c]
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 [0x100aea60]
addss xmm0, dword [0x100ae8cc]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100ae8cc]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x100aee00]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x100b9cf4]
mov byte [eax + 0x1e8e], 0
jmp 0x1004b3e6
mov eax, dword [0x100b9cf4]
test esi, esi
je 0x1004b402
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x1004b402
cmp dword [edi + 0x1c00], esi
jne 0x1004b402
mov dword [edi + 0x1c38], ecx
mov cl, byte [esp + 0x16]
test cl, cl
je 0x1004b41a
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.1007dbea
mov esp, ebp
pop ebp
ret