Function at 0x45e530
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 [0x5f94c8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x68], ecx
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
mov dword [esp + 0x2c], eax
cmp byte [eax + 0xaf], 0
je 0x45e574
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 0x45e5a4
movss xmm1, dword [edi + 0x46ac]
jmp 0x45e5ac
movss xmm1, dword [eax + 0x1a0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x45e5f7
cmp dword [eax + 0x190], 0
movss xmm2, dword [eax + 0x228]
jne 0x45e5ce
cmp dword [edi + 0x4a04], 0
je 0x45e5d6
movss xmm2, dword [eax + 0x1f8]
subss xmm2, dword [eax + 0xf0]
addss xmm2, xmm1
movss xmm1, dword [0x56fe18]
maxss xmm1, xmm2
movss xmm2, dword [esp + 0x84]
test byte [ebp + 8], 0x10
cvttss2si esi, xmm1
mov dword [esp + 0x38], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
je 0x45e611
xorps xmm1, xmm1
jmp 0x45e61c
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x37dc]
movss dword [esp + 0x78], xmm1
movaps xmm0, xmm3
mov dword [esp + 0x48], ecx
subss xmm0, xmm1
movss dword [esp + 0x74], xmm0
cmp ecx, 0xffffffff
jae 0x45e65e
mov esi, ecx
nop word [eax + eax]
mov cl, byte [esi]
test cl, cl
je 0x45e65a
cmp cl, 0x23
jne 0x45e650
cmp byte [esi + 1], cl
je 0x45e65a
inc esi
mov dword [esp + 0x48], esi
cmp esi, 0xffffffff
jb 0x45e640
mov esi, dword [esp + 0x38]
mov dword [edi + 0x46a8], 0
call fcn.00436b40
mov ecx, dword [esp + 0x68]
call fcn.00434330
mov eax, dword [edi + 0x5994]
mov dword [esp + 0x8c], eax
test eax, eax
jne 0x45e6a1
mov eax, dword [esp + 0x2c]
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 0x45e6bf
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x45e6d2
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.00462720
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x45e6e7
mov eax, dword [edi + 0x5990]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x45e6fc
mov eax, dword [edi + 0x5990]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x45e711
mov eax, dword [edi + 0x5990]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x45e726
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 + 0x30], eax
mov eax, dword [esp + 0x10]
and edx, 0xffffff01
mov dword [esp + 0x4c], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x4c], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov dword [esp + 0x14], edx
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm2
je 0x45e790
movss xmm3, dword [eax + 0xc]
jmp 0x45e798
movss xmm3, dword [0x56fe18]
movss xmm6, dword [0x56fd7c]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x28], xmm3
cmp eax, 0x10100000
jne 0x45e7ce
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x20]
call fcn.00428530
add esp, 4
jmp 0x45e87d
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x45e89c
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x45e7f9
movss xmm4, dword [0x56ff78]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x45e816
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x56ff64]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x10]
minss xmm0, xmm2
movss dword [esp + 0x24], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, dword [0x56fe90]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x570180]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm1
call fcn.0045e430
add esp, 8
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
comiss xmm0, dword [0x56fd68]
movss xmm4, dword [0x56ff68]
movss xmm6, dword [0x56fdd8]
jb 0x45e8ba
movaps xmm5, xmm6
jmp 0x45e8bd
movaps xmm5, xmm4
comiss xmm1, dword [0x56fd68]
movss xmm7, dword [0x56ff18]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x50], eax
jb 0x45e8e3
movaps xmm0, xmm6
jmp 0x45e8e6
movaps xmm0, xmm4
comiss xmm2, dword [0x56fd68]
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x54], eax
jb 0x45e904
movaps xmm0, xmm6
jmp 0x45e907
movaps xmm0, xmm4
comiss xmm3, dword [0x56fd68]
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x58], eax
jb 0x45e923
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 + 0x5c], eax
mov eax, dword [esp + 0x2c]
movss xmm1, dword [eax + 0xf0]
movss xmm2, dword [eax + 0xf4]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x44], xmm2
jne 0x45e96e
movss xmm0, dword [esp + 0x78]
jmp 0x45e971
xorps xmm0, xmm0
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
test ecx, 0x300000
je 0x45ec9f
test cl, 0x20
jne 0x45ec9f
movss xmm2, dword [edi + 0x37dc]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x74]
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 [0x56fe18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x48], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x56ff54]
subss xmm0, xmm1
movss xmm1, dword [0x56fe18]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x5f94c8]
push eax
push ecx
lea eax, [esp + 0x70]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3bb8]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x3bb4]
push eax
movss dword [esp + 0x48], xmm1
call fcn.0044e0b0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [0x56fe10]
movss xmm1, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x45ea82
xor eax, eax
jmp 0x45ea90
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov edx, dword [esp + 0x14]
test edx, edx
je 0x45ee80
shl eax, 4
cmp dword [esp + 0x18], 0
je 0x45ebae
and ecx, 8
xor esi, esi
mov dword [esp + 0x6c], ecx
lea ecx, [eax + 0x56fb88]
mov dword [esp + 0x18], ecx
nop dword [eax]
test esi, esi
je 0x45eae2
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.00436930
movss xmm1, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [esp + 0x60], eax
cmp eax, edx
jge 0x45eaf2
movaps xmm0, xmm1
jmp 0x45eaf8
movss xmm0, dword [esp + 0x34]
mov eax, dword [0x5f94c8]
or dword [eax + 0x46a8], 1
cmp byte [esp + 0x30], 0
movss dword [eax + 0x46ac], xmm0
je 0x45eb18
xorps xmm0, xmm0
jmp 0x45eb20
movss xmm0, dword [0x56fe18]
movss xmm3, dword [0x56fd94]
lea eax, [esp + 0x7c]
push ecx
push dword [ecx]
mov ecx, dword [esi*4 + 0x56fb78]
mov edx, 8
push eax
lea eax, [esp + 0x8c]
movss dword [esp + 0x88], xmm0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x90], 0
lea eax, [eax + esi*4]
push eax
call fcn.00457570
mov dl, byte [esp + 0x22]
add esp, 0x14
or dl, al
or byte [esp + 0xf], dl
cmp dword [esp + 0x6c], 0
mov byte [esp + 0xe], dl
jne 0x45eb82
call fcn.00437ba0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x60]
add ecx, 4
movss xmm1, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x14]
jl 0x45eac0
mov esi, dword [esp + 0x38]
jmp 0x45ee7d
xor esi, esi
mov edx, 0xff
cmp byte [esp + 0x30], 0
cmovne edx, esi
and ecx, 8
mov dword [esp + 0x80], ecx
lea ecx, [eax + 0x56fbe0]
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ecx
test esi, esi
jle 0x45ebf7
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.00436930
movss xmm1, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
lea eax, [esi + 1]
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x14]
jge 0x45ec09
movaps xmm0, xmm1
jmp 0x45ec0f
movss xmm0, dword [esp + 0x34]
mov eax, dword [0x5f94c8]
movss xmm3, dword [0x56fe18]
push ecx
push dword [ecx]
or dword [eax + 0x46a8], 1
mov ecx, dword [esi*4 + 0x56fb78]
movss dword [eax + 0x46ac], xmm0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], edx
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x7c], 0
lea eax, [eax + esi*4]
mov edx, 4
push eax
call fcn.00457570
or byte [esp + 0x22], al
add esp, 0x14
cmp dword [esp + 0x80], 0
jne 0x45ec73
call fcn.00437ba0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x7c]
add ecx, 4
movss xmm1, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x14]
jl 0x45ebd5
mov esi, dword [esp + 0x38]
jmp 0x45ee7d
test ecx, 0x400000
je 0x45ee90
test cl, 0x20
jne 0x45ee90
cmp byte [esp + 0x4c], 0
mov eax, 0xff
je 0x45ed3b
mov edx, dword [esp + 0x5c]
test edx, edx
jns 0x45ecd2
mov dword [esp + 0x34], 0
jmp 0x45ecdb
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x45eced
mov dword [esp + 0x30], 0
jmp 0x45ecf6
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x54]
test edx, edx
jns 0x45ed02
xor edx, edx
jmp 0x45ed07
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x45ed13
xor ecx, ecx
jmp 0x45ed18
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x34]
lea eax, [esp + 0xa4]
push dword [esp + 0x34]
push edx
push ecx
push 0x56f984
push 0x40
push eax
call fcn.00427e00
add esp, 0x1c
jmp 0x45ed95
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x45ed4d
mov dword [esp + 0x34], 0
jmp 0x45ed56
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x54]
test edx, edx
jns 0x45ed62
xor edx, edx
jmp 0x45ed67
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x45ed73
xor ecx, ecx
jmp 0x45ed78
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x34]
lea eax, [esp + 0xa4]
push edx
push ecx
push 0x56f998
push 0x40
push eax
call fcn.00427e00
add esp, 0x18
mov eax, dword [0x5f94c8]
xor edx, edx
movss xmm5, dword [esp + 0x74]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x46a8], 1
movss dword [eax + 0x46ac], xmm5
lea eax, [esp + 0x68]
push 6
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x70], 0
push 0x40
push eax
mov dword [esp + 0x7c], 0
call fcn.0045ada0
add esp, 0x18
test al, al
je 0x45ee70
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa0]
mov al, byte [ecx]
cmp al, 0x23
je 0x45ee05
cmp al, 0x20
je 0x45ee05
cmp al, 9
jne 0x45ee08
inc ecx
jmp 0x45edf7
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0xff
je 0x45ee53
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.00425c30
add esp, 0x18
jmp 0x45ee70
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
push str._02X_02X_02X
push ecx
call fcn.00425c30
add esp, 0x14
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x45ee80
call fcn.00437ba0
mov ecx, dword [ebp + 8]
movss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], 0
test cl, 0x10
jne 0x45f0b6
test cl, 0x20
jne 0x45eebf
cmp dword [edi + 0x381c], 0
je 0x45eebf
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [edi + 0x37dc]
jmp 0x45eec2
xorps xmm0, xmm0
cmp byte [esp + 0x4c], 0
addss xmm0, xmm1
movss dword [eax + 0xf4], xmm2
movss dword [eax + 0xf0], xmm0
mov eax, dword [esp + 0x10]
je 0x45eee8
movss xmm1, dword [eax + 0xc]
jmp 0x45eef0
movss xmm1, dword [0x56fe18]
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 + 0x6c]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.00461dc0
add esp, 8
test al, al
mov eax, dword [ebp + 8]
je 0x45efcd
test al, 4
jne 0x45efcd
movups xmm0, xmmword [esp + 0x90]
mov ecx, str.picker
movups xmmword [edi + 0x59a8], xmm0
call fcn.00437500
movss xmm1, dword [edi + 0x46c8]
movss xmm0, dword [edi + 0x37d8]
addss xmm0, dword [edi + 0x46d4]
mov eax, dword [0x5f94c8]
addss xmm1, dword [0x56fd68]
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 0x45efd6
call fcn.00437ba0
mov ecx, str.picker
call fcn.00437ac0
test al, al
je 0x45f0b3
mov eax, dword [edi + 0x3e48]
cmp word [eax + 0xb6], 1
jne 0x45f0ae
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x45f05b
push 0
mov edx, eax
call fcn.00453270
mov ecx, dword [0x5f94c8]
add esp, 4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x45f05b
movss xmm1, dword [0x56ff78]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.004365a0
mov eax, dword [0x5f94c8]
mov ecx, 0x46f334
movss xmm0, dword [esp + 0x84]
mulss xmm0, dword [0x56fea0]
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.0045f710
add esp, 8
or byte [esp + 0xe], al
call fcn.00437b40
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x48]
je 0x45f115
test cl, cl
js 0x45f115
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.00436930
test byte [ebp + 8], 0x20
je 0x45f0e2
movss xmm0, dword [esp + 0x78]
jmp 0x45f0f1
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x37dc]
addss xmm0, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
push 0
movss dword [eax + 0xf0], xmm0
call fcn.00453270
add esp, 4
cmp byte [esp + 0xe], 0
je 0x45f30b
cmp dword [esp + 0x38], 0
jne 0x45f30b
cmp byte [esp + 0xf], 0
jne 0x45f146
movups xmm0, xmmword [esp + 0x50]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x570170]
movups xmmword [esp + 0x1c], xmm0
mov eax, dword [ebp + 8]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x45f22f
movss xmm0, dword [esp + 0x1c]
lea eax, [esp + 0x24]
movss xmm1, dword [esp + 0x20]
lea edx, [esp + 0x20]
movss xmm2, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
movss dword [edi + 0x599c], xmm0
movss dword [edi + 0x59a0], xmm1
call fcn.00428530
movss xmm1, dword [esp + 0x20]
xorps xmm0, xmm0
mov eax, dword [edi + 0x5994]
add esp, 4
comiss xmm0, xmm1
mov dword [edi + 0x5998], eax
movss xmm4, dword [0x56fe18]
jbe 0x45f1b7
xorps xmm2, xmm2
jmp 0x45f1be
movaps xmm2, xmm4
minss xmm2, xmm1
movss xmm6, dword [0x56ff18]
movss xmm5, dword [0x56fdd8]
mulss xmm2, xmm6
addss xmm2, xmm5
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x20]
comiss xmm0, xmm2
jbe 0x45f1ea
xorps xmm3, xmm3
jmp 0x45f1f1
movaps xmm3, xmm4
minss xmm3, xmm2
mulss xmm3, xmm6
addss xmm3, xmm5
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0x24]
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x45f212
xorps xmm4, xmm4
jmp 0x45f216
minss xmm4, xmm3
mulss xmm4, xmm6
addss xmm4, xmm5
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x59a4], eax
jmp 0x45f241
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [esp + 0x20]
movss xmm1, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x45f2e5
comiss xmm3, xmm2
movaps xmm4, xmm1
xorps xmm5, xmm5
movaps xmm6, xmm4
movaps xmm1, xmm2
jbe 0x45f273
movss xmm5, dword [0x56ff78]
movaps xmm1, xmm3
movaps xmm3, xmm2
comiss xmm1, xmm6
jbe 0x45f28d
movss xmm0, dword [0x56ff64]
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 + 0x24], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x56fe90]
addss xmm0, dword [0x56fd7c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x56fd7c]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x570180]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x20], xmm2
cmp byte [esp + 0x4c], 0
mov esi, dword [esp + 0x10]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x45f30f
movss xmm0, dword [esp + 0x28]
movss dword [esi + 0xc], xmm0
jmp 0x45f30f
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x8c], 0
jne 0x45f323
mov dword [edi + 0x5994], 0
mov eax, dword [0x5f94c8]
mov eax, dword [eax + 0x3e48]
dec dword [eax + 0xe4]
call fcn.00436c70
test byte [edi + 0x46c4], 1
je 0x45f480
test dword [ebp + 8], 0x200
jne 0x45f480
call fcn.0043c780
test al, al
je 0x45f480
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.0043c840
test eax, eax
je 0x45f38d
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.0043c840
mov ecx, eax
test ecx, ecx
je 0x45f3b7
mov eax, dword [esp + 0x14]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x45f3c2
cmp byte [esp + 0xf], 0
je 0x45f466
test dword [ebp + 8], 0x10000000
je 0x45f466
movss xmm2, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm2
movss xmm4, dword [esi]
jbe 0x45f3f5
movss xmm3, dword [0x56ff78]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x45f3f8
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x45f415
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x56ff64]
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 [0x56fe90]
addss xmm0, dword [0x56fd7c]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x56fd7c]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x570180]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x5f94c8]
cmp byte [eax + 0x49aa], 0
mov byte [eax + 0x4966], 0
je 0x45f480
call fcn.0043c4a0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x45f4a0
mov eax, dword [edi + 0x3e94]
test eax, eax
je 0x45f4a0
cmp dword [edi + 0x3eb0], ecx
jne 0x45f4a0
mov dword [edi + 0x46bc], eax
mov cl, byte [esp + 0xe]
test cl, cl
je 0x45f4da
mov eax, dword [edi + 0x46bc]
test eax, eax
je 0x45f4da
mov ecx, dword [0x5f94c8]
mov edx, dword [ecx + 0x3e94]
cmp edx, eax
je 0x45f4c6
test edx, edx
jne 0x45f4cf
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