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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
push edi
mov edi, dword [0x66aec0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x70], ecx
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
mov dword [esp + 0x24], eax
cmp byte [eax + 0xaf], 0
je 0x46bdb4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [edi + 0x46a8], 1
movss xmm2, dword [edi + 0x37c8]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3bb8]
movss dword [esp + 0x84], xmm2
je 0x46bde4
movss xmm1, dword [edi + 0x46ac]
jmp 0x46bdec
movss xmm1, dword [eax + 0x1a0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x46be37
cmp dword [eax + 0x190], 0
movss xmm2, dword [eax + 0x228]
jne 0x46be0e
cmp dword [edi + 0x4a04], 0
je 0x46be16
movss xmm2, dword [eax + 0x1f8]
subss xmm2, dword [eax + 0xf0]
addss xmm2, xmm1
movss xmm1, dword [0x4a6310]
maxss xmm1, xmm2
movss xmm2, dword [esp + 0x84]
test byte [ebp + 8], 0x10
cvttss2si esi, xmm1
mov dword [esp + 0x34], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
je 0x46be51
xorps xmm1, xmm1
jmp 0x46be5c
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x37dc]
movss dword [esp + 0x80], xmm1
movaps xmm0, xmm3
mov dword [esp + 0x50], ecx
subss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
cmp ecx, 0xffffffff
jae 0x46be9e
mov esi, ecx
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x46be9a
cmp cl, 0x23
jne 0x46be90
cmp byte [esi + 1], cl
je 0x46be9a
inc esi
mov dword [esp + 0x50], esi
cmp esi, 0xffffffff
jb 0x46be80
mov esi, dword [esp + 0x34]
mov dword [edi + 0x46a8], 0
call fcn.004430f0
mov ecx, dword [esp + 0x70]
call fcn.004408e0
mov eax, dword [edi + 0x5994]
mov dword [esp + 0x8c], eax
test eax, eax
jne 0x46bee1
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5994], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x88], ecx
test cl, 0x20
je 0x46beff
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x46bf12
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.0046ff60
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x46bf27
mov eax, dword [edi + 0x5990]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x46bf3c
mov eax, dword [edi + 0x5990]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x46bf51
mov eax, dword [edi + 0x5990]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x46bf66
mov eax, dword [edi + 0x5990]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5990]
and eax, 0xe00fffff
or ecx, eax
mov eax, ecx
mov dword [ebp + 8], ecx
shr eax, 0x13
mov edx, ecx
shr edx, 1
and eax, 0xffffff01
not dl
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
and edx, 0xffffff01
mov dword [esp + 0x54], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x54], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov dword [esp + 0x28], edx
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm2
je 0x46bfd0
movss xmm3, dword [eax + 0xc]
jmp 0x46bfd8
movss xmm3, dword [0x4a6310]
movss xmm6, dword [0x4a6274]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x20], xmm3
cmp eax, 0x10100000
jne 0x46c00e
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.00433a80
add esp, 4
jmp 0x46c0bd
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x46c0dc
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x46c039
movss xmm4, dword [0x4a6488]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x46c056
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x4a6474]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x10]
minss xmm0, xmm2
movss dword [esp + 0x1c], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x1c]
movaps xmm0, xmm1
mulss xmm0, dword [0x4a6388]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x4a66b0]
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x20], xmm1
call fcn.0046bc70
add esp, 8
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x20]
comiss xmm0, dword [0x4a6264]
movss xmm4, dword [0x4a6478]
movss xmm6, dword [0x4a62d0]
jb 0x46c0fa
movaps xmm5, xmm6
jmp 0x46c0fd
movaps xmm5, xmm4
comiss xmm1, dword [0x4a6264]
movss xmm7, dword [0x4a641c]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x60], eax
jb 0x46c123
movaps xmm0, xmm6
jmp 0x46c126
movaps xmm0, xmm4
comiss xmm2, dword [0x4a6264]
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x64], eax
jb 0x46c144
movaps xmm0, xmm6
jmp 0x46c147
movaps xmm0, xmm4
comiss xmm3, dword [0x4a6264]
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x68], eax
jb 0x46c163
movaps xmm4, xmm6
cmp dword [edi + 0x381c], 0
mulss xmm3, xmm7
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm3, xmm4
cvttss2si eax, xmm3
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
movss xmm2, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xf4]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x4c], xmm3
jne 0x46c1b1
movss xmm1, dword [esp + 0x80]
jmp 0x46c1b4
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
test ecx, 0x300000
je 0x46c4f0
test cl, 0x20
jne 0x46c4f0
movss xmm2, dword [edi + 0x37dc]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x7c]
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 [0x4a6310]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x50], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x4a6460]
subss xmm0, xmm1
movss xmm1, dword [0x4a6310]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x60], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x66aec0]
push eax
push ecx
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3bb8]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x3bb4]
push eax
movss dword [esp + 0x40], xmm1
call fcn.0045a830
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x4a6308]
movss xmm1, dword [esp + 0x48]
mov ecx, dword [ebp + 8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x46c2cb
xor eax, eax
jmp 0x46c2d9
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
xor edx, edx
mov dword [esp + 0x30], edx
cmp dword [esp + 0x28], edx
jbe 0x46c6d6
shl eax, 4
cmp dword [esp + 0x58], edx
je 0x46c403
and ecx, 8
mov dword [esp + 0x5c], ecx
lea ecx, [eax + 0x4a6150]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x58], ecx
nop dword [eax + eax]
mov dword [esp + 0x40], edx
test edx, edx
je 0x46c336
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.00442ee0
movss xmm1, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x28]
jge 0x46c348
movaps xmm0, xmm1
jmp 0x46c34e
movss xmm0, dword [esp + 0x2c]
mov eax, dword [0x66aec0]
or dword [eax + 0x46a8], 1
cmp byte [esp + 0x38], 0
movss dword [eax + 0x46ac], xmm0
je 0x46c36e
xorps xmm0, xmm0
jmp 0x46c376
movss xmm0, dword [0x4a6310]
movss xmm3, dword [0x4a628c]
lea eax, [esp + 0x5c]
push ecx
push dword [ecx]
mov ecx, dword [esp + 0x48]
mov edx, 8
push eax
lea eax, [esp + 0x80]
movss dword [esp + 0x68], xmm0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x84], 0
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x4a6140]
push eax
call fcn.00464d00
mov ah, byte [esp + 0x22]
add esp, 0x14
or ah, al
or byte [esp + 0xf], ah
mov byte [esp + 0xe], ah
test esi, esi
jne 0x46c3db
mov ecx, 0x4a468c
call fcn.00444150
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
add ecx, 4
movss xmm1, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
cmp edx, dword [esp + 0x28]
jl 0x46c310
mov esi, dword [esp + 0x34]
jmp 0x46c6d3
xor edx, edx
mov esi, 0xff
cmp byte [esp + 0x38], dl
mov dword [esp + 0x30], edx
cmovne esi, edx
and ecx, 8
mov dword [esp + 0x74], esi
lea esi, [eax + 0x4a61a8]
mov dword [esp + 0x38], ecx
mov ecx, edx
mov dword [esp + 0x40], ecx
test edx, edx
jle 0x46c44e
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.00442ee0
movss xmm1, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
lea eax, [edx + 1]
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x28]
jge 0x46c460
movaps xmm0, xmm1
jmp 0x46c466
movss xmm0, dword [esp + 0x2c]
mov eax, dword [0x66aec0]
mov edx, 4
movss xmm3, dword [0x4a6310]
push ecx
push dword [esi]
or dword [eax + 0x46a8], 1
movss dword [eax + 0x46ac], xmm0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
lea eax, [esp + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x4a6140]
push eax
call fcn.00464d00
or byte [esp + 0x22], al
add esp, 0x14
cmp dword [esp + 0x38], 0
jne 0x46c4d0
mov ecx, 0x4a468c
call fcn.00444150
mov edx, dword [esp + 0x30]
add esi, 4
movss xmm1, dword [esp + 0x48]
cmp edx, dword [esp + 0x28]
jl 0x46c426
mov esi, dword [esp + 0x34]
jmp 0x46c6d3
test ecx, 0x400000
je 0x46c6e6
test cl, 0x20
jne 0x46c6e6
cmp byte [esp + 0x54], 0
mov eax, 0xff
je 0x46c58c
mov edx, dword [esp + 0x6c]
test edx, edx
jns 0x46c523
mov dword [esp + 0x2c], 0
jmp 0x46c52c
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x68]
test ecx, ecx
jns 0x46c53e
mov dword [esp + 0x38], 0
jmp 0x46c547
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x64]
test edx, edx
jns 0x46c553
xor edx, edx
jmp 0x46c558
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x60]
test ecx, ecx
jns 0x46c564
xor ecx, ecx
jmp 0x46c569
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x2c]
lea eax, [esp + 0xa4]
push dword [esp + 0x3c]
push edx
push ecx
push 0x4a4678
push 0x40
push eax
call fcn.00433360
add esp, 0x1c
jmp 0x46c5e6
mov ecx, dword [esp + 0x68]
test ecx, ecx
jns 0x46c59e
mov dword [esp + 0x2c], 0
jmp 0x46c5a7
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x64]
test edx, edx
jns 0x46c5b3
xor edx, edx
jmp 0x46c5b8
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x60]
test ecx, ecx
jns 0x46c5c4
xor ecx, ecx
jmp 0x46c5c9
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x2c]
lea eax, [esp + 0xa4]
push edx
push ecx
push 0x4a469c
push 0x40
push eax
call fcn.00433360
add esp, 0x18
mov eax, dword [0x66aec0]
xor edx, edx
movss xmm5, dword [esp + 0x7c]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x46a8], 1
movss dword [eax + 0x46ac], xmm5
lea eax, [esp + 0x48]
push 6
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x50], 0
push 0x40
push eax
mov dword [esp + 0x5c], 0
call fcn.00468550
add esp, 0x18
test al, al
je 0x46c6c1
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa0]
mov al, byte [ecx]
cmp al, 0x23
je 0x46c656
cmp al, 0x20
je 0x46c656
cmp al, 9
jne 0x46c659
inc ecx
jmp 0x46c648
cmp byte [esp + 0x54], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0xff
je 0x46c6a4
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x6c]
push eax
push 0x4a46bc
push ecx
call fcn.00431160
add esp, 0x18
jmp 0x46c6c1
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
push 0x4a46ac
push ecx
call fcn.00431160
add esp, 0x14
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x46c6d6
mov ecx, 0x4a46e0
call fcn.00444150
mov ecx, dword [ebp + 8]
movss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], 0
test cl, 0x10
jne 0x46c917
test cl, 0x20
jne 0x46c715
cmp dword [edi + 0x381c], 0
je 0x46c715
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [edi + 0x37dc]
jmp 0x46c718
xorps xmm1, xmm1
cmp byte [esp + 0x54], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf4], xmm3
movss dword [eax + 0xf0], xmm0
mov eax, dword [esp + 0x10]
je 0x46c741
movss xmm1, dword [eax + 0xc]
jmp 0x46c749
movss xmm1, dword [0x4a6310]
movss xmm0, dword [eax]
lea edx, [esp + 0x90]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.0046f600
add esp, 8
test al, al
mov eax, dword [ebp + 8]
je 0x46c829
test al, 4
jne 0x46c829
movups xmm0, xmmword [esp + 0x90]
mov ecx, 0x4a46f0
movups xmmword [edi + 0x59a8], xmm0
call fcn.00443ab0
movss xmm1, dword [edi + 0x46c8]
movss xmm0, dword [edi + 0x37d8]
addss xmm0, dword [edi + 0x46d4]
mov eax, dword [0x66aec0]
addss xmm1, dword [0x4a6264]
or dword [eax + 0x46f8], 1
movss dword [eax + 0x470c], xmm0
movss dword [eax + 0x4708], xmm1
mov dword [eax + 0x4710], 0
mov dword [eax + 0x4714], 0
mov dword [eax + 0x46fc], 1
mov eax, dword [ebp + 8]
test al, 8
jne 0x46c837
mov ecx, 0x4a46e8
call fcn.00444150
mov ecx, str.picker
call fcn.00444070
test al, al
je 0x46c914
mov eax, dword [edi + 0x3e48]
cmp word [eax + 0xb6], 1
jne 0x46c90f
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
cmp ecx, eax
je 0x46c8bc
push 0
mov edx, eax
call fcn.00460990
mov ecx, dword [0x66aec0]
add esp, 4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x46c8bc
movss xmm1, dword [0x4a6488]
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.00442b50
mov eax, dword [0x66aec0]
mov ecx, 0x4a46f8
movss xmm0, dword [esp + 0x84]
mulss xmm0, dword [0x4a639c]
mov edx, dword [esp + 0x10]
or dword [eax + 0x46a8], 1
movss dword [eax + 0x46ac], xmm0
lea eax, [edi + 0x59a8]
push eax
mov eax, dword [esp + 0x8c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.0046cf60
add esp, 8
or byte [esp + 0xe], al
call fcn.004440f0
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x50]
je 0x46c97d
test cl, cl
js 0x46c97d
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.00442ee0
test byte [ebp + 8], 0x20
je 0x46c946
movss xmm0, dword [esp + 0x80]
jmp 0x46c955
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x37dc]
movss xmm1, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
addss xmm1, xmm0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x70]
push 0
movss dword [eax + 0xf0], xmm1
call fcn.00460990
add esp, 4
cmp byte [esp + 0xe], 0
je 0x46cb73
cmp dword [esp + 0x34], 0
jne 0x46cb73
cmp byte [esp + 0xf], 0
jne 0x46c9ae
movups xmm0, xmmword [esp + 0x60]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x4a66a0]
movups xmmword [esp + 0x14], xmm0
mov eax, dword [ebp + 8]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x46ca97
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x1c]
movss xmm1, dword [esp + 0x18]
lea edx, [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
movss dword [edi + 0x599c], xmm0
movss dword [edi + 0x59a0], xmm1
call fcn.00433a80
movss xmm1, dword [esp + 0x18]
xorps xmm0, xmm0
mov eax, dword [edi + 0x5994]
add esp, 4
comiss xmm0, xmm1
mov dword [edi + 0x5998], eax
movss xmm4, dword [0x4a6310]
jbe 0x46ca1f
xorps xmm2, xmm2
jmp 0x46ca26
movaps xmm2, xmm4
minss xmm2, xmm1
movss xmm6, dword [0x4a641c]
movss xmm5, dword [0x4a62d0]
mulss xmm2, xmm6
addss xmm2, xmm5
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x46ca52
xorps xmm3, xmm3
jmp 0x46ca59
movaps xmm3, xmm4
minss xmm3, xmm2
mulss xmm3, xmm6
addss xmm3, xmm5
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0x1c]
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x46ca7a
xorps xmm4, xmm4
jmp 0x46ca7e
minss xmm4, xmm3
mulss xmm4, xmm6
addss xmm4, xmm5
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x59a4], eax
jmp 0x46caa9
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x18]
movss xmm1, dword [esp + 0x14]
mov eax, dword [ebp + 8]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x46cb4d
comiss xmm3, xmm2
movaps xmm4, xmm1
xorps xmm5, xmm5
movaps xmm6, xmm4
movaps xmm1, xmm2
jbe 0x46cadb
movss xmm5, dword [0x4a6488]
movaps xmm1, xmm3
movaps xmm3, xmm2
comiss xmm1, xmm6
jbe 0x46caf5
movss xmm0, dword [0x4a6474]
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 + 0x1c], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x4a6388]
addss xmm0, dword [0x4a6274]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x4a6274]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x4a66b0]
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x18], xmm2
cmp byte [esp + 0x54], 0
mov esi, dword [esp + 0x10]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x46cb77
movss xmm0, dword [esp + 0x20]
movss dword [esi + 0xc], xmm0
jmp 0x46cb77
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x8c], 0
jne 0x46cb8b
mov dword [edi + 0x5994], 0
mov eax, dword [0x66aec0]
mov eax, dword [eax + 0x3e48]
dec dword [eax + 0xe4]
call fcn.00443220
test byte [edi + 0x46c4], 1
je 0x46cce8
test dword [ebp + 8], 0x200
jne 0x46cce8
call fcn.00448d20
test al, al
je 0x46cce8
mov ecx, 0x4a4714
mov byte [esp + 0xf], 0
call fcn.00448de0
test eax, eax
je 0x46cbf5
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, 0x4a470c
call fcn.00448de0
mov ecx, eax
test ecx, ecx
je 0x46cc1f
mov eax, dword [esp + 0x28]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x46cc2a
cmp byte [esp + 0xf], 0
je 0x46ccce
test dword [ebp + 8], 0x10000000
je 0x46ccce
movss xmm2, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm2
movss xmm4, dword [esi]
jbe 0x46cc5d
movss xmm3, dword [0x4a6488]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x46cc60
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x46cc7d
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x4a6474]
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 [0x4a6388]
addss xmm0, dword [0x4a6274]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x4a6274]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x4a66b0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x66aec0]
cmp byte [eax + 0x49aa], 0
mov byte [eax + 0x4966], 0
je 0x46cce8
call fcn.00448a40
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x46cd08
mov eax, dword [edi + 0x3e94]
test eax, eax
je 0x46cd08
cmp dword [edi + 0x3eb0], ecx
jne 0x46cd08
mov dword [edi + 0x46bc], eax
mov cl, byte [esp + 0xe]
test cl, cl
je 0x46cd42
mov eax, dword [edi + 0x46bc]
test eax, eax
je 0x46cd42
mov ecx, dword [0x66aec0]
mov edx, dword [ecx + 0x3e94]
cmp edx, eax
je 0x46cd2e
test edx, edx
jne 0x46cd37
mov word [ecx + 0x3ea4], 0x101
or dword [ecx + 0x46c4], 4
mov cl, byte [esp + 0xe]
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret