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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x100aa040]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x100ab038]
mov dword [esp + 8], eax
push edi
mov edi, edx
mov dword [esp + 0x24], esi
mov eax, dword [esi + 0x3f8c]
mov edx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], edx
mov byte [eax + 0xb0], 1
mov ecx, dword [esi + 0x3f8c]
mov dword [esp + 0x10], ecx
cmp byte [ecx + 0xb3], 0
je 0x1004c09f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.10075ccd
mov esp, ebp
pop ebp
ret
movss xmm0, dword [esi + 0x38e8]
mov dword [esp + 0x3c], edx
addss xmm0, xmm0
addss xmm0, dword [esi + 0x3cf4]
movss dword [esp + 0x4c], xmm0
cmp edx, 0xffffffff
jae 0x1004c0e6
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x1004c0de
cmp cl, 0x23
jne 0x1004c0d4
cmp byte [esi + 1], cl
je 0x1004c0de
inc esi
mov dword [esp + 0x3c], esi
cmp esi, 0xffffffff
jb 0x1004c0c4
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
test byte [esi + 0x48e8], 1
je 0x1004c0f9
movss xmm1, dword [esi + 0x48f8]
jmp 0x1004c101
movss xmm1, dword [ecx + 0x1ac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004c143
cmp dword [ecx + 0x198], 0
jne 0x1004c121
cmp dword [esi + 0x4ce0], 0
lea eax, [ecx + 0x234]
je 0x1004c127
lea eax, [ecx + 0x204]
movss xmm0, dword [eax]
subss xmm0, dword [ecx + 0xf8]
addss xmm0, xmm1
movss xmm1, dword [0x100a3bb0]
maxss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esi + 0x48e8], 0
mov dword [esi + 0x48ec], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
call fcn.100246a0
mov ecx, dword [esp + 0x40]
call fcn.100219d0
mov eax, dword [esi + 0x5c98]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x1004c19e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x5c98], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
test cl, 0x20
je 0x1004c1bb
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0xc], ecx
test cl, 8
jne 0x1004c1cd
mov edx, ecx
mov ecx, edi
call fcn.10050630
mov ecx, dword [esp + 0xc]
test ecx, 0x700000
jne 0x1004c1e2
mov eax, dword [esi + 0x5c94]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1004c1f7
mov eax, dword [esi + 0x5c94]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1004c20c
mov eax, dword [esi + 0x5c94]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1004c221
mov eax, dword [esi + 0x5c94]
and eax, 0x18000000
or ecx, eax
mov eax, dword [esi + 0x5c94]
and eax, 0xe00fffff
or ecx, eax
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 + 0x64], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
test cl, 0x10
je 0x1004c264
xorps xmm0, xmm0
jmp 0x1004c272
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esi + 0x38fc]
movss xmm7, dword [esp + 0x30]
movss xmm2, dword [0x100a3bb0]
subss xmm7, xmm0
movss xmm3, dword [edi + 8]
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x90], xmm3
maxss xmm7, xmm2
movss dword [esp + 0x30], xmm7
movaps xmm1, xmm7
addss xmm1, xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x54], xmm1
movss xmm1, dword [edi + 4]
movss dword [esp + 0x8c], xmm1
test dl, dl
je 0x1004c2d5
movss xmm4, dword [edi + 0xc]
jmp 0x1004c2d8
movaps xmm4, xmm2
movss xmm6, dword [0x100a3b04]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x94], xmm4
cmp eax, 0x10100000
jne 0x1004c323
lea eax, [esp + 0x90]
movaps xmm2, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10014b90
movss xmm7, dword [esp + 0x34]
add esp, 4
jmp 0x1004c3e2
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004c40e
comiss xmm3, xmm1
xorps xmm4, xmm4
movaps xmm2, xmm1
jbe 0x1004c34e
movss xmm4, dword [0x100a3d3c]
movaps xmm2, xmm3
movaps xmm3, xmm1
comiss xmm2, xmm0
movaps xmm5, xmm0
jbe 0x1004c36b
movaps xmm5, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100a3d28]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x90], xmm5
minss xmm0, xmm3
movaps xmm1, xmm5
subss xmm2, xmm3
mov ecx, edi
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 [0x100a3c38]
addss xmm0, xmm6
divss xmm2, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x100a4220]
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x94], xmm1
call fcn.1004bf30
add esp, 8
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
movss xmm3, dword [esp + 0x90]
movss xmm4, dword [esp + 0x94]
movss xmm5, dword [0x100a3d2c]
xorps xmm2, xmm2
comiss xmm0, xmm2
jb 0x1004c428
movss xmm6, dword [0x100a3b6c]
jmp 0x1004c42b
movaps xmm6, xmm5
comiss xmm1, xmm2
mulss xmm0, dword [0x100a3cd0]
addss xmm0, xmm6
movss xmm6, dword [0x100a3b6c]
cvttss2si eax, xmm0
mov dword [esp + 0x98], eax
jb 0x1004c454
movaps xmm0, xmm6
jmp 0x1004c457
movaps xmm0, xmm5
comiss xmm3, xmm2
mulss xmm1, dword [0x100a3cd0]
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x1004c478
movaps xmm0, xmm6
jmp 0x1004c47b
movaps xmm0, xmm5
comiss xmm4, xmm2
movss xmm1, dword [0x100a3cd0]
mulss xmm3, xmm1
addss xmm3, xmm0
cvttss2si eax, xmm3
mov dword [esp + 0xa0], eax
jb 0x1004c49e
movaps xmm5, xmm6
cmp dword [esi + 0x3944], 0
mulss xmm4, xmm1
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
addss xmm4, xmm5
cvttss2si eax, xmm4
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
movss xmm1, dword [eax + 0xf8]
movss xmm3, dword [eax + 0xfc]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm3
jne 0x1004c4ec
movss xmm0, dword [esp + 0x44]
jmp 0x1004c4ef
xorps xmm0, xmm0
addss xmm0, xmm1
movss dword [eax + 0xf8], xmm0
test ecx, 0x300000
je 0x1004c802
test cl, 0x20
jne 0x1004c802
mov eax, dword [esp + 0x38]
movss xmm3, dword [0x100a3d1c]
dec eax
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x100ab038]
push ecx
push 0
push eax
mulss xmm0, dword [esi + 0x38fc]
lea eax, [esp + 0x68]
push ecx
movss xmm2, dword [ecx + 0x3cf4]
mov ecx, dword [ecx + 0x3cf0]
subss xmm7, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x34], xmm7
call fcn.1003bcc0
mov edx, dword [esp + 0x38]
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [0x100a3ba8]
movss xmm5, dword [esp + 0x20]
movd xmm6, edx
cvtdq2ps xmm6, xmm6
mov ecx, dword [esp + 0xc]
cvttss2si eax, xmm0
movaps xmm0, xmm5
movss dword [esp + 0x24], xmm6
divss xmm0, xmm6
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x1004c5c7
xor eax, eax
jmp 0x1004c5d5
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
xor edi, edi
xorps xmm2, xmm2
xorps xmm4, xmm4
test edx, edx
je 0x1004c9fe
and ecx, 8
shl eax, 4
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x1c], edi
je 0x1004c701
lea eax, [eax + 0x1009e088]
mov dword [esp + 0x18], eax
mov ecx, edi
mov dword [esp + 0x1c], ecx
test edi, edi
je 0x1004c622
movss xmm1, dword [esi + 0x38fc]
xorps xmm0, xmm0
call fcn.10024400
xorps xmm2, xmm2
mov ecx, edi
lea eax, [edi + 1]
movss xmm3, dword [0x100a3bb0]
movd xmm0, eax
mov edi, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm5
divss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [0x100ab038]
cvtdq2ps xmm1, xmm1
or dword [eax + 0x48e8], 1
cmp byte [esp + 0x64], 0
movaps xmm0, xmm1
movss dword [esp + 0x1c], xmm1
subss xmm0, xmm4
maxss xmm0, xmm3
movss dword [eax + 0x48f8], xmm0
mov eax, dword [esp + 0x18]
jne 0x1004c67c
movaps xmm2, xmm3
movss xmm3, dword [0x100a3b1c]
mov edx, 8
push ecx
push dword [eax]
lea eax, [esp + 0x70]
movss dword [esp + 0x70], xmm2
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
lea eax, [esp + 0x98]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1009e078]
push eax
call fcn.10044cd0
mov dl, byte [esp + 0x1e]
add esp, 0x14
or dl, al
or byte [esp + 0xb], dl
cmp dword [esp + 0x48], 0
mov byte [esp + 0xa], dl
jne 0x1004c6d8
call fcn.10025a50
add dword [esp + 0x18], 4
xorps xmm2, xmm2
movss xmm4, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x20]
movss xmm6, dword [esp + 0x24]
cmp edi, dword [esp + 0x38]
jl 0x1004c603
jmp 0x1004c9fa
xor edx, edx
lea eax, [eax + 0x1009e0e0]
xor edi, edi
mov dword [esp + 0x18], eax
cmp byte [esp + 0x64], dl
mov ecx, 0xff
cmovne ecx, edx
mov dword [esp + 0x68], ecx
nop
mov ecx, edi
mov dword [esp + 0x5c], ecx
test edi, edi
jle 0x1004c73c
movss xmm1, dword [esi + 0x38fc]
xorps xmm0, xmm0
call fcn.10024400
mov ecx, edi
lea eax, [edi + 1]
movss xmm3, dword [0x100a3bb0]
movd xmm0, eax
mov edi, eax
cvtdq2ps xmm0, xmm0
push ecx
mov edx, 4
mov dword [esp + 0x68], 0
mulss xmm0, xmm5
divss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [0x100ab038]
cvtdq2ps xmm1, xmm1
or dword [eax + 0x48e8], 1
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
subss xmm0, xmm4
maxss xmm0, dword [0x100a3bb0]
movss dword [eax + 0x48f8], xmm0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
push dword [eax]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1009e078]
push eax
call fcn.10044cd0
or byte [esp + 0x1e], al
add esp, 0x14
cmp dword [esp + 0x48], 0
jne 0x1004c7dc
call fcn.10025a50
add dword [esp + 0x18], 4
movss xmm4, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x20]
movss xmm6, dword [esp + 0x24]
cmp edi, dword [esp + 0x38]
jl 0x1004c720
jmp 0x1004c9fa
test ecx, 0x400000
je 0x1004ca12
test cl, 0x20
jne 0x1004ca12
mov eax, 0xff
test dl, dl
je 0x1004c89a
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jns 0x1004c835
mov dword [esp + 0x24], 0
jmp 0x1004c83e
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0xa0]
test edi, edi
jns 0x1004c84d
xor edi, edi
jmp 0x1004c852
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1004c861
xor edx, edx
jmp 0x1004c866
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1004c875
xor ecx, ecx
jmp 0x1004c87a
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push edi
push edx
push ecx
push 0x1009de70
push 0x40
push eax
call fcn.10014320
add esp, 0x1c
jmp 0x1004c8f0
mov edi, dword [esp + 0xa0]
test edi, edi
jns 0x1004c8a9
xor edi, edi
jmp 0x1004c8ae
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1004c8bd
xor edx, edx
jmp 0x1004c8c2
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1004c8d1
xor ecx, ecx
jmp 0x1004c8d6
cmp ecx, eax
cmovg ecx, eax
push edi
push edx
push ecx
push 0x1009de84
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.10014320
add esp, 0x18
mov eax, dword [0x100ab038]
xor edx, edx
movss xmm0, dword [esp + 0x30]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x48e8], 1
movss dword [eax + 0x48f8], xmm0
lea eax, [esp + 0x64]
push 4
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x6c], 0
push 0x40
push eax
mov dword [esp + 0x78], 0
call fcn.10047c60
add esp, 0x18
test al, al
je 0x1004c9ec
mov byte [esp + 0xa], 1
lea ecx, [esp + 0xa8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1004c960
cmp al, 0x20
je 0x1004c960
cmp al, 9
jne 0x1004c963
inc ecx
jmp 0x1004c952
cmp byte [esp + 0x34], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x1004c9c6
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.10011850
add esp, 0x18
jmp 0x1004c9ec
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.10011850
add esp, 0x14
mov ecx, dword [esp + 0xc]
test cl, 8
jne 0x1004c9fe
call fcn.10025a50
mov ecx, dword [esp + 0xc]
movss xmm1, dword [esp + 0x28]
movss xmm3, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0
test cl, 0x10
jne 0x1004cc23
test cl, 0x20
jne 0x1004ca41
cmp dword [esi + 0x3944], 0
je 0x1004ca41
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esi + 0x38fc]
jmp 0x1004ca44
xorps xmm0, xmm0
cmp byte [esp + 0x34], 0
addss xmm0, xmm1
movss dword [eax + 0xfc], xmm3
movss dword [eax + 0xf8], xmm0
je 0x1004ca66
movss xmm1, dword [edi + 0xc]
jmp 0x1004ca6e
movss xmm1, dword [0x100a3bb0]
movss xmm0, dword [edi]
lea eax, [esp + 0x68]
movss dword [esp + 0x70], xmm0
lea edx, [esp + 0x70]
movss xmm0, dword [edi + 4]
push eax
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call fcn.1004fb80
add esp, 8
test al, al
mov eax, dword [esp + 0xc]
je 0x1004cb41
test al, 4
jne 0x1004cb41
movups xmm0, xmmword [esp + 0x70]
mov ecx, str.picker
movups xmmword [esi + 0x5cac], xmm0
call fcn.100252b0
movss xmm1, dword [esi + 0x4914]
movss xmm0, dword [esi + 0x38f8]
addss xmm0, dword [esi + 0x4920]
mov eax, dword [0x100ab038]
addss xmm1, dword [0x100a3af0]
or dword [eax + 0x4954], 1
movss dword [eax + 0x4968], xmm0
movss dword [eax + 0x4964], xmm1
mov dword [eax + 0x496c], 0
mov dword [eax + 0x4970], 0
mov dword [eax + 0x4958], 1
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1004cb4a
call fcn.10025a50
mov ecx, str.picker
call fcn.10025840
test al, al
je 0x1004cc1f
mov eax, dword [esi + 0x3f8c]
cmp word [eax + 0xbc], 1
jne 0x1004cc1a
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
je 0x1004cbcf
push 0
mov edx, eax
call fcn.10041290
mov ecx, dword [0x100ab038]
add esp, 4
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
cmp byte [eax + 0xb3], 0
jne 0x1004cbcf
movss xmm1, dword [0x100a3d3c]
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.100242a0
mov eax, dword [0x100ab038]
mov edx, edi
movss xmm0, dword [esp + 0x4c]
mov ecx, 0x1009da7c
mulss xmm0, dword [0x100a3c50]
or dword [eax + 0x48e8], 1
movss dword [eax + 0x48f8], xmm0
lea eax, [esi + 0x5cac]
push eax
mov eax, dword [esp + 0x54]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1004d2c0
add esp, 8
or byte [esp + 0xa], al
call fcn.100259f0
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x40], edi
je 0x1004cc80
test cl, cl
js 0x1004cc80
movss xmm1, dword [esi + 0x38fc]
xorps xmm0, xmm0
call fcn.10024400
test byte [esp + 0xc], 0x20
je 0x1004cc50
movss xmm0, dword [esp + 0x44]
jmp 0x1004cc5e
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esi + 0x38fc]
addss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, edi
mov ecx, dword [esp + 0x40]
push 0
movss dword [eax + 0xf8], xmm0
call fcn.10041290
add esp, 4
cmp byte [esp + 0xa], 0
je 0x1004ceae
cmp dword [esp + 0x20], 0
jne 0x1004ceae
cmp byte [esp + 0xb], 0
jne 0x1004ccb7
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100a4210]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0xc]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004cdbc
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 [esi + 0x5ca0], xmm0
movss dword [esi + 0x5ca4], xmm1
call fcn.10014b90
movss xmm1, dword [esp + 0x8c]
xorps xmm0, xmm0
mov eax, dword [esi + 0x5c98]
add esp, 4
comiss xmm0, xmm1
mov dword [esi + 0x5c9c], eax
movss xmm4, dword [0x100a3bb0]
jbe 0x1004cd3e
xorps xmm2, xmm2
jmp 0x1004cd45
movaps xmm2, xmm4
minss xmm2, xmm1
movss xmm6, dword [0x100a3cd0]
movss xmm5, dword [0x100a3b6c]
mulss xmm2, xmm6
addss xmm2, xmm5
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x8c]
comiss xmm0, xmm2
jbe 0x1004cd74
xorps xmm3, xmm3
jmp 0x1004cd7b
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 0x1004cd9f
xorps xmm4, xmm4
jmp 0x1004cda3
minss xmm4, xmm3
mulss xmm4, xmm6
addss xmm4, xmm5
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [esi + 0x5ca8], eax
jmp 0x1004cdd7
movss xmm3, dword [esp + 0x90]
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x88]
mov eax, dword [esp + 0xc]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1004ce85
comiss xmm3, xmm2
movaps xmm4, xmm1
xorps xmm5, xmm5
movaps xmm6, xmm4
movaps xmm1, xmm2
jbe 0x1004ce0a
movss xmm5, dword [0x100a3d3c]
movaps xmm1, xmm3
movaps xmm3, xmm2
comiss xmm1, xmm6
jbe 0x1004ce24
movss xmm0, dword [0x100a3d28]
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 [0x100a3c38]
addss xmm0, dword [0x100a3b04]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100a3b04]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x100a4220]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
cmp byte [esp + 0x34], 0
mov edi, dword [esp + 0x14]
movss dword [edi], xmm1
movss dword [edi + 4], xmm2
movss dword [edi + 8], xmm3
je 0x1004ceb2
movss xmm0, dword [esp + 0x94]
movss dword [edi + 0xc], xmm0
jmp 0x1004ceb2
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x58], 0
jne 0x1004cec3
mov dword [esi + 0x5c98], 0
mov eax, dword [0x100ab038]
mov eax, dword [eax + 0x3f8c]
dec dword [eax + 0xec]
call fcn.10024800
test byte [esi + 0x4910], 1
je 0x1004d02f
test byte [esi + 0x490c], 0x80
jne 0x1004d02f
test dword [esp + 0xc], 0x200
jne 0x1004d02f
call fcn.1002a6b0
test al, al
je 0x1004d02f
mov ecx, str._COL3F
mov byte [esp + 0xb], 0
call fcn.1002a7a0
test eax, eax
je 0x1004cf3b
mov eax, dword [eax]
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 1
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov ecx, str._COL4F
call fcn.1002a7a0
mov ecx, eax
test ecx, ecx
je 0x1004cf65
mov eax, dword [esp + 0x38]
shl eax, 2
push eax
push dword [ecx]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x1004cf70
cmp byte [esp + 0xb], 0
je 0x1004d015
test dword [esp + 0xc], 0x10000000
je 0x1004d015
movss xmm2, dword [edi + 4]
movss xmm5, dword [edi + 8]
comiss xmm5, xmm2
movss xmm4, dword [edi]
jbe 0x1004cfa4
movss xmm3, dword [0x100a3d3c]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x1004cfa7
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x1004cfc4
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100a3d28]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [edi + 8], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a3c38]
addss xmm0, dword [0x100a3b04]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100a3b04]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100a4220]
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
mov eax, dword [0x100ab038]
cmp byte [eax + 0x4c76], 0
mov byte [eax + 0x4c32], 0
je 0x1004d02f
call fcn.1002a350
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1004d04f
mov eax, dword [esi + 0x3fdc]
test eax, eax
je 0x1004d04f
cmp dword [esi + 0x3ffc], ecx
jne 0x1004d04f
mov dword [esi + 0x4908], eax
mov dl, byte [esp + 0xa]
test dl, dl
je 0x1004d093
mov eax, dword [esi + 0x4908]
test eax, eax
je 0x1004d093
mov ecx, dword [0x100ab038]
cmp word [ecx + 0x5d1e], 0
jg 0x1004d093
mov edx, dword [ecx + 0x3fdc]
cmp edx, eax
je 0x1004d07f
test edx, edx
jne 0x1004d088
mov word [ecx + 0x3fec], 0x101
or dword [ecx + 0x4910], 4
mov dl, byte [esp + 0xa]
mov ecx, dword [esp + 0xec]
mov al, dl
pop edi
pop esi
xor ecx, esp
call fcn.10075ccd
mov esp, ebp
pop ebp
ret